Bug 282244

Summary: [Navigation] Investigate max limit of traversals
Product: WebKit Reporter: Patrick Griffis <pgriffis>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: karlcow, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 258384    

Patrick Griffis
Reported 2024-10-29 09:21:18 PDT
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>
Attachments
Radar WebKit Bug Importer
Comment 1 2024-11-05 08:22:12 PST
Note You need to log in before you can comment on or make changes to this bug.