Closed Bug 1665554 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 25587 - FontAccess: Sticky User Activation is required to enumerate

Categories

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

task

Tracking

(firefox83 fixed)

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Olivier Yiptong <oyiptong@chromium.org>' wrote:

FontAccess: Sticky User Activation is required to enumerate

This change adds the requirement for sticky user activation for the
enumeration API to return a result. This will require sites to wait for
a user activation on session-restore or whatever causes the page to load
without user activation before accessing the API.

Also, the enumeration API now consumes the transient activation.

Bug: 1043306
Change-Id: I77e18795eaa22cc801145243b276c6fd29308d8c
Reviewed-on: https://chromium-review.googlesource.com/2414920
WPT-Export-Revision: 273963bd72026f6a1fada467bfc0f9887faf1e31

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 sticky 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/35b0e0d57b68
[wpt PR 25587] - FontAccess: Sticky User Activation is required to enumerate, a=testonly
https://hg.mozilla.org/integration/autoland/rev/2651c03daace
[wpt PR 25587] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.