| OLD | NEW | 
 | (Empty) | 
|   1 This is a testharness.js-based test. |  | 
|   2 Harness Error. harness_status.status = 1 , harness_status.message = error2 |  | 
|   3 PASS Aborting a WritableStream before it starts should cause the writer's unsett
    led ready promise to reject  |  | 
|   4 PASS Aborting a WritableStream should cause the writer's fulfilled ready promise
     to reset to a rejected one  |  | 
|   5 PASS abort() on a released writer rejects  |  | 
|   6 PASS Aborting a WritableStream immediately prevents future writes  |  | 
|   7 PASS Aborting a WritableStream prevents further writes after any that are in pro
    gress  |  | 
|   8 PASS Fulfillment value of ws.abort() call must be undefined even if the underlyi
    ng sink returns a non-undefined value  |  | 
|   9 PASS WritableStream if sink's abort throws, the promise returned by writer.abort
    () rejects  |  | 
|  10 PASS WritableStream if sink's abort throws, the promise returned by ws.abort() r
    ejects  |  | 
|  11 PASS WritableStream if sink's abort throws, for an abort performed during a writ
    e, the promise returned by ws.abort() rejects  |  | 
|  12 PASS Aborting a WritableStream passes through the given reason  |  | 
|  13 PASS Aborting a WritableStream puts it in an errored state, with a TypeError as 
    the stored error  |  | 
|  14 PASS Aborting a WritableStream causes any outstanding write() promises to be rej
    ected with a TypeError  |  | 
|  15 PASS Closing but then immediately aborting a WritableStream causes the stream to
     error  |  | 
|  16 PASS Closing a WritableStream and aborting it while it closes causes the stream 
    to ignore the abort attempt  |  | 
|  17 PASS Aborting a WritableStream after it is closed is a no-op  |  | 
|  18 PASS WritableStream should NOT call underlying sink's close if no abort is suppl
    ied (historical)  |  | 
|  19 PASS returning a thenable from abort() should work  |  | 
|  20 PASS .closed should not resolve before fulfilled write()  |  | 
|  21 FAIL .closed should not resolve before rejected write(); write() error should no
    t overwrite abort() error promise_test: Unhandled rejection with value: object "
    error1: error1" |  | 
|  22 PASS writes should be satisfied in order when aborting  |  | 
|  23 FAIL writes should be satisfied in order after rejected write when aborting prom
    ise_test: Unhandled rejection with value: object "error1: error1" |  | 
|  24 FAIL close() should reject with TypeError when abort() is first error promise_te
    st: Unhandled rejection with value: object "error1: error1" |  | 
|  25 PASS underlying abort() should not be called until underlying write() completes  |  | 
|  26 PASS underlying abort() should not be called if underlying close() has started  |  | 
|  27 PASS if underlying close() has started and then rejects, the abort() and close()
     promises should reject with the underlying close rejection reason  |  | 
|  28 PASS an abort() that happens during a write() should trigger the underlying abor
    t() even with a close() queued  |  | 
|  29 PASS if a writer is created for a stream with a pending abort, its ready should 
    be rejected with a TypeError  |  | 
|  30 PASS writer close() promise should resolve before abort() promise  |  | 
|  31 PASS writer.ready should reject on controller error without waiting for underlyi
    ng write  |  | 
|  32 FAIL writer.abort() while there is an in-flight write, and then finish the write
     with rejection promise_test: Unhandled rejection with value: object "error2: er
    ror2" |  | 
|  33 FAIL writer.abort(), controller.error() while there is an in-flight write, and t
    hen finish the write assert_throws: writePromise3 must reject with an error indi
    cating abort function "function () { throw e }" threw object "error2: error2" ("
    error2") expected object "TypeError" ("TypeError") |  | 
|  34 FAIL writer.abort(), controller.error() while there is an in-flight close, and t
    hen finish the close promise_test: Unhandled rejection with value: object "error
    2: error2" |  | 
|  35 FAIL controller.error(), writer.abort() while there is an in-flight write, and t
    hen finish the write assert_array_equals: writePromise and writer.closed must no
    t be fulfilled/rejected yet even after writer.abort() lengths differ, expected 0
     got 1 |  | 
|  36 FAIL controller.error(), writer.abort() while there is an in-flight close, and t
    hen finish the close promise_test: Unhandled rejection with value: object "error
    2: error2" |  | 
|  37 PASS releaseLock() while aborting should reject the original closed promise  |  | 
|  38 FAIL releaseLock() during delayed async abort() should reject the writer.closed 
    promise assert_equals: closed promise should not have changed expected object "[
    object Promise]" but got object "[object Promise]" |  | 
|  39 PASS sink abort() should not be called until sink start() is done  |  | 
|  40 FAIL if start attempts to error the controller after abort() has been called, th
    en it should lose promise_test: Unhandled rejection with value: object "error1: 
    error1" |  | 
|  41 FAIL stream abort() promise should still resolve if sink start() rejects promise
    _test: Unhandled rejection with value: object "error1: error1" |  | 
|  42 PASS writer abort() during sink start() should replace the writer.ready promise 
    synchronously  |  | 
|  43 FAIL promises returned from other writer methods should be rejected when writer 
    abort() happens during sink start() assert_array_equals: promises should resolve
     in the standard order property 1, expected "write1" but got "close" |  | 
|  44 FAIL abort() should succeed despite rejection from write promise_test: Unhandled
     rejection with value: object "error1: error1" |  | 
|  45 FAIL abort() should be rejected with the rejection returned from close() assert_
    throws: abort() should reject with error2 function "function () { throw e }" thr
    ew object "error1: error1" ("error1") expected object "error2: error2" ("error2"
    ) |  | 
|  46 FAIL a rejecting sink.write() should not prevent sink.abort() from being called 
    promise_test: Unhandled rejection with value: object "error1: error1" |  | 
|  47 FAIL when start errors after stream abort(), underlying sink abort() should be c
    alled anyway promise_test: Unhandled rejection with value: object "error1: error
    1" |  | 
|  48 PASS when calling abort() twice on the same stream, the second call should rejec
    t  |  | 
|  49 PASS sink abort() should not be called if stream was erroring due to controller.
    error() before abort() was called  |  | 
|  50 PASS sink abort() should not be called if stream was erroring due to bad strateg
    y before abort() was called  |  | 
|  51 Harness: the test ran to completion. |  | 
|  52  |  | 
| OLD | NEW |