Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee

This commit is contained in:
WPT Sync Bot 2018-04-23 21:13:37 -04:00
parent c5f7c9ccf3
commit e891345f26
1328 changed files with 36632 additions and 20588 deletions

View file

@ -57,7 +57,7 @@ for (const { args, testName } of badRequestArgTests) {
// Add signal to 2nd arg
args[1] = args[1] || {};
args[1].signal = controller.signal;
await promise_rejects(t, err, fetch(...args));
await promise_rejects(t, new TypeError, fetch(...args));
}
}, `TypeError from request constructor takes priority - ${testName}`);
}