mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision 3d117ae1266e6bd039a3a1ab92b27e82c3ccc92d
This commit is contained in:
parent
647796ede6
commit
20a08918d9
132 changed files with 3012 additions and 689 deletions
|
@ -131,7 +131,9 @@ test(() => {
|
|||
|
||||
const {fn} = functions;
|
||||
|
||||
assert_throws(new RangeError(), () => table.set(-1, fn));
|
||||
// -1 is the wrong type hence the type check on entry gets this
|
||||
// before the range check does.
|
||||
assert_throws(new TypeError(), () => table.set(-1, fn));
|
||||
assert_throws(new RangeError(), () => table.set(5, fn));
|
||||
assert_equal_to_array(table, [null, null, null, null, null]);
|
||||
}, "Setting out-of-bounds");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue