Re: [whatwg/streams] Port test that sink methods are called as methods (#535)

tyoshino commented on this pull request.

lgtm

> @@ -99,3 +99,50 @@ promise_test(() => {
     }
   );
 }, 'closed and ready on a released writer');
+
+promise_test(t => {
+  let promises = {};
+  let resolvers = {};
+  ['start', 'write', 'close', 'abort'].forEach(methodName =>
+       promises[methodName] = new Promise(resolve => resolvers[methodName] = resolve));
+
+  class Sink {

write a comment that we ignore second and later calls.

-- 
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/535#pullrequestreview-4031912

Received on Thursday, 13 October 2016 09:17:17 UTC