LibWeb: Flesh out apply the history step to setup the navigation API

We now populate the navigation history entries in the navigation API and
fire more navigation events as appropriate.
This commit is contained in:
Andrew Kaster 2023-09-27 22:59:57 -06:00 committed by Alexander Kalenik
commit 6c1944ee61
Notes: sideshowbarker 2024-07-16 22:34:39 +09:00
11 changed files with 339 additions and 78 deletions

View file

@ -1,5 +1,5 @@
entries is empty: true
currentEntry is null: true
entries[length - 1] is current entry: true
currentEntry is a [object NavigationHistoryEntry]
transition is null: true
canGoBack: false
canGoForward: false
canGoBack: true
canGoForward: true