Browse Source

LibWeb: Add HistoryHandlingBehavior::Push

Also add FIXMEs about removing no-longer-used enum values.
Andreas Kling 2 years ago
parent
commit
4d8edf65b5
1 changed files with 4 additions and 3 deletions
  1. 4 3
      Userland/Libraries/LibWeb/HTML/HistoryHandlingBehavior.h

+ 4 - 3
Userland/Libraries/LibWeb/HTML/HistoryHandlingBehavior.h

@@ -10,9 +10,10 @@ namespace Web::HTML {
 
 
 // https://html.spec.whatwg.org/multipage/browsing-the-web.html#history-handling-behavior
 // https://html.spec.whatwg.org/multipage/browsing-the-web.html#history-handling-behavior
 enum class HistoryHandlingBehavior {
 enum class HistoryHandlingBehavior {
-    Default,
-    EntryUpdate,
-    Reload,
+    Default,     // FIXME: This is no longer part of the spec. Remove.
+    EntryUpdate, // FIXME: This is no longer part of the spec. Remove.
+    Reload,      // FIXME: This is no longer part of the spec. Remove.
+    Push,
     Replace,
     Replace,
 };
 };