Re: [whatwg/streams] WritableStream abort logic clean up (#655)

ricea commented on this pull request.



> +
+    abortPromise = writer.abort(error1);
+    abortPromise.catch(() => {
+      abortPromiseRejected = true;
+    });
+
+    const writePromise2 = writer.write('a');
+
+    writer.closed.catch(() => {
+      closedRejected = true;
+    });
+
+    return Promise.all([
+      promise_rejects(t, new TypeError(), writePromise2, 'writePromise2 must be rejected'),
+      promise_rejects(t, new TypeError(), writer.ready, 'writer.ready must be rejected after abort()'),
+      flushAsyncEvents()

Sorry, I misread it. Never mind.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/655

Received on Tuesday, 17 January 2017 03:48:43 UTC