mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Update web-platform-tests to revision 7ec633bbfbc01de4972e65f81f593983d9cdc17d
This commit is contained in:
parent
24674687ac
commit
36e52003a7
107 changed files with 1452 additions and 646 deletions
|
@ -8,11 +8,11 @@
|
|||
|
||||
test(() => {
|
||||
assert_equals(NDEFReadingEvent.length, 2);
|
||||
assert_throws(new TypeError, () => new NDEFReadingEvent('message'));
|
||||
assert_throws_js(TypeError, () => new NDEFReadingEvent('message'));
|
||||
}, 'NDEFReadingEvent constructor without init dict');
|
||||
|
||||
test(() => {
|
||||
assert_throws(new TypeError, () => new NDEFReadingEvent('type',
|
||||
assert_throws_js(TypeError, () => new NDEFReadingEvent('type',
|
||||
{serialNumber: '', message: null}),
|
||||
'NDEFMessageInit#records is a required field.');
|
||||
}, 'NDEFReadingEvent constructor failed to construct its NDEFMessage');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue