Andreas Kling
896db187e5
LibWeb: Move Frame.{cpp,h} into a new Frame/ directory
2020-06-07 10:14:41 +02:00
Andreas Kling
71da52482c
LibWeb: Show error page if we can't handle a frame's main resource
...
If we can't figure out how to make a Document for the main resource
in a Frame, just show an error page.
2020-06-06 14:14:43 +02:00
Andreas Kling
f88146c7c9
LibWeb: Let Resource figure out its own encoding and MIME type
...
Also, if the request URL is a data: URL, use the MIME type from the URL
itself if available. This makes it possible to load arbitrary MIME type
data: URLs in the browser :^)
2020-06-06 14:14:43 +02:00
Andreas Kling
de6028dfa7
LibWeb: Turn FrameLoader into a ResourceClient
...
We now use the new resource-based loader for the main resource in each
Frame. This gives us access to caching and sharing. :^)
2020-06-06 14:14:43 +02:00
Andreas Kling
075bd75859
LibWeb: Add a FrameLoader class and move PageView's loading logic there
...
Each Frame now has a FrameLoader which will be responsible for handling
loading inside that frame.
2020-06-06 14:14:43 +02:00