tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 90f81af2094d36448a389b2135739653c720842a
parent 93b4c09f7e85f99a7cde190b99405cb98227fa07
Author: Narcis Beleuzu <nbeleuzu@mozilla.com>
Date:   Tue, 14 Oct 2025 15:32:17 +0300

Revert "Bug 1994118 - Test replaceState inside back handler. r=zcorpan" for causing wpt failure on /replaceState-inside-back-handler-infinite.optional.html

This reverts commit 9b629fb4e490657c327f03fb9faf527d00099478.

Diffstat:
Dtesting/web-platform/tests/navigation-api/navigate-event/replaceState-inside-back-handler-infinite.optional.html | 21---------------------
1 file changed, 0 insertions(+), 21 deletions(-)

diff --git a/testing/web-platform/tests/navigation-api/navigate-event/replaceState-inside-back-handler-infinite.optional.html b/testing/web-platform/tests/navigation-api/navigate-event/replaceState-inside-back-handler-infinite.optional.html @@ -1,21 +0,0 @@ -<!doctype html> -<script src="/resources/testharness.js"></script> -<script src="/resources/testharnessreport.js"></script> -<script src="../navigation-methods/return-value/resources/helpers.js"></script> -<script> -promise_test(async t => { - await new Promise(resolve => window.onload = () => t.step_timeout(resolve, 0)); - await navigation.navigate("#push").finished; - let { reject, promise } = Promise.withResolvers(); - navigation.addEventListener("navigate", () => { - try { - history.replaceState(null, "", "#"); - } catch (e) { - reject(e); - } - }); - await Promise.all([ - promise_rejects_dom(t, "SecurityError", promise, "Infinite recursion in replaceState"), - assertBothRejectDOM(t, navigation.back(), "AbortError")]); -}, "infinite replaceState inside a navigate event for navigation.back()"); -</script>