[whatwg/streams] Tests for Sink methods returning thenable (#570)

Sink methods that can return a Promise can also return an arbitrary
object that implements a then() method. The then() method should be
called as if it was a Promise object.

Add w-p-t tests to verify this behaviour.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/streams/pull/570

-- Commit Summary --

  * Tests for Sink methods returning thenable

-- File Changes --

    M reference-implementation/to-upstream-wpts/writable-streams/aborting.js (16)
    M reference-implementation/to-upstream-wpts/writable-streams/close.js (12)
    M reference-implementation/to-upstream-wpts/writable-streams/start.js (12)
    M reference-implementation/to-upstream-wpts/writable-streams/write.js (15)

-- Patch Links --

https://github.com/whatwg/streams/pull/570.patch
https://github.com/whatwg/streams/pull/570.diff

-- 
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/570

Received on Thursday, 27 October 2016 06:03:25 UTC