Update web-platform-tests to revision b'4a4653e088039aec186d6dc1d488120d77695c3a'

This commit is contained in:
WPT Sync Bot 2022-12-11 01:16:53 +00:00
parent 470a50ab60
commit 6337336fab
1043 changed files with 19705 additions and 6973 deletions

View file

@ -36,7 +36,7 @@ nfc_test(async t => {
}, "Test that NDEFReader.scan rejects if signal is not an AbortSignal.");
nfc_test(async t => {
await test_driver.set_permission({ name: 'nfc' }, 'denied', false);
await test_driver.set_permission({ name: 'nfc' }, 'denied');
const ndef = new NDEFReader();
await promise_rejects_dom(t, 'NotAllowedError', ndef.scan());
}, "NDEFReader.scan should fail if user permission is not granted.");