mirror of
https://github.com/servo/servo.git
synced 2025-08-25 15:18:22 +01:00
Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444
This commit is contained in:
parent
25e8bf69e6
commit
665817d2a6
35333 changed files with 1818077 additions and 16036 deletions
|
@ -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'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue