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