mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>s
This commit is contained in:
@@ -64,7 +64,7 @@ JS::NonnullGCPtr<DOM::Document> DOMParser::parse_from_string(String const& strin
|
||||
auto root = DOM::create_element(*document, "parsererror", "http://www.mozilla.org/newlayout/xml/parsererror.xml");
|
||||
// FIXME: 3. Optionally, add attributes or children to root to describe the nature of the parsing error.
|
||||
// 4. Append root to document.
|
||||
document->append_child(*root);
|
||||
MUST(document->append_child(*root));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user