Update web-platform-tests to revision 3d117ae1266e6bd039a3a1ab92b27e82c3ccc92d

This commit is contained in:
WPT Sync Bot 2018-09-23 21:29:48 -04:00
parent 647796ede6
commit 20a08918d9
132 changed files with 3012 additions and 689 deletions

View file

@ -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");