[streams] Use promise_test in web-platform-tests. (#400)

Use promise_test in cancel.js and general.js.
As promise_tests are executed sequentially, this change shortens the timeouts
in tests.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Use promise_test in web-platform-tests.

-- File Changes --

    M reference-implementation/web-platform-tests/readable-streams/cancel.js (224)
    M reference-implementation/web-platform-tests/readable-streams/general.js (529)
    M reference-implementation/web-platform-tests/resources/rs-utils.js (4)

-- Patch Links --

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

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/400

Received on Wednesday, 21 October 2015 03:27:18 UTC