imported/w3c/web-platform-tests/navigation-api/navigate-event/replaceState-inside-back-handler.html is constantly failing on macOS and iOS. HISTORY: https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fnavigation-api%2Fnavigate-event%2FreplaceState-inside-back-handler.html&platform=mac&platform=ios DIFF: -CONSOLE MESSAGE: RangeError: Maximum call stack size exceeded. +CONSOLE MESSAGE: SecurityError: Attempt to use history.replaceState() more than 100 times per 10 seconds -Harness Error (FAIL), message = RangeError: Maximum call stack size exceeded. +Harness Error (FAIL), message = SecurityError: Attempt to use history.replaceState() more than 100 times per 10 seconds PASS replaceState inside a navigate event for navigation.back() LINK: https://build.webkit.org/results/Apple-Sonoma-Release-AppleSilicon-WK2-Tests/280592@main%20(4525)/imported/w3c/web-platform-tests/navigation-api/navigate-event/replaceState-inside-back-handler-diff.txt REGRESSION: In the 280591@main, changes were made in WebCore/History navigation which might've caused the regression.
<rdar://problem/131080588>
REPRODUCIBILITY: I was able to reproduce this regression on ToT using the command, run-webkit-tests --root imported/w3c/web-platform-tests/navigation-api/navigate-event/replaceState-inside-back-handler.html
It looks like 280591@main regressed this but I am uncertain because that particular commit was not built.
Pull request: https://github.com/WebKit/WebKit/pull/30479
Committed 280699@main (6e0990321f04): <https://commits.webkit.org/280699@main> Reviewed commits have been landed. Closing PR #30479 and removing active labels.