mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
LibWeb: Move HTML classes into the Web::HTML namespace
This commit is contained in:
parent
ebd2e7d9f5
commit
c46439f240
82 changed files with 238 additions and 247 deletions
|
@ -222,7 +222,7 @@ void TestRunner::run() {
|
|||
Web::ResourceLoader::the().load_sync(
|
||||
page_to_load,
|
||||
[&](auto data, auto&) {
|
||||
Web::HTMLDocumentParser parser(data, "utf-8", *m_page_view->document());
|
||||
Web::HTML::HTMLDocumentParser parser(data, "utf-8", *m_page_view->document());
|
||||
parser.run(page_to_load);
|
||||
},
|
||||
[page_to_load](auto error) {
|
||||
|
@ -326,7 +326,7 @@ JSFileResult TestRunner::run_file_test(const String& test_path)
|
|||
page_to_load,
|
||||
[&](auto data, auto&) {
|
||||
// Create a new parser and immediately get its document to replace the old interpreter.
|
||||
Web::HTMLDocumentParser parser(data, "utf-8");
|
||||
Web::HTML::HTMLDocumentParser parser(data, "utf-8");
|
||||
auto& new_interpreter = parser.document().interpreter();
|
||||
|
||||
// Setup the test environment and call "__BeforeInitialPageLoad__"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue