Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(761)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/streams/writable-streams/close.serviceworker.https-expected.txt

Issue 2823563002: Unified error handling for WritableStream (Closed)
Patch Set: remove local copy of piping/multiple-propagation test as it is fail Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 This is a testharness.js-based test.
2 PASS Service worker test setup
3 PASS fulfillment value of ws.close() call must be undefined even if the underlyi ng sink returns a non-undefined value
4 FAIL when sink calls error asynchronously while sink close is in-flight, the str eam should not become errored promise_test: Unhandled rejection with value: obje ct "error1: error1"
5 FAIL when sink calls error synchronously while closing, the stream should not be come errored promise_test: Unhandled rejection with value: object "Error: error me"
6 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
7 PASS releaseLock on a stream with a pending write in which the stream has been e rrored
8 PASS releaseLock on a stream with a pending close in which controller.error() wa s called
9 PASS when close is called on a WritableStream in writable state, ready should re turn a fulfilled promise
10 PASS when close is called on a WritableStream in waiting state, ready promise sh ould be fulfilled
11 PASS when close is called on a WritableStream in waiting state, ready should be fulfilled immediately even if close takes a long time
12 PASS returning a thenable from close() should work
13 PASS releaseLock() should not change the result of sync close()
14 PASS releaseLock() should not change the result of async close()
15 PASS close() should set state to CLOSED even if writer has detached
16 PASS the promise returned by async abort during close should resolve
17 PASS promises must fulfill/reject in the expected order on closure
18 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 "abortPromise" but got "closed"
19 FAIL promises must fulfill/reject in the expected order on aborted and errored c losure assert_throws: writer.closed must reject with a TypeError indicating the stream was aborted function "function () { throw e }" threw object "error1: erro r1" ("error1") expected object "TypeError" ("TypeError")
20 FAIL close() should not reject until no sink methods are in flight assert_false: expected false got true
21 Harness: the test ran to completion.
22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698