1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:57:35 +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:
Aliaksandr Kalenik 2023-04-06 15:50:22 +03:00 committed by Andreas Kling
parent 60a26077a7
commit 804af38a96
5 changed files with 222 additions and 187 deletions

View file

@ -126,6 +126,7 @@ set(SOURCES
DOM/DOMTokenList.cpp
DOM/DOMTokenList.idl
DOM/Document.cpp
DOM/DocumentLoading.cpp
DOM/DocumentFragment.cpp
DOM/DocumentLoadEventDelayer.cpp
DOM/DocumentType.cpp