mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibWeb/HTML: Make environments top level creation URL nullable
This is explicitly set to null for Workers.
This commit is contained in:
parent
a786269687
commit
96f38dc180
Notes:
github-actions[bot]
2025-04-22 15:30:49 +00:00
Author: https://github.com/shannonbooth
Commit: 96f38dc180
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4414
Reviewed-by: https://github.com/ADKaster ✅
6 changed files with 8 additions and 7 deletions
|
@ -946,7 +946,7 @@ static WebIDL::ExceptionOr<Navigable::NavigationParamsVariant> create_navigation
|
|||
// 2. If request's reserved client is null, then:
|
||||
if (!request->reserved_client()) {
|
||||
// 1. Let topLevelCreationURL be currentURL.
|
||||
auto top_level_creation_url = current_url;
|
||||
Optional<URL::URL> top_level_creation_url = current_url;
|
||||
|
||||
// 2. Let topLevelOrigin be null.
|
||||
URL::Origin top_level_origin;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue