summaryrefslogtreecommitdiff
path: root/Tests/LibWeb
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-09-25 23:15:48 +0200
committerAndreas Kling <kling@serenityos.org>2021-09-25 23:36:43 +0200
commitf67648f872c17c98d6b331503fe280d7a2a7fbb5 (patch)
treeb4048eb5ee5b52902e8044366accf65897573542 /Tests/LibWeb
parent0ee457dfdf725cc21afcd24d4075a2c19be30676 (diff)
downloadserenity-f67648f872c17c98d6b331503fe280d7a2a7fbb5.zip
LibWeb: Rename HTMLDocumentParser => HTMLParser
Diffstat (limited to 'Tests/LibWeb')
-rw-r--r--Tests/LibWeb/test-web.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/LibWeb/test-web.cpp b/Tests/LibWeb/test-web.cpp
index bee86f911d..531f009421 100644
--- a/Tests/LibWeb/test-web.cpp
+++ b/Tests/LibWeb/test-web.cpp
@@ -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());