[wpt-sync] Sync PR 25344 - FontAccess: Require User Activation only when showing permission prompt
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox82 fixed)
| Tracking | Status | |
|---|---|---|
| firefox82 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 25344 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/25344
Details from upstream follow.
b'Olivier Yiptong <oyiptong@chromium.org>' wrote:
FontAccess: Require User Activation only when showing permission prompt
Following feedback from partners, requiring UA each time
navigator.fonts.query() is invoked is cumbersome for UX.This changes the UA requirement to:
- only occur on the browser side
- only before a permission prompt is requested
If a permission was previously granted, no UA is required anymore.
Bug: 1043306
Change-Id: I37a848feaf7c02e881bb4a63f53594a3636a9f96
Reviewed-on: https://chromium-review.googlesource.com/2388982
WPT-Export-Revision: e26678e697194cc9b674b4a9566bc23611f65f0f
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
CI Results
Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 2 subtests
Status Summary
Firefox
OK : 1
FAIL: 2
Chrome
OK : 1
FAIL: 2
Safari
OK : 1
FAIL: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/font-access/font_access-enumeration.tentative.https.window.html
iteration fails if there is no user activation: FAIL (Chrome: FAIL, Safari: FAIL)
font_access-enumeration: FAIL (Chrome: FAIL, Safari: FAIL)
Comment 4•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/2885f12c693f
https://hg.mozilla.org/mozilla-central/rev/2378d11c992f
Description
•