| OLD | NEW |
| (Empty) | |
| 1 This is a testharness.js-based test. |
| 2 Harness Error. harness_status.status = 1 , harness_status.message = assert_array
_equals: close must always be called with the controller lengths differ, expecte
d 1 got 0 |
| 3 PASS Service worker test setup |
| 4 PASS fulfillment value of ws.close() call must be undefined even if the underlyi
ng sink returns a non-undefined value |
| 5 FAIL when sink calls error asynchronously while closing, the stream should becom
e errored promise_test: Unhandled rejection with value: object "TypeError: Canno
t read property 'error' of undefined" |
| 6 FAIL when sink calls error synchronously while closing, the stream should become
errored promise_test: Unhandled rejection with value: object "TypeError: Cannot
read property 'error' of undefined" |
| 7 PASS when the sink throws during close, and the close is requested while a write
is still in-flight, the stream should become errored during the close |
| 8 PASS releaseLock on a stream with a pending write in which the stream has been e
rrored |
| 9 PASS releaseLock on a stream with a pending close in which the stream has been e
rrored |
| 10 FAIL when close is called on a WritableStream in writable state, ready should re
turn a fulfilled promise assert_array_equals: write and abort should not be call
ed lengths differ, expected 1 got 0 |
| 11 PASS when close is called on a WritableStream in waiting state, ready promise sh
ould be fulfilled |
| 12 FAIL when close is called on a WritableStream in waiting state, ready should be
fulfilled immediately even if close takes a long time assert_array_equals: sink
abort() should not be called lengths differ, expected 3 got 2 |
| 13 PASS returning a thenable from close() should work |
| 14 PASS releaseLock() should not change the result of sync close() |
| 15 PASS releaseLock() should not change the result of async close() |
| 16 PASS close() should set state to CLOSED even if writer has detached |
| 17 PASS the promise returned by async abort during close should resolve |
| 18 PASS promises must fulfill/reject in the expected order on closure |
| 19 FAIL promises must fulfill/reject in the expected order on aborted closure asser
t_array_equals: promises must fulfill/reject in the expected order property 1, e
xpected "closed" but got "abortPromise" |
| 20 FAIL promises must fulfill/reject in the expected order on aborted and errored c
losure assert_throws: writer.closed must reject with the error returned from the
sink's close method function "function () { throw e }" threw object "TypeError:
The stream is in the process of being aborted" ("TypeError") expected object "e
rror1: error1" ("error1") |
| 21 Harness: the test ran to completion. |
| 22 |
| OLD | NEW |