mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:28:11 +00:00
LibWeb: Move document loading into separate file
In upcoming navigables refactor new function that uses fetch instead of ResourceLoader to load document content is going to be introduced: https://html.spec.whatwg.org/multipage/browsing-the-web.html#create-navigation-params-by-fetching `parse_document()` need to be separated from FrameLoader to reuse code responsible for parsing HTTP response into DOM document.
This commit is contained in:
parent
60a26077a7
commit
804af38a96
5 changed files with 222 additions and 187 deletions
|
@ -45,7 +45,6 @@ private:
|
|||
|
||||
void load_error_page(const AK::URL& failed_url, DeprecatedString const& error_message);
|
||||
void load_favicon(RefPtr<Gfx::Bitmap> bitmap = nullptr);
|
||||
bool parse_document(DOM::Document&, ByteBuffer const& data);
|
||||
|
||||
JS::NonnullGCPtr<HTML::BrowsingContext> m_browsing_context;
|
||||
size_t m_redirects_count { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue