[streams] Clean up more web platform tests (#408)

Use promise_test instead of async_test; lint them; use ES2015 features

I don't expect anyone to review this as it's largely mechanical changes but I'll leave it up for a couple days just in case.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Clean up more web platform tests

-- File Changes --

    M reference-implementation/package.json (4)
    A reference-implementation/web-platform-tests/.eslintrc (292)
    M reference-implementation/web-platform-tests/byte-length-queuing-strategy.js (22)
    M reference-implementation/web-platform-tests/count-queuing-strategy.js (18)
    M reference-implementation/web-platform-tests/readable-streams/bad-strategies.js (205)
    M reference-implementation/web-platform-tests/readable-streams/bad-underlying-sources.js (29)
    M reference-implementation/web-platform-tests/readable-streams/brand-checks.js (179)
    M reference-implementation/web-platform-tests/readable-streams/cancel.html (1)
    M reference-implementation/web-platform-tests/readable-streams/cancel.js (395)
    M reference-implementation/web-platform-tests/readable-streams/count-queuing-strategy-integration.js (356)
    M reference-implementation/web-platform-tests/readable-streams/general.html (1)
    M reference-implementation/web-platform-tests/readable-streams/general.js (1337)
    M reference-implementation/web-platform-tests/readable-streams/pipe-through.js (34)
    M reference-implementation/web-platform-tests/readable-streams/readable-stream-reader.js (942)
    M reference-implementation/web-platform-tests/readable-streams/tee.js (535)
    M reference-implementation/web-platform-tests/readable-streams/templated.html (1)
    M reference-implementation/web-platform-tests/readable-streams/templated.js (236)
    M reference-implementation/web-platform-tests/resources/rs-test-templates.js (1097)
    M reference-implementation/web-platform-tests/resources/rs-utils.js (302)
    M reference-implementation/web-platform-tests/resources/test-utils.js (67)

-- Patch Links --

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

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

Received on Tuesday, 24 November 2015 22:00:39 UTC