Switch branches/tags
merge_pr_12064 merge_pr_12062 merge_pr_12061 merge_pr_12060 merge_pr_12058 merge_pr_12054 merge_pr_12053 merge_pr_12051 merge_pr_12050 merge_pr_12048 merge_pr_12045 merge_pr_12043 merge_pr_12042 merge_pr_12039 merge_pr_12038 merge_pr_12037 merge_pr_12033 merge_pr_12032 merge_pr_12030 merge_pr_12029 merge_pr_12024 merge_pr_12023 merge_pr_12022 merge_pr_12021 merge_pr_12020 merge_pr_12018 merge_pr_12015 merge_pr_12014 merge_pr_12012 merge_pr_12011 merge_pr_12010 merge_pr_12006 merge_pr_12004 merge_pr_12003 merge_pr_12002 merge_pr_12001 merge_pr_12000 merge_pr_11999 merge_pr_11997 merge_pr_11995 merge_pr_11994 merge_pr_11993 merge_pr_11992 merge_pr_11991 merge_pr_11990 merge_pr_11989 merge_pr_11988 merge_pr_11987 merge_pr_11986 merge_pr_11984 merge_pr_11983 merge_pr_11982 merge_pr_11977 merge_pr_11975 merge_pr_11972 merge_pr_11971 merge_pr_11970 merge_pr_11969 merge_pr_11968 merge_pr_11967 merge_pr_11966 merge_pr_11965 merge_pr_11964 merge_pr_11961 merge_pr_11959 merge_pr_11958 merge_pr_11957 merge_pr_11956 merge_pr_11955 merge_pr_11954 merge_pr_11953 merge_pr_11952 merge_pr_11951 merge_pr_11949 merge_pr_11948 merge_pr_11946 merge_pr_11944 merge_pr_11943 merge_pr_11942 merge_pr_11940 merge_pr_11939 merge_pr_11938 merge_pr_11936 merge_pr_11933 merge_pr_11930 merge_pr_11929 merge_pr_11927 merge_pr_11926 merge_pr_11923 merge_pr_11921 merge_pr_11920 merge_pr_11919 merge_pr_11918 merge_pr_11917 merge_pr_11916 merge_pr_11914 merge_pr_11913 merge_pr_11912 merge_pr_11911 merge_pr_11907
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
piping
readable-byte-streams
readable-streams
resources
transform-streams
writable-streams
META.yml
README.md
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

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.