summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/Parser
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-02-15 19:03:08 +0000
committerAndreas Kling <kling@serenityos.org>2022-02-15 23:24:34 +0100
commit06948df39314e13794bbdaf2cd083f32448f76b2 (patch)
treee65d7c75d2df6c891478caa59df395f66c32a91e /Userland/Libraries/LibWeb/HTML/Parser
parent892f6394b8bc3e44e3f4003d2568da74ad880e28 (diff)
downloadserenity-06948df39314e13794bbdaf2cd083f32448f76b2.zip
LibWeb: Fail gracefully when reaching the unimplemented part of the AAA
Pages such as https://html5test.com are testing all sorts of weird, incomplete, and wrong HTML but can be useful or at least interesting for development - let's try to avoid crashing the process.
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/Parser')
-rw-r--r--Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp b/Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp
index 18e1c95b28..da5f1d43a6 100644
--- a/Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp
+++ b/Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp
@@ -1112,8 +1112,7 @@ HTMLParser::AdoptionAgencyAlgorithmOutcome HTMLParser::run_the_adoption_agency_a
}
// FIXME: Implement the rest of the AAA :^)
-
- TODO();
+ return AdoptionAgencyAlgorithmOutcome::DoNothing;
}
bool HTMLParser::is_special_tag(const FlyString& tag_name, const FlyString& namespace_)