1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:37:35 +00:00

LibWeb: Change id to be optional in HTML::NavigationParams

This commit is contained in:
Aliaksandr Kalenik 2023-04-13 14:38:39 +03:00 committed by Andreas Kling
parent 71b7a929db
commit 0c919718ae

View file

@ -19,8 +19,8 @@ namespace Web::HTML {
// https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigation-params
struct NavigationParams {
// a navigation id
String id;
// null or a navigation ID
Optional<String> id;
// null or a request that started the navigation
JS::GCPtr<Fetch::Infrastructure::Request> request;