Closed Bug 1856335 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 42213 - Reland: [soft navigations] Enable keyboard shortcuts as soft navigation triggers

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox120 fixed)

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Yoav Weiss <yoavweiss@chromium.org> wrote:

Reland: [soft navigations] Enable keyboard shortcuts as soft navigation triggers

Following the discussion on issue #3 [1], this CL adds support to soft
navigations triggered by keyboard shortcuts, by adding unfocused keydown
events to the events that can trigger the soft navigation heuristic.

This is a reland of [2], rebased and which fixes the unguarded
ScriptState access in event_dispatcher, which caused a crash.

[1] https://github.com/WICG/soft-navigations/issues/3
[2] https://chromium-review.googlesource.com/c/chromium/src/+/4839506

Bug: 1478772, 1480047
Change-Id: I6428e0635222366d880dd908f04f2273b6bf8b44
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4900577
Reviewed-by: Ian Clelland \<iclelland@chromium.org>
Commit-Queue: Yoav Weiss \<yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1203903}

CI Results

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

Total 32 tests and 1 subtests

Status Summary

Firefox

OK : 7
PASS : 1
FAIL : 6
TIMEOUT: 42
ERROR : 4

Chrome

OK : 31
PASS : 31
TIMEOUT: 2

Safari

OK : 6
PASS : 1
FAIL : 5
TIMEOUT: 44
ERROR : 4

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c91da3481d77 [wpt PR 42213] - Reland: [soft navigations] Enable keyboard shortcuts as soft navigation triggers, a=testonly https://hg.mozilla.org/integration/autoland/rev/957d950464c7 [wpt PR 42213] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in before you can comment on or make changes to this bug.