mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-13 22:52:52 +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
|
@ -34,7 +34,7 @@ ErrorOr<Web::HTML::SerializedEnvironmentSettingsObject> decode(Decoder& decoder)
|
|||
|
||||
object.id = TRY(decoder.decode<String>());
|
||||
object.creation_url = TRY(decoder.decode<URL::URL>());
|
||||
object.top_level_creation_url = TRY(decoder.decode<URL::URL>());
|
||||
object.top_level_creation_url = TRY(decoder.decode<Optional<URL::URL>>());
|
||||
object.top_level_origin = TRY(decoder.decode<URL::Origin>());
|
||||
object.api_url_character_encoding = TRY(decoder.decode<String>());
|
||||
object.api_base_url = TRY(decoder.decode<URL::URL>());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue