tor-browser

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

commit ec6c777e968032341835c0bd63d376f7df169da8
parent bd8d9489a09ba0f0045d33f7b6959b47458f233a
Author: Nate Chapin <japhet@chromium.org>
Date:   Fri,  7 Nov 2025 09:02:08 +0000

Bug 1996825 [wpt PR 55707] - [navigation API] Better align chromium's abort implementation with the spec, a=testonly

Automatic update from web-platform-tests
[navigation API] Better align chromium's abort implementation with the spec

Update the WPT that were matching chromium's behavior rather than
the specced behavior.

See https://github.com/whatwg/html/issues/11831

Fixed: 455720491
Change-Id: I3f83ba3a71bc638877ed6cf28d179ce25effb4a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7088791
Reviewed-by: Noam Rosenthal <nrosenthal@google.com>
Commit-Queue: Nate Chapin <japhet@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1540891}

--

wpt-commits: 625ad19a6c030ecfdc873239b8f35feb12ba9003
wpt-pr: 55707

Diffstat:
Mtesting/web-platform/tests/navigation-api/ordering-and-transition/anchor-download-intercept-reject.html | 1+
Mtesting/web-platform/tests/navigation-api/ordering-and-transition/back-same-document-intercept-reject.html | 1+
Mtesting/web-platform/tests/navigation-api/ordering-and-transition/location-href-intercept-reject.html | 1+
Mtesting/web-platform/tests/navigation-api/ordering-and-transition/navigate-same-document-intercept-reject.html | 1+
Mtesting/web-platform/tests/navigation-api/ordering-and-transition/reload-intercept-reject.html | 1+
5 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/testing/web-platform/tests/navigation-api/ordering-and-transition/anchor-download-intercept-reject.html b/testing/web-platform/tests/navigation-api/ordering-and-transition/anchor-download-intercept-reject.html @@ -45,6 +45,7 @@ promise_test(async t => { ["currententrychange", "#1", { from, navigationType: "push" }], ["handler run", "#1", { from, navigationType: "push" }], ["promise microtask", "#1", { from, navigationType: "push" }], + ["AbortSignal abort", "#1", { from, navigationType: "push" }], ["navigateerror", "#1", { from, navigationType: "push" }], ["transition.finished rejected", "#1", null], ]); diff --git a/testing/web-platform/tests/navigation-api/ordering-and-transition/back-same-document-intercept-reject.html b/testing/web-platform/tests/navigation-api/ordering-and-transition/back-same-document-intercept-reject.html @@ -44,6 +44,7 @@ promise_test(async t => { ["currententrychange", "", { from, navigationType: "traverse" }], ["handler run", "", { from, navigationType: "traverse" }], ["committed fulfilled", "", { from, navigationType: "traverse" }], + ["AbortSignal abort", "", { from, navigationType: "traverse" }], ["navigateerror", "", { from, navigationType: "traverse" }], ["finished rejected", "", null], ["transition.finished rejected", "", null] diff --git a/testing/web-platform/tests/navigation-api/ordering-and-transition/location-href-intercept-reject.html b/testing/web-platform/tests/navigation-api/ordering-and-transition/location-href-intercept-reject.html @@ -41,6 +41,7 @@ promise_test(async t => { ["currententrychange", "#1", { from, navigationType: "push" }], ["handler run", "#1", { from, navigationType: "push" }], ["promise microtask", "#1", { from, navigationType: "push" }], + ["AbortSignal abort", "#1", { from, navigationType: "push" }], ["navigateerror", "#1", { from, navigationType: "push" }], ["transition.finished rejected", "#1", null], ]); diff --git a/testing/web-platform/tests/navigation-api/ordering-and-transition/navigate-same-document-intercept-reject.html b/testing/web-platform/tests/navigation-api/ordering-and-transition/navigate-same-document-intercept-reject.html @@ -44,6 +44,7 @@ promise_test(async t => { ["committed fulfilled", "#1", { from, navigationType: "push" }], ["transition.committed fulfilled", "#1", { from, navigationType: "push" }], ["promise microtask", "#1", { from, navigationType: "push" }], + ["AbortSignal abort", "#1", { from, navigationType: "push" }], ["navigateerror", "#1", { from, navigationType: "push" }], ["finished rejected", "#1", null], ["transition.finished rejected", "#1", null], diff --git a/testing/web-platform/tests/navigation-api/ordering-and-transition/reload-intercept-reject.html b/testing/web-platform/tests/navigation-api/ordering-and-transition/reload-intercept-reject.html @@ -44,6 +44,7 @@ promise_test(async t => { ["committed fulfilled", "", { from, navigationType: "reload" }], ["transition.committed fulfilled", "", { from, navigationType: "reload" }], ["promise microtask", "", { from, navigationType: "reload" }], + ["AbortSignal abort", "", { from, navigationType: "reload" }], ["navigateerror", "", { from, navigationType: "reload" }], ["finished rejected", "", null], ["transition.finished rejected", "", null],