Bug 1665554 [wpt PR 25587] - FontAccess: Sticky User Activation is required to enumer...
commit3d0ba19dd5c802075c6b31e4cdf147aa69928bb3
authorOlivier Yiptong <oyiptong@chromium.org>
Tue, 22 Sep 2020 09:17:58 +0000 (22 09:17 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 23 Sep 2020 09:03:18 +0000 (23 09:03 +0000)
tree945e8568baff0a383ac788eee4f89e3f1d8590e0
parent9d05c2f4a51ccf67e3cc4bc133457f8a965e2560
Bug 1665554 [wpt PR 25587] - FontAccess: Sticky User Activation is required to enumerate, a=testonly

Automatic update from web-platform-tests
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/c/chromium/src/+/2414920
Commit-Queue: Olivier Yiptong <oyiptong@chromium.org>
Reviewed-by: Balazs Engedy <engedy@chromium.org>
Reviewed-by: Martin Barbella <mbarbella@chromium.org>
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#809194}

--

wpt-commits: 17020c8dceff1b0e999453a14fa8b390ee947445
wpt-pr: 25587
testing/web-platform/tests/font-access/resources/window-tests-enumeration.js