mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +00:00
LibWeb: Update Document::create_and_initialize() to match latest spec
This commit is contained in:
parent
2c3bb26551
commit
359d8a3dc2
4 changed files with 44 additions and 49 deletions
|
@ -62,7 +62,7 @@ ErrorOr<NonnullRefPtr<SVGDecodedImageData>> SVGDecodedImageData::create(Page& ho
|
|||
.browsing_context = browsing_context,
|
||||
.navigable = nullptr,
|
||||
};
|
||||
auto document = DOM::Document::create_and_initialize(DOM::Document::Type::HTML, "text/html", move(navigation_params)).release_value_but_fixme_should_propagate_errors();
|
||||
auto document = DOM::Document::create_and_initialize(DOM::Document::Type::HTML, "text/html", navigation_params).release_value_but_fixme_should_propagate_errors();
|
||||
browsing_context->set_active_document(document);
|
||||
|
||||
auto parser = HTML::HTMLParser::create_with_uncertain_encoding(document, data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue