[wpt-sync] Sync PR 32750 - App history: basic focusReset support
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox99 fixed)
Tracking | Status | |
---|---|---|
firefox99 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 32750 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/32750
Details from upstream follow.
Domenic Denicola <domenic@chromium.org> wrote:
App history: basic focusReset support
Based on the draft at https://github.com/WICG/app-history/pull/201.
This includes handling multiple conflicting focusReset options, with a console warning if necessary.
Limitations, to be addressed in future commits:
This does not take into account autofocus="" elements.
This will reset focus even if the user has moved focus in the meantime.
Bug: 1183545
Change-Id: I1eae4fc58af653fa7e463a1346a9bebc9536a59f
Reviewed-on: https://chromium-review.googlesource.com/3441109
WPT-Export-Revision: 37ec1d359b12f7d15bb739ea7635328a6ce3f449
Assignee | ||
Comment 1•2 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=0ba401a30b16a55005273fc19bdaf3a498a97724
Assignee | ||
Comment 2•2 years ago
|
||
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 : 1
PASS : 5
FAIL : 9
ERROR: 1
Safari
OK : 2
FAIL : 14
Links
Details
New Tests That Don't Pass
/app-history/focus-reset/basic.html
Invalid values for focusReset throw: FAIL (Chrome: FAIL, 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)
/app-history/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/7e662a50984f [wpt PR 32750] - App history: basic focusReset support, a=testonly https://hg.mozilla.org/integration/autoland/rev/d20ecff8f323 [wpt PR 32750] - Update wpt metadata, a=testonly
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7e662a50984f
https://hg.mozilla.org/mozilla-central/rev/d20ecff8f323
Description
•