[whatwg/streams] Properly coerce mode to a string in getReader() (#719)

Discovered in https://github.com/w3c/web-platform-tests/pull/5260.

@isonmad, please take a look!

The corresponding test PR Is @isonmad's https://github.com/w3c/web-platform-tests/pull/5260, which currently tests the opposite condition, but it is a spec bug.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Properly coerce mode to a string in getReader()

-- File Changes --

    M index.bs (3)
    M reference-implementation/lib/readable-stream.js (10)

-- Patch Links --

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

Received on Thursday, 30 March 2017 03:13:48 UTC