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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/streams/writable-streams/bad-underlying-sinks.sharedworker-expected.txt

Issue 2831763003: Unified error handling for WritableStream (Closed)
Patch Set: 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 start: errors in start cause WritableStream constructor to throw
3 FAIL close: throwing method should cause writer close() and ready to reject asse rt_array_equals: close must always be called with the controller lengths differ, expected 1 got 0
4 FAIL close: returning a rejected promise should cause writer close() and ready t o reject assert_array_equals: close must always be called with the controller le ngths differ, expected 1 got 0
5 PASS close: throwing getter should cause writer close() to reject
6 PASS write: throwing getter should cause write() and closed to reject
7 PASS write: throwing method should cause write() and closed to reject
8 PASS write: returning a promise that becomes rejected after the writer write() s hould cause writer write() and ready to reject
9 PASS write: returning a rejected promise (second write) should cause writer writ e() and ready to reject
10 PASS abort: non-function abort method with .apply
11 PASS abort: throwing getter should cause abort() and closed to reject
12 PASS abort: throwing method should cause abort() and closed to reject
13 Harness: the test ran to completion.
14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698