summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorAliaksandr Kalenik <kalenik.aliaksandr@gmail.com>2023-04-13 14:38:39 +0300
committerAndreas Kling <kling@serenityos.org>2023-05-03 09:39:49 +0200
commit0c919718ae494d7edbfbe23b00ae400261fa4071 (patch)
tree2c79f0987ccddbb9e55251241800f614ac6f05c1 /Userland
parent71b7a929db15ef901f23ccf4ad7dfed5a2494688 (diff)
downloadserenity-0c919718ae494d7edbfbe23b00ae400261fa4071.zip
LibWeb: Change id to be optional in HTML::NavigationParams
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibWeb/HTML/NavigationParams.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/NavigationParams.h b/Userland/Libraries/LibWeb/HTML/NavigationParams.h
index de2be5bd7d..dfda9b4259 100644
--- a/Userland/Libraries/LibWeb/HTML/NavigationParams.h
+++ b/Userland/Libraries/LibWeb/HTML/NavigationParams.h
@@ -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;