1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:37:34 +00:00

LibWeb: Don't assert when calling navigation properties

The invariants for these property getters are supposed to be checked by
the has_entries_and_events_disabled AO, but we don't have all the
plumbing hooked up between Navigables and Navigation yet.

Add a test to make sure that these methods don't assert when calling
them on a fresh page.
This commit is contained in:
Andrew Kaster 2023-08-25 23:34:27 -06:00 committed by Sam Atkins
parent aae7905369
commit 587cfa7739
3 changed files with 32 additions and 6 deletions

View file

@ -0,0 +1,5 @@
entries is empty: true
currentEntry is null: true
transition is null: true
canGoBack: false
canGoForward: false