[whatwg/streams] Add tests for WritableStreamDefaultWriter and Controller constructors (#544)

The WritableStreamDefaultWriter and WritableStreamDefaultController
constructors are not exported. However they can be accessed fron the
"constructor" property of the relevant objects.

The WritableStreamDefaultController constructor should always throw an
exception if used explicitly. Verify that it does.

WritableStreamDefaultWriter can be constructed with an unlocked stream
and should then work just like a writer returned from
getWriter(). Verify that it does.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add tests for WritableStreamDefaultWriter and Controller constructors

-- File Changes --

    M reference-implementation/to-upstream-wpts/writable-streams/constructor.js (46)
    M reference-implementation/to-upstream-wpts/writable-streams/write.js (12)

-- Patch Links --

https://github.com/whatwg/streams/pull/544.patch
https://github.com/whatwg/streams/pull/544.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/544

Received on Wednesday, 19 October 2016 06:07:10 UTC