| OLD | NEW |
| (Empty) | |
| 1 # Streams Tests |
| 2 |
| 3 The work on the streams tests is closely tracked by the specification authors, w
ho maintain a reference implementation intended to match the spec line-by-line w
hile passing all of these tests. See [the whatwg/streams repository for details]
(https://github.com/whatwg/streams/tree/master/reference-implementation). Some t
ests may be in that repository while the spec sections they test are still under
going heavy churn. |
| 4 |
| 5 ## Generating wrapper files |
| 6 |
| 7 Because the streams feature is supposed to work in all global contexts, each tes
t is written as a `.js` file, and then four `.html` files are generated around i
t. So for example, for `count-queueing-strategy.js`, we have the wrapper files: |
| 8 |
| 9 - `count-queueing-strategy.https.html` |
| 10 - `count-queueing-strategy.dedicatedworker.html` |
| 11 - `count-queueing-strategy-sharedworker.html` |
| 12 - `count-queueing-strategy-serviceworker.html` |
| 13 |
| 14 These are generated automatically by the Node.js script in `generate-test-wrappe
rs.js`. See it for details, and please remember to use it whenever adding new te
sts. |
| OLD | NEW |