[whatwg/streams] port piping tests to WPT (#603)

This includes the last user of several helper functions
which had already been ported over to WPT in
commit fd44398d410beb6879fb27290e690603bed04c4d.

Although, not sure what to do with that last piping test that was disabled in
commit 032c4a8ef065a8353ed5987ed2554f3cec63566d in 2014. It couldn't work
as-is, as despite several updates to it to track API changes it actually
still relies on `controller.enqueue()` returning a boolean.

Rewrite or delete entirely and write different backpressure tests?
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * port two piping tests to WPT

-- File Changes --

    M reference-implementation/test/pipe-through.js (41)
    D reference-implementation/test/utils/duck-typed-pass-through-transform.js (25)
    D reference-implementation/test/utils/readable-stream-to-array.js (18)
    D reference-implementation/test/utils/sequential-pull-source.js (39)
    D reference-implementation/test/utils/sequential-rs.js (44)
    M reference-implementation/to-upstream-wpts/.eslintrc.json (3)
    M reference-implementation/to-upstream-wpts/piping/general.https.html (1)
    M reference-implementation/to-upstream-wpts/piping/general.js (52)

-- Patch Links --

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

Received on Saturday, 5 November 2016 04:48:56 UTC