mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 55351d32dd26ea3ad42a8f5973e943ba0342c812
This commit is contained in:
parent
1b7223a284
commit
81d0cdbb2c
159 changed files with 2809 additions and 967 deletions
|
@ -37,7 +37,7 @@ function readBlobAsPromise(blob) {
|
|||
{}
|
||||
].forEach(value => test(t => {
|
||||
assert_throws_js(TypeError, () => new Blob([], {endings: value}),
|
||||
'Blob constructor should throw');
|
||||
'Blob constructor should throw');
|
||||
}, `Invalid "endings" value: ${JSON.stringify(value)}`));
|
||||
|
||||
test(t => {
|
||||
|
|
|
@ -465,7 +465,7 @@ test(function() {
|
|||
].forEach(arg => {
|
||||
test(t => {
|
||||
assert_throws_js(TypeError, () => new Blob([], arg),
|
||||
'Blob constructor should throw with invalid property bag');
|
||||
'Blob constructor should throw with invalid property bag');
|
||||
}, `Passing ${JSON.stringify(arg)} for options should throw`);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue