Closed Bug 1662598 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 25344 - FontAccess: Require User Activation only when showing permission prompt

Categories

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

task

Tracking

(firefox82 fixed)

RESOLVED FIXED
82 Branch
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:

  1. only occur on the browser side
  2. 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

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)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2885f12c693f [wpt PR 25344] - FontAccess: Require User Activation only when showing permission prompt, a=testonly https://hg.mozilla.org/integration/autoland/rev/2378d11c992f [wpt PR 25344] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.