mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision b'4a4653e088039aec186d6dc1d488120d77695c3a'
This commit is contained in:
parent
470a50ab60
commit
6337336fab
1043 changed files with 19705 additions and 6973 deletions
|
@ -8,7 +8,7 @@
|
|||
const invalid_signals = ['string', 123, {}, true, Symbol(), () => {}, self];
|
||||
|
||||
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.makeReadOnly());
|
||||
}, 'NDEFReader.makeReadOnly should fail if user permission is not granted.');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue