[wpt-sync] Sync PR 59543 - Use navigate event's is_user_initiated for activation check
Categories
(Core :: DOM: Navigation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 59543 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/59543
Details from upstream follow.
Noam Rosenthal <nrosenthal@chromium.org> wrote:
Use navigate event's is_user_initiated for activation check
This correctly propagates activation from the navigation to the focusing behavior.
Bug: 506392934
Change-Id: I16379e18a7e8376ff54acfaa62450b60805c23cc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7800163
Reviewed-by: Nate Chapin \<japhet@chromium.org>
Commit-Queue: Noam Rosenthal \<nrosenthal@google.com>
Cr-Commit-Position: refs/heads/main@{#1622537}
| Assignee | ||
Updated•16 days ago
|
| Assignee | ||
Comment 1•14 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=bdfa6833c1360613e29cb3ddd543aa2311f6c175
| Assignee | ||
Comment 2•13 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 130 tests and 1 subtests
Status Summary
Firefox
OK : 1[GitHub] 112[Gecko-linux2404-64-opt] 113[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-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 1[Gecko-linux2204-64-wayland-opt, GitHub] 2[Gecko-linux2204-64-wayland-debug] 119[Gecko-linux2404-64-opt] 120[Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt] 121[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-windows11-64-25h2-debug]
FAIL : 1[GitHub] 5[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-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
ERROR: 1
Chrome
OK : 1
PASS : 1
FAIL : 1
Safari
OK : 1
PASS : 1
FAIL : 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /navigation-api/navigate-event/navigate-form-onformdata-navigate-crash.html [wpt.fyi]:
ERROR[Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2204-64-wayland-opt,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt],PASS[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-linux2204-64-wayland-debug,Gecko-windows11-64-25h2-debug] - /navigation-api/navigate-event/defer/tentative/defer-after-dispatch.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-back.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-cross-origin.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-restore-callback-abort.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-same-document.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-with-multiple-handlers-and-single-reject.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-with-multiple-handlers.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-with-single-handler-reject.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-with-single-handler.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/restore-after-bfcache.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/navigate-form-requestSubmit.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/navigate-history-traversal-during-onnavigate-should-reject.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/navigation-traverseTo-in-iframe-same-document-preventDefault.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/replaceState-inside-back-handler-infinite.optional.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/sourceElement-cross-origin.sub.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/dangling-navigate-event-after-bfcache-restore.tentative.html [wpt.fyi]:
OK[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-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-linux2404-64-opt] - /navigation-api/navigate-event/intercept-cross-origin-focus-without-user-activation.html [wpt.fyi]
- Navigation API intercept() focus reset shouldn't bypass focus-without-user-activation permissions policy:
FAIL(Chrome:FAIL, Safari:PASS)
- Navigation API intercept() focus reset shouldn't bypass focus-without-user-activation permissions policy:
- /navigation-api/navigate-event/intercept-popstate.html [wpt.fyi]
- event.intercept() should provide popstate with a valid state object:
FAIL
- event.intercept() should provide popstate with a valid state object:
- /navigation-api/navigate-event/navigate-navigation-back-cross-document.html [wpt.fyi]
- navigate event for navigation.back() - cross-document:
FAIL
- navigate event for navigation.back() - cross-document:
- /navigation-api/navigate-event/navigate-to-srcdoc.html [wpt.fyi]
- navigate event fires appropriately (and can be canceled) for adding the srcdoc attribute:
FAIL
- navigate event fires appropriately (and can be canceled) for adding the srcdoc attribute:
- /navigation-api/navigate-event/signal-abort-window-stop.html [wpt.fyi]
- window.stop() signals event.signal:
FAIL
- window.stop() signals event.signal:
Tests Disabled in Gecko Infrastructure
- /navigation-api/navigate-event/defer/tentative/defer-after-dispatch.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-back.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-cross-origin.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-restore-callback-abort.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-same-document.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-with-multiple-handlers-and-single-reject.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-with-multiple-handlers.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-with-single-handler-reject.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/defer-with-single-handler.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/defer/tentative/restore-after-bfcache.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/navigate-form-requestSubmit.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/navigate-history-traversal-during-onnavigate-should-reject.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/navigation-traverseTo-in-iframe-same-document-preventDefault.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/replaceState-inside-back-handler-infinite.optional.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/sourceElement-cross-origin.sub.html [wpt.fyi]:
SKIP - /navigation-api/navigate-event/dangling-navigate-event-after-bfcache-restore.tentative.html [wpt.fyi]:
OK[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-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-linux2404-64-opt]
Comment 4•9 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/3be4453bc645
https://hg.mozilla.org/mozilla-central/rev/92b2b6378fa6
Description
•