Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/streams/README.md

Issue 2642393002: Import wpt@40665266227e475bc4a56884247d8c09d78dfb6a (Closed)
Patch Set: rebaseline-cl Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/wpt/streams/README.md
diff --git a/third_party/WebKit/LayoutTests/external/wpt/streams/README.md b/third_party/WebKit/LayoutTests/external/wpt/streams/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..8868a858e5f49ae457c7d1de078a1f697cc67626
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/streams/README.md
@@ -0,0 +1,14 @@
+# 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](https://github.com/whatwg/streams/tree/master/reference-implementation). 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.

Powered by Google App Engine
This is Rietveld 408576698