1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:57:45 +00:00

LibWeb: Update Document::create_and_initialize() to match latest spec

This commit is contained in:
Aliaksandr Kalenik 2023-04-07 02:32:56 +03:00 committed by Andreas Kling
parent 2c3bb26551
commit 359d8a3dc2
4 changed files with 44 additions and 49 deletions

View file

@ -89,7 +89,7 @@ public:
HTML
};
static WebIDL::ExceptionOr<JS::NonnullGCPtr<Document>> create_and_initialize(Type, DeprecatedString content_type, HTML::NavigationParams);
static WebIDL::ExceptionOr<JS::NonnullGCPtr<Document>> create_and_initialize(Type, DeprecatedString content_type, HTML::NavigationParams&);
[[nodiscard]] static JS::NonnullGCPtr<Document> create(JS::Realm&, AK::URL const& url = "about:blank"sv);
static WebIDL::ExceptionOr<JS::NonnullGCPtr<Document>> construct_impl(JS::Realm&);