From 06948df39314e13794bbdaf2cd083f32448f76b2 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Tue, 15 Feb 2022 19:03:08 +0000 Subject: [PATCH] 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. --- Userland/Libraries/LibWeb/HTML/Parser/HTMLParser.cpp | 3 +-- 1 file changed, 1 insertion(+), 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_)