Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444

This commit is contained in:
Josh Matthews 2017-04-17 12:06:02 +10:00 committed by Anthony Ramine
parent 25e8bf69e6
commit 665817d2a6
35333 changed files with 1818077 additions and 16036 deletions

View file

@ -78,8 +78,8 @@ promise_test(t => {
const resolved = [];
const writer = ws.getWriter();
const readyPromise1 = writer.ready.then(() => resolved.push('ready1'));
const writePromise = promise_rejects(t, new TypeError(), writer.write(),
'write() should reject with a TypeError')
const writePromise = promise_rejects(t, error1, writer.write(),
'write() should reject with the error')
.then(() => resolved.push('write'));
const readyPromise2 = promise_rejects(t, error1, writer.ready, 'ready should reject with error1')
.then(() => resolved.push('ready2'));