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
Notes: sideshowbarker 2024-07-17 10:05:47 +09:00

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;