Bug 299900

Summary: [DumpRenderTree] Clear BackForwardList after each test.
Product: WebKit Reporter: Basuke Suzuki <basuke>
Component: New BugsAssignee: Basuke Suzuki <basuke>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=300339

Basuke Suzuki
Reported 2025-09-30 14:06:42 PDT
In this test: imported/w3c/web-platform-tests/html/browsers/history/the-history-interface/001.html Test starts passes if run the test locally alone, but starts failing after some iteration. It seems the previous back forward list items are remaining after test completed and eventually it filled up with entries. In the test, it is expected that the history size is increased after navigation but not because of the capacity. This patch clear the list after each test. From the perspective of test isolation, this must be the correct behavior.
Attachments
Basuke Suzuki
Comment 1 2025-09-30 14:06:52 PDT
Basuke Suzuki
Comment 2 2025-09-30 14:09:44 PDT
EWS
Comment 3 2025-10-01 14:48:07 PDT
Committed 300848@main (c07458c830a7): <https://commits.webkit.org/300848@main> Reviewed commits have been landed. Closing PR #51592 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.