[wpt-sync] Sync PR 45766 - [PEPC] Disable focusing via script
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox128 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 45766 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/45766
Details from upstream follow.
Andy Paicu <andypaicu@chromium.org> wrote:
[PEPC] Disable focusing via script
The PEPC element should not be able to focused via the
focus()
function since it can be abused for obtaining unintentional clicks by
focusing the element at unexpected times.Bug: 1462930
Change-Id: I1fe10d3315120f03accfc99b518bef971ecd2947
Fixed: 335250065
Reviewed-on: https://chromium-review.googlesource.com/5463501
WPT-Export-Revision: bc771bb75c4466a6fc8e0d46ad7b96759387cca1
Assignee | ||
Updated•10 months ago
|
Assignee | ||
Updated•9 months ago
|
Assignee | ||
Updated•9 months ago
|
Assignee | ||
Comment 1•9 months ago
|
||
Assignee | ||
Comment 2•9 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK
: 1
FAIL
: 1
Chrome
OK
: 1
FAIL
: 1
Safari
OK
: 1
FAIL
: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/semantics/permission-element/no-focus.tentative.html [wpt.fyi]
- Permission element is not focusable by script:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Permission element is not focusable by script:
https://hg.mozilla.org/mozilla-central/rev/ceaadf5219b0
https://hg.mozilla.org/mozilla-central/rev/77246ae171cf
Description
•