diff options
Diffstat (limited to 'testing/web-platform/tests/clipboard-apis/permissions/readText-granted.https.html')
-rw-r--r-- | testing/web-platform/tests/clipboard-apis/permissions/readText-granted.https.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/web-platform/tests/clipboard-apis/permissions/readText-granted.https.html b/testing/web-platform/tests/clipboard-apis/permissions/readText-granted.https.html index e912bd64a8..0b2d7034df 100644 --- a/testing/web-platform/tests/clipboard-apis/permissions/readText-granted.https.html +++ b/testing/web-platform/tests/clipboard-apis/permissions/readText-granted.https.html @@ -12,8 +12,8 @@ 'use strict'; promise_test(async () => { - await test_driver.set_permission({name: 'clipboard-read'}, 'granted'); + await tryGrantReadPermission(); await waitForUserActivation(); await navigator.clipboard.readText(); }, 'navigator.clipboard.readText() succeeds when permission granted'); -</script>
\ No newline at end of file +</script> |