1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:48:10 +00:00

LibWeb: Make factory method of HTML::BrowsingContext fallible

This commit is contained in:
Kenneth Myhra 2023-02-19 17:58:42 +01:00 committed by Andreas Kling
parent 3f50025126
commit 459959b297
4 changed files with 10 additions and 7 deletions

View file

@ -139,7 +139,8 @@ JS::NonnullGCPtr<BrowsingContext> BrowsingContext::create_a_new_browsing_context
move(realm_execution_context),
{},
top_level_creation_url,
top_level_origin);
top_level_origin)
.release_value_but_fixme_should_propagate_errors();
// 12. Let loadTimingInfo be a new document load timing info with its navigation start time set to the result of calling
// coarsen time with unsafeContextCreationTime and the new environment settings object's cross-origin isolated capability.