mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:17:34 +00:00
LibWeb: Change id to be optional in HTML::NavigationParams
This commit is contained in:
parent
71b7a929db
commit
0c919718ae
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@ namespace Web::HTML {
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigation-params
|
// https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigation-params
|
||||||
struct NavigationParams {
|
struct NavigationParams {
|
||||||
// a navigation id
|
// null or a navigation ID
|
||||||
String id;
|
Optional<String> id;
|
||||||
|
|
||||||
// null or a request that started the navigation
|
// null or a request that started the navigation
|
||||||
JS::GCPtr<Fetch::Infrastructure::Request> request;
|
JS::GCPtr<Fetch::Infrastructure::Request> request;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue