Bug 1662598 [wpt PR 25344] - FontAccess: Require User Activation only when showing...
commitaf0502353a17475c22dcc6793450ea4c21fdc46e
authorOlivier Yiptong <oyiptong@chromium.org>
Mon, 7 Sep 2020 13:03:38 +0000 (7 13:03 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Tue, 8 Sep 2020 10:31:29 +0000 (8 10:31 +0000)
treebb859f1becfc4558d610c41a42c1aec09e7c890e
parent55c9a7cf8e1d9390a048a5236c55e7b147b23941
Bug 1662598 [wpt PR 25344] - FontAccess: Require User Activation only when showing permission prompt, a=testonly

Automatic update from web-platform-tests
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 change ensures that User Activation is checked before showing a
permission prompt, but isn't checked if the permission status is
either granted or denied.

Bug: 1043306
Change-Id: I37a848feaf7c02e881bb4a63f53594a3636a9f96
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2388982
Commit-Queue: Olivier Yiptong <oyiptong@chromium.org>
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#803729}

--

wpt-commits: 5b45e1ee6f423f9c4a017b274bec9fafa0141778
wpt-pr: 25344
testing/web-platform/tests/font-access/resources/window-tests-enumeration.js