servo/tests/wpt/web-platform-tests/streams
2018-04-23 23:10:53 -04:00
..
piping Update web-platform-tests to revision 83b0a62af874eaf20e9d97d2fb9e15e91f3d109f 2018-03-09 21:45:04 -05:00
readable-byte-streams Update web-platform-tests to revision 3a8328470d53c4501e31cec2775c4d33821c2275 2018-03-20 22:48:56 -04:00
readable-streams Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee 2018-04-23 23:10:53 -04:00
resources Update web-platform-tests to revision 44702f2bc8ea98bc32b5b244f2fe63c6ce66d49d 2017-11-15 12:47:30 -05:00
transform-streams Update web-platform-tests to revision 83b0a62af874eaf20e9d97d2fb9e15e91f3d109f 2018-03-09 21:45:04 -05:00
writable-streams Update web-platform-tests to revision e87f38097902e16348d4e17f4fe3bc2d0112bff1 2018-03-17 23:34:27 -04:00
byte-length-queuing-strategy.dedicatedworker.html Update web-platform-tests and CSS tests. 2017-02-06 22:38:29 +01:00
byte-length-queuing-strategy.html Update web-platform-tests and CSS tests. 2017-02-06 22:38:29 +01:00
byte-length-queuing-strategy.js Update web-platform-tests to revision 8a2ceb5f18911302b7a5c1cd2791f4ab50ad4326 2017-10-12 12:36:21 -04:00
byte-length-queuing-strategy.serviceworker.https.html Update web-platform-tests and CSS tests. 2017-02-06 22:38:29 +01:00
byte-length-queuing-strategy.sharedworker.html Update web-platform-tests and CSS tests. 2017-02-06 22:38:29 +01:00
count-queuing-strategy.dedicatedworker.html Update web-platform-tests and CSS tests. 2017-02-06 22:38:29 +01:00
count-queuing-strategy.html Update web-platform-tests and CSS tests. 2017-02-06 22:38:29 +01:00
count-queuing-strategy.js Update web-platform-tests to revision 8a2ceb5f18911302b7a5c1cd2791f4ab50ad4326 2017-10-12 12:36:21 -04:00
count-queuing-strategy.serviceworker.https.html Update web-platform-tests and CSS tests. 2017-02-06 22:38:29 +01:00
count-queuing-strategy.sharedworker.html Update web-platform-tests and CSS tests. 2017-02-06 22:38:29 +01:00
generate-test-wrappers.js Update web-platform-tests to revision 8a2ceb5f18911302b7a5c1cd2791f4ab50ad4326 2017-10-12 12:36:21 -04:00
OWNERS Update web-platform-tests and CSS tests. 2017-02-06 22:38:29 +01:00
README.md Update web-platform-tests and CSS tests. 2017-02-06 22:38:29 +01:00

Streams Tests

The work on the streams tests is closely tracked by the specification authors, who maintain a reference implementation intended to match the spec line-by-line while passing all of these tests. See the whatwg/streams repository for details. Some tests may be in that repository while the spec sections they test are still undergoing heavy churn.

Generating wrapper files

Because the streams feature is supposed to work in all global contexts, each test is written as a .js file, and then four .html files are generated around it. So for example, for count-queueing-strategy.js, we have the wrapper files:

  • count-queueing-strategy.https.html
  • count-queueing-strategy.dedicatedworker.html
  • count-queueing-strategy-sharedworker.html
  • count-queueing-strategy-serviceworker.html

These are generated automatically by the Node.js script in generate-test-wrappers.js. See it for details, and please remember to use it whenever adding new tests.