mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-09 09:41:02 +00:00
16 lines
599 B
HTML
16 lines
599 B
HTML
|
|
<script src="../include.js"></script>
|
||
|
|
<script>
|
||
|
|
test(() => {
|
||
|
|
let n = window.navigation;
|
||
|
|
|
||
|
|
// FIXME: Once we set up the interaction between Navigables and Navigation,
|
||
|
|
// These two should become 1 and [object NavigationHistoryEntry], respectively
|
||
|
|
println(`entries is empty: ${n.entries().length == 0}`);
|
||
|
|
println(`currentEntry is null: ${n.currentEntry == null}`);
|
||
|
|
|
||
|
|
println(`transition is null: ${n.transition == null}`);
|
||
|
|
println(`canGoBack: ${n.canGoBack}`);
|
||
|
|
println(`canGoForward: ${n.canGoForward}`);
|
||
|
|
});
|
||
|
|
</script>
|