1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00

LibWeb: Rename HTMLDocumentParser => HTMLParser

This commit is contained in:
Andreas Kling 2021-09-25 23:15:48 +02:00
parent 0ee457dfdf
commit f67648f872
18 changed files with 106 additions and 106 deletions

View file

@ -11,7 +11,7 @@
#include <LibGUI/Window.h>
#include <LibTest/JavaScriptTestRunner.h>
#include <LibWeb/Bindings/MainThreadVM.h>
#include <LibWeb/HTML/Parser/HTMLDocumentParser.h>
#include <LibWeb/HTML/Parser/HTMLParser.h>
#include <LibWeb/InProcessWebView.h>
#include <LibWeb/Loader/ResourceLoader.h>
@ -103,7 +103,7 @@ TESTJS_GLOBAL_FUNCTION(wait_for_page_to_load, waitForPageToLoad)
loader.load_sync(
request,
[&](auto data, auto&, auto) {
Web::HTML::HTMLDocumentParser parser(document, data, "utf-8");
Web::HTML::HTMLParser parser(document, data, "utf-8");
// Now parse the HTML page.
parser.run(next_page_to_load.value());
g_page_view->set_document(&parser.document());