Selaa lähdekoodia

LibWeb: Add HistoryHandlingBehavior::Push

Also add FIXMEs about removing no-longer-used enum values.
Andreas Kling 2 vuotta sitten
vanhempi
commit
4d8edf65b5
1 muutettua tiedostoa jossa 4 lisäystä ja 3 poistoa
  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
 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,
 };