gecko-dev/testing/web-platform/tests/streams
Mark Banner c6885f5391 Bug 1488445 - Remove and replace obsolete ESLint rules. r=mossop
This removes a number of references to rules that are now deprecated or removed from ESLint.

- no-native-reassign is replaced with no-global-assign
- no-spaced-func is replaced with func-call-spacing (where enabled)

Depends on D4944

Differential Revision: https://phabricator.services.mozilla.com/D4946

--HG--
extra : moz-landing-system : lando
2018-09-04 18:08:43 +00:00
..
piping Bug 1480754 [wpt PR 12296] - [Streams] Add a test for piping to errored, a=testonly 2018-08-15 16:50:22 +00:00
readable-byte-streams Bug 1454007 [wpt PR 10461] - Streams: Constructors property lookup order, a=testonly 2018-04-30 14:36:17 +00:00
readable-streams Bug 1488445 - Remove and replace obsolete ESLint rules. r=mossop 2018-09-04 18:08:43 +00:00
resources Bug 1454007 [wpt PR 10461] - Streams: Constructors property lookup order, a=testonly 2018-04-30 14:36:17 +00:00
transform-streams Bug 1488445 - Remove and replace obsolete ESLint rules. r=mossop 2018-09-04 18:08:43 +00:00
writable-streams Bug 1463333 [wpt PR 6499] - Initial Merge of WritableStreams Tests w/Upstream W3C, a=testonly 2018-06-05 15:14:29 +01:00
byte-length-queuing-strategy.dedicatedworker.html
byte-length-queuing-strategy.html
byte-length-queuing-strategy.js
byte-length-queuing-strategy.serviceworker.https.html
byte-length-queuing-strategy.sharedworker.html
count-queuing-strategy.dedicatedworker.html
count-queuing-strategy.html
count-queuing-strategy.js
count-queuing-strategy.serviceworker.https.html
count-queuing-strategy.sharedworker.html
generate-test-wrappers.js Bug 1465405 [wpt PR 11180] - Update references to w3c/web-platform-tests, a=testonly 2018-06-10 09:28:23 +01:00
META.yml Bug 1476293 [wpt PR 12024] - Add spec links to META.yml, a=testonly 2018-07-29 18:49:42 +01:00
README.md

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.