diff options
Diffstat (limited to 'testing/web-platform/tests/clipboard-apis/async-promise-write-blobs-read-blobs.https.html')
-rw-r--r-- | testing/web-platform/tests/clipboard-apis/async-promise-write-blobs-read-blobs.https.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/web-platform/tests/clipboard-apis/async-promise-write-blobs-read-blobs.https.html b/testing/web-platform/tests/clipboard-apis/async-promise-write-blobs-read-blobs.https.html index 12184c92e0..6b79893160 100644 --- a/testing/web-platform/tests/clipboard-apis/async-promise-write-blobs-read-blobs.https.html +++ b/testing/web-platform/tests/clipboard-apis/async-promise-write-blobs-read-blobs.https.html @@ -21,8 +21,8 @@ promise_test(async t => { const promise1 = new Promise((resolve, reject) => { resolve(loadBlob('resources/greenbox.png')); }); - await test_driver.set_permission({name: 'clipboard-read'}, 'granted'); - await test_driver.set_permission({name: 'clipboard-write'}, 'granted'); + await tryGrantReadPermission(); + await tryGrantWritePermission(); const blobText = new Blob(['test text'], {type: 'text/plain'}); |