[Webkit-unassigned] [Bug 282244] New: [Navigation] Investigate max limit of traversals
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 29 09:21:18 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=282244
Bug ID: 282244
Summary: [Navigation] Investigate max limit of traversals
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: pgriffis at igalia.com
Blocks: 258384
It appears Chrome limits this to ~48. Maybe worth matching:
<!doctype html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
promise_test(async t => {
// Wait for after the load event so that the navigation doesn't get converted
// into a replace navigation.
await new Promise(resolve => window.onload = () => t.step_timeout(resolve, 0));
let first_key = navigation.currentEntry.key;
for (let i = 0; i <= 100; i++)
await navigation.navigate("#" + i).committed;
assert_not_equals(first_key, navigation.currentEntry.key);
await navigation.traverseTo(first_key).committed;
// This passes in WebKit, fails in Chrome
assert_equals(first_key, navigation.currentEntry.key);
}, "Test traversing a long distance");
</script>
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=258384
[Bug 258384] Implement the navigation API
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241029/630b9cdb/attachment-0001.htm>
More information about the webkit-unassigned
mailing list