[whatwg/streams] Port constructor tests to web-platform-tests (#524)

Move tests relating to the WritableStream constructor and
newly-constructed objects to the testharness.js framework.

Only syntactic and style changes have been made in this CL. There are no
semantic changes, except that some property existence checks have been
changed to use assert_idl_attribute(), which is stricter. Also where the
original test verified that a promise resolved, the ported version just
returns the promise and lets the test harness check it.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Port constructor tests to web-platform-tests

-- File Changes --

    M reference-implementation/test/writable-stream.js (76)
    A reference-implementation/to-upstream-wpts/writable-streams/constructor.https.html (12)
    A reference-implementation/to-upstream-wpts/writable-streams/constructor.js (73)

-- Patch Links --

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

Received on Wednesday, 5 October 2016 07:47:05 UTC