Update web-platform-tests to revision afb5f984d7beecafa3d68ea7719ae2f4d203f1e1

This commit is contained in:
WPT Sync Bot 2020-05-18 08:19:00 +00:00
parent 50bd5c3e0f
commit 4f13fd6595
92 changed files with 576 additions and 476 deletions

View file

@ -11,8 +11,8 @@
<script>
async function readWriteTest(textInput) {
promise_test(async t => {
test_driver.set_permission({name: 'clipboard-read'}, 'granted');
test_driver.set_permission({name: 'clipboard-write'}, 'granted');
await test_driver.set_permission({name: 'clipboard-read'}, 'granted');
await test_driver.set_permission({name: 'clipboard-write'}, 'granted');
const blobInput = new Blob([textInput], {type: 'text/plain'});
const clipboardItem = new ClipboardItem({'text/plain': blobInput});