Closed Bug 2036270 Opened 16 days ago Closed 9 days ago

[wpt-sync] Sync PR 59293 - Activation across navigation: add a WPT for cross-origin redirection

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
152 Branch
Tracking Status
firefox152 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Regressed 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

Sync web-platform-tests PR 59293 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/59293
Details from upstream follow.

Mustaq Ahmed <mustaq@google.com> wrote:

Activation across navigation: add a WPT for cross-origin redirection

This CL adds a new WPT for user activation states after a cross-origin
redirection, using RemoteContext API in dispatcher.js. This behavior
is not fully defined in the spec [1], and the test was written based on
the behavior expected in a PR discussion [2].

This CL also simplifies the existing same-origin test using the same
API, and fixes the visibility of 3 private methods in utils.js.

[1]
https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigation-and-session-history:~:text=Welcome%20to%20the%20dragon%27s%20maw.
[2] https://github.com/whatwg/html/pull/11454

Bug: 480993679
Change-Id: I9c7e5ad836404d7b1bf8e484a89fc2824b7c0364
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7769229
Commit-Queue: Mustaq Ahmed \<mustaq@chromium.org>
Reviewed-by: Vladimir Levin \<vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1616504}

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Attached file Notable wpt changes

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Safari on GitHub CI

Total 4252 tests

Status Summary

Firefox

OK : 1860[Gecko-windows11-32-25h2-debug] 1864[Gecko-windows11-64-25h2-debug] 1869[Gecko-windows11-32-25h2-opt] 1870[Gecko-linux2404-64-debug, Gecko-windows11-64-25h2-opt] 1872[Gecko-android-em-14-x86_64-debug-geckoview] 1873[Gecko-linux2404-64-opt] 1877[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
PASS : 47[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 14555[Gecko-windows11-32-25h2-debug] 14599[Gecko-windows11-32-25h2-opt] 14679[Gecko-linux2404-64-debug] 14681[Gecko-android-em-14-x86_64-debug-geckoview] 14682[Gecko-linux2404-64-opt] 14707[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 14715[Gecko-windows11-64-25h2-opt] 14744[Gecko-windows11-64-25h2-debug]
FAIL : 1818[Gecko-linux2404-64-debug] 1825[Gecko-linux2404-64-opt] 1832[Gecko-windows11-32-25h2-debug] 1834[Gecko-windows11-32-25h2-opt] 1838[Gecko-windows11-64-25h2-opt] 1840[Gecko-windows11-64-25h2-debug] 1855[Gecko-android-em-14-x86_64-debug-geckoview] 1871[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
PRECONDITION_FAILED: 11[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 12[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT : 24[Gecko-windows11-32-25h2-debug] 25[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 27[Gecko-linux2404-64-opt]
ERROR : 43[Gecko-android-em-14-x86_64-debug-geckoview] 44[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 45[Gecko-windows11-32-25h2-debug] 46[Gecko-linux2404-64-opt] 47[Gecko-linux2404-64-debug] 48[Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
NOTRUN : 25[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-windows11-32-25h2-debug] 33[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Safari

OK : 1847
PASS : 5445
FAIL : 2922
PRECONDITION_FAILED: 15
TIMEOUT : 319
ERROR : 363
NOTRUN : 219

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

Regressions: 2038311
Status: NEW → RESOLVED
Closed: 9 days ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: