Closed Bug 1762023 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33408 - Navigation API: focusReset should reset SFNSP

Categories

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

task

Tracking

(firefox100 fixed)

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Domenic Denicola <domenic@chromium.org> wrote:

Navigation API: focusReset should reset SFNSP

SFNSP = sequential focus navigation starting point.

This was noticed while writing the spec at
https://github.com/WICG/navigation-api/pull/201.

Bug: 1183545
Change-Id: If13f3c12e9c6ef2dbed628a65b823754ae04cd3d

Reviewed-on: https://chromium-review.googlesource.com/3550462
WPT-Export-Revision: 55799123039691aaf3bb9d4df57792184bfb1fd9

CI Results

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

Total 2 tests and 6 subtests

Status Summary

Firefox

OK : 2
FAIL: 14

Chrome

OK : 2
PASS: 6
FAIL: 8

Safari

OK : 2
FAIL: 14

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/navigation-api/focus-reset/basic.html
Invalid values for focusReset throw: FAIL (Chrome: PASS, Safari: FAIL)
Does not reset the focus when no navigate handler is present: FAIL (Chrome: PASS, Safari: FAIL)
Resets the focus when no focusReset option is provided: FAIL (Chrome: FAIL, Safari: FAIL)
Resets the focus when focusReset is explicitly set to undefined: FAIL (Chrome: FAIL, Safari: FAIL)
Resets the focus when no focusReset option is provided (nontrivial fulfilled promise): FAIL (Chrome: FAIL, Safari: FAIL)
Resets the focus when no focusReset option is provided (rejected promise): FAIL (Chrome: FAIL, Safari: FAIL)
Resets the focus when focusReset is explicitly set to 'after-transition': FAIL (Chrome: FAIL, Safari: FAIL)
Does not reset the focus when focusReset is set to 'manual': FAIL (Chrome: PASS, Safari: FAIL)
/navigation-api/focus-reset/multiple-transitionWhile.html
(not provided) + after-transition: FAIL (Chrome: FAIL, Safari: FAIL)
(not provided) + manual: FAIL (Chrome: PASS, Safari: FAIL)
after-transition + manual: FAIL (Chrome: PASS, Safari: FAIL)
after-transition + (not provided): FAIL (Chrome: FAIL, Safari: FAIL)
manual + after-transition: FAIL (Chrome: FAIL, Safari: FAIL)
manual + (not provided): FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cf87fbd11299
[wpt PR 33408] - Navigation API: focusReset should reset SFNSP, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.