diff options
Diffstat (limited to 'tests/wpt/meta/streams')
16 files changed, 344 insertions, 86 deletions
diff --git a/tests/wpt/meta/streams/readable-streams/bad-strategies.any.js.ini b/tests/wpt/meta/streams/readable-streams/bad-strategies.any.js.ini new file mode 100644 index 00000000000..cc833170f61 --- /dev/null +++ b/tests/wpt/meta/streams/readable-streams/bad-strategies.any.js.ini @@ -0,0 +1,9 @@ +[bad-strategies.any.sharedworker.html] + expected: ERROR + +[bad-strategies.any.worker.html] + +[bad-strategies.any.html] + +[bad-strategies.any.serviceworker.html] + expected: ERROR diff --git a/tests/wpt/meta/streams/readable-streams/bad-underlying-sources.any.js.ini b/tests/wpt/meta/streams/readable-streams/bad-underlying-sources.any.js.ini new file mode 100644 index 00000000000..4522623853c --- /dev/null +++ b/tests/wpt/meta/streams/readable-streams/bad-underlying-sources.any.js.ini @@ -0,0 +1,9 @@ +[bad-underlying-sources.any.html] + +[bad-underlying-sources.any.sharedworker.html] + expected: ERROR + +[bad-underlying-sources.any.serviceworker.html] + expected: ERROR + +[bad-underlying-sources.any.worker.html] diff --git a/tests/wpt/meta/streams/readable-streams/cancel.any.js.ini b/tests/wpt/meta/streams/readable-streams/cancel.any.js.ini new file mode 100644 index 00000000000..3e9cc9b2a05 --- /dev/null +++ b/tests/wpt/meta/streams/readable-streams/cancel.any.js.ini @@ -0,0 +1,9 @@ +[cancel.any.serviceworker.html] + expected: ERROR + +[cancel.any.html] + +[cancel.any.worker.html] + +[cancel.any.sharedworker.html] + expected: ERROR diff --git a/tests/wpt/meta/streams/readable-streams/constructor.any.js.ini b/tests/wpt/meta/streams/readable-streams/constructor.any.js.ini new file mode 100644 index 00000000000..d20001a4d9b --- /dev/null +++ b/tests/wpt/meta/streams/readable-streams/constructor.any.js.ini @@ -0,0 +1,9 @@ +[constructor.any.sharedworker.html] + expected: ERROR + +[constructor.any.serviceworker.html] + expected: ERROR + +[constructor.any.worker.html] + +[constructor.any.html] diff --git a/tests/wpt/meta/streams/readable-streams/count-queuing-strategy-integration.any.js.ini b/tests/wpt/meta/streams/readable-streams/count-queuing-strategy-integration.any.js.ini new file mode 100644 index 00000000000..ac8e23aef12 --- /dev/null +++ b/tests/wpt/meta/streams/readable-streams/count-queuing-strategy-integration.any.js.ini @@ -0,0 +1,9 @@ +[count-queuing-strategy-integration.any.serviceworker.html] + expected: ERROR + +[count-queuing-strategy-integration.any.sharedworker.html] + expected: ERROR + +[count-queuing-strategy-integration.any.worker.html] + +[count-queuing-strategy-integration.any.html] diff --git a/tests/wpt/meta/streams/readable-streams/default-reader.any.js.ini b/tests/wpt/meta/streams/readable-streams/default-reader.any.js.ini index 6b1c172201b..7d9f1aa80a3 100644 --- a/tests/wpt/meta/streams/readable-streams/default-reader.any.js.ini +++ b/tests/wpt/meta/streams/readable-streams/default-reader.any.js.ini @@ -20,9 +20,6 @@ [Constructing a ReadableStreamDefaultReader directly should fail if the stream is already locked (via direct construction)] expected: FAIL - [getReader() should call ToString() on mode] - expected: FAIL - [Second reader can read chunks after first reader was released with pending read requests] expected: FAIL @@ -55,8 +52,5 @@ [Constructing a ReadableStreamDefaultReader directly should fail if the stream is already locked (via direct construction)] expected: FAIL - [getReader() should call ToString() on mode] - expected: FAIL - [Second reader can read chunks after first reader was released with pending read requests] expected: FAIL diff --git a/tests/wpt/meta/streams/readable-streams/floating-point-total-queue-size.any.js.ini b/tests/wpt/meta/streams/readable-streams/floating-point-total-queue-size.any.js.ini new file mode 100644 index 00000000000..8c0ea27f0ec --- /dev/null +++ b/tests/wpt/meta/streams/readable-streams/floating-point-total-queue-size.any.js.ini @@ -0,0 +1,9 @@ +[floating-point-total-queue-size.any.html] + +[floating-point-total-queue-size.any.serviceworker.html] + expected: ERROR + +[floating-point-total-queue-size.any.worker.html] + +[floating-point-total-queue-size.any.sharedworker.html] + expected: ERROR diff --git a/tests/wpt/meta/streams/readable-streams/from.any.js.ini b/tests/wpt/meta/streams/readable-streams/from.any.js.ini new file mode 100644 index 00000000000..dc92c5af9ce --- /dev/null +++ b/tests/wpt/meta/streams/readable-streams/from.any.js.ini @@ -0,0 +1,170 @@ +[from.any.html] + [ReadableStream.from accepts an array of values] + expected: FAIL + + [ReadableStream.from accepts an array of promises] + expected: FAIL + + [ReadableStream.from accepts an array iterator] + expected: FAIL + + [ReadableStream.from accepts a string] + expected: FAIL + + [ReadableStream.from accepts a Set] + expected: FAIL + + [ReadableStream.from accepts a Set iterator] + expected: FAIL + + [ReadableStream.from accepts a sync generator] + expected: FAIL + + [ReadableStream.from accepts an async generator] + expected: FAIL + + [ReadableStream.from accepts a sync iterable of values] + expected: FAIL + + [ReadableStream.from accepts a sync iterable of promises] + expected: FAIL + + [ReadableStream.from accepts an async iterable] + expected: FAIL + + [ReadableStream.from accepts a ReadableStream] + expected: FAIL + + [ReadableStream.from accepts a ReadableStream async iterator] + expected: FAIL + + [ReadableStream.from re-throws errors from calling the @@iterator method] + expected: FAIL + + [ReadableStream.from re-throws errors from calling the @@asyncIterator method] + expected: FAIL + + [ReadableStream.from ignores @@iterator if @@asyncIterator exists] + expected: FAIL + + [ReadableStream.from accepts an empty iterable] + expected: FAIL + + [ReadableStream.from: stream errors when next() rejects] + expected: FAIL + + [ReadableStream.from: stream stalls when next() never settles] + expected: FAIL + + [ReadableStream.from: calls next() after first read()] + expected: FAIL + + [ReadableStream.from: cancelling the returned stream calls and awaits return()] + expected: FAIL + + [ReadableStream.from: return() is not called when iterator completes normally] + expected: FAIL + + [ReadableStream.from: cancel() rejects when return() fulfills with a non-object] + expected: FAIL + + [ReadableStream.from: reader.read() inside next()] + expected: FAIL + + [ReadableStream.from: reader.cancel() inside next()] + expected: FAIL + + [ReadableStream.from: reader.cancel() inside return()] + expected: FAIL + + [ReadableStream.from(array), push() to array while reading] + expected: FAIL + + +[from.any.serviceworker.html] + expected: ERROR + +[from.any.sharedworker.html] + expected: ERROR + +[from.any.worker.html] + [ReadableStream.from accepts an array of values] + expected: FAIL + + [ReadableStream.from accepts an array of promises] + expected: FAIL + + [ReadableStream.from accepts an array iterator] + expected: FAIL + + [ReadableStream.from accepts a string] + expected: FAIL + + [ReadableStream.from accepts a Set] + expected: FAIL + + [ReadableStream.from accepts a Set iterator] + expected: FAIL + + [ReadableStream.from accepts a sync generator] + expected: FAIL + + [ReadableStream.from accepts an async generator] + expected: FAIL + + [ReadableStream.from accepts a sync iterable of values] + expected: FAIL + + [ReadableStream.from accepts a sync iterable of promises] + expected: FAIL + + [ReadableStream.from accepts an async iterable] + expected: FAIL + + [ReadableStream.from accepts a ReadableStream] + expected: FAIL + + [ReadableStream.from accepts a ReadableStream async iterator] + expected: FAIL + + [ReadableStream.from re-throws errors from calling the @@iterator method] + expected: FAIL + + [ReadableStream.from re-throws errors from calling the @@asyncIterator method] + expected: FAIL + + [ReadableStream.from ignores @@iterator if @@asyncIterator exists] + expected: FAIL + + [ReadableStream.from accepts an empty iterable] + expected: FAIL + + [ReadableStream.from: stream errors when next() rejects] + expected: FAIL + + [ReadableStream.from: stream stalls when next() never settles] + expected: FAIL + + [ReadableStream.from: calls next() after first read()] + expected: FAIL + + [ReadableStream.from: cancelling the returned stream calls and awaits return()] + expected: FAIL + + [ReadableStream.from: return() is not called when iterator completes normally] + expected: FAIL + + [ReadableStream.from: cancel() rejects when return() fulfills with a non-object] + expected: FAIL + + [ReadableStream.from: reader.read() inside next()] + expected: FAIL + + [ReadableStream.from: reader.cancel() inside next()] + expected: FAIL + + [ReadableStream.from: reader.cancel() inside return()] + expected: FAIL + + [ReadableStream.from(array), push() to array while reading] + expected: FAIL diff --git a/tests/wpt/meta/streams/readable-streams/garbage-collection.any.js.ini b/tests/wpt/meta/streams/readable-streams/garbage-collection.any.js.ini new file mode 100644 index 00000000000..0c16120d4d8 --- /dev/null +++ b/tests/wpt/meta/streams/readable-streams/garbage-collection.any.js.ini @@ -0,0 +1,9 @@ +[garbage-collection.any.sharedworker.html] + expected: ERROR + +[garbage-collection.any.worker.html] + +[garbage-collection.any.html] + +[garbage-collection.any.serviceworker.html] + expected: ERROR diff --git a/tests/wpt/meta/streams/readable-streams/general.any.js.ini b/tests/wpt/meta/streams/readable-streams/general.any.js.ini index d43aaa2bfc2..8c9554a029a 100644 --- a/tests/wpt/meta/streams/readable-streams/general.any.js.ini +++ b/tests/wpt/meta/streams/readable-streams/general.any.js.ini @@ -5,9 +5,6 @@ expected: ERROR [general.any.html] - [default ReadableStream getReader() should only accept mode:undefined] - expected: FAIL - [ReadableStream can't be constructed with an invalid type] expected: FAIL @@ -16,12 +13,8 @@ [general.any.worker.html] - [default ReadableStream getReader() should only accept mode:undefined] - expected: FAIL - [ReadableStream can't be constructed with an invalid type] expected: FAIL [ReadableStream: if pull rejects, it should error the stream] expected: FAIL - diff --git a/tests/wpt/meta/streams/readable-streams/owning-type-message-port.any.js.ini b/tests/wpt/meta/streams/readable-streams/owning-type-message-port.any.js.ini new file mode 100644 index 00000000000..7c3ac36c84e --- /dev/null +++ b/tests/wpt/meta/streams/readable-streams/owning-type-message-port.any.js.ini @@ -0,0 +1,20 @@ +[owning-type-message-port.any.sharedworker.html] + expected: ERROR + +[owning-type-message-port.any.serviceworker.html] + expected: ERROR + +[owning-type-message-port.any.worker.html] + [Transferred MessageChannel works as expected] + expected: FAIL + + [Second branch of owning ReadableStream tee should end up into errors with transfer only values] + expected: FAIL + + +[owning-type-message-port.any.html] + [Transferred MessageChannel works as expected] + expected: FAIL + + [Second branch of owning ReadableStream tee should end up into errors with transfer only values] + expected: FAIL diff --git a/tests/wpt/meta/streams/readable-streams/owning-type-video-frame.any.js.ini b/tests/wpt/meta/streams/readable-streams/owning-type-video-frame.any.js.ini new file mode 100644 index 00000000000..98f8aaa8c37 --- /dev/null +++ b/tests/wpt/meta/streams/readable-streams/owning-type-video-frame.any.js.ini @@ -0,0 +1,39 @@ +[owning-type-video-frame.any.html] + [ReadableStream of type owning should close serialized chunks] + expected: FAIL + + [ReadableStream of type owning should transfer JS chunks with transferred values] + expected: FAIL + + [ReadableStream of type owning should error when trying to enqueue not serializable values] + expected: FAIL + + [ReadableStream of type owning should clone serializable objects when teeing] + expected: FAIL + + [ReadableStream of type owning should clone JS Objects with serializables when teeing] + expected: FAIL + + +[owning-type-video-frame.any.serviceworker.html] + expected: ERROR + +[owning-type-video-frame.any.worker.html] + [ReadableStream of type owning should close serialized chunks] + expected: FAIL + + [ReadableStream of type owning should transfer JS chunks with transferred values] + expected: FAIL + + [ReadableStream of type owning should error when trying to enqueue not serializable values] + expected: FAIL + + [ReadableStream of type owning should clone serializable objects when teeing] + expected: FAIL + + [ReadableStream of type owning should clone JS Objects with serializables when teeing] + expected: FAIL + + +[owning-type-video-frame.any.sharedworker.html] + expected: ERROR diff --git a/tests/wpt/meta/streams/readable-streams/owning-type.any.js.ini b/tests/wpt/meta/streams/readable-streams/owning-type.any.js.ini new file mode 100644 index 00000000000..b770693da1b --- /dev/null +++ b/tests/wpt/meta/streams/readable-streams/owning-type.any.js.ini @@ -0,0 +1,38 @@ +[owning-type.any.sharedworker.html] + expected: ERROR + +[owning-type.any.html] + [ReadableStream can be constructed with owning type] + expected: FAIL + + [ReadableStream of type owning should call start with a ReadableStreamDefaultController] + expected: FAIL + + [ReadableStream should be able to call enqueue with an empty transfer list] + expected: FAIL + + [ReadableStream should check transfer parameter] + expected: FAIL + + [ReadableStream of type owning should transfer enqueued chunks] + expected: FAIL + + +[owning-type.any.serviceworker.html] + expected: ERROR + +[owning-type.any.worker.html] + [ReadableStream can be constructed with owning type] + expected: FAIL + + [ReadableStream of type owning should call start with a ReadableStreamDefaultController] + expected: FAIL + + [ReadableStream should be able to call enqueue with an empty transfer list] + expected: FAIL + + [ReadableStream should check transfer parameter] + expected: FAIL + + [ReadableStream of type owning should transfer enqueued chunks] + expected: FAIL diff --git a/tests/wpt/meta/streams/readable-streams/reentrant-strategies.any.js.ini b/tests/wpt/meta/streams/readable-streams/reentrant-strategies.any.js.ini new file mode 100644 index 00000000000..9a611082494 --- /dev/null +++ b/tests/wpt/meta/streams/readable-streams/reentrant-strategies.any.js.ini @@ -0,0 +1,14 @@ +[reentrant-strategies.any.sharedworker.html] + expected: ERROR + +[reentrant-strategies.any.serviceworker.html] + expected: ERROR + +[reentrant-strategies.any.html] + [pipeTo() inside size() should behave as expected] + expected: FAIL + + +[reentrant-strategies.any.worker.html] + [pipeTo() inside size() should behave as expected] + expected: FAIL diff --git a/tests/wpt/meta/streams/readable-streams/tee.any.js.ini b/tests/wpt/meta/streams/readable-streams/tee.any.js.ini index f7fd044f4cf..d77e48af60a 100644 --- a/tests/wpt/meta/streams/readable-streams/tee.any.js.ini +++ b/tests/wpt/meta/streams/readable-streams/tee.any.js.ini @@ -2,75 +2,8 @@ expected: ERROR [tee.any.worker.html] - expected: TIMEOUT - [ReadableStreamTee should not pull more chunks than can fit in the branch queue] - expected: NOTRUN - - [ReadableStream teeing: canceling branch1 should finish when branch2 reads until end of stream] - expected: TIMEOUT - - [ReadableStream teeing: canceling branch1 should finish when original stream errors] - expected: NOTRUN - - [ReadableStreamTee should only pull enough to fill the emptiest queue] - expected: NOTRUN - - [ReadableStreamTee stops pulling when original stream errors while both branches are reading] - expected: NOTRUN - - [ReadableStreamTee stops pulling when original stream errors while branch 1 is reading] - expected: NOTRUN - - [ReadableStreamTee stops pulling when original stream errors while branch 2 is reading] - expected: NOTRUN - - [ReadableStreamTee should not pull when original is already errored] - expected: NOTRUN - - [ReadableStream teeing: canceling both branches in sequence with delay] - expected: NOTRUN - - [ReadableStream teeing: failing to cancel when canceling both branches in sequence with delay] - expected: NOTRUN - - [ReadableStream teeing: enqueue() and close() while both branches are pulling] - expected: NOTRUN - [tee.any.serviceworker.html] expected: ERROR [tee.any.html] - expected: TIMEOUT - [ReadableStreamTee should not pull more chunks than can fit in the branch queue] - expected: NOTRUN - - [ReadableStream teeing: canceling branch1 should finish when branch2 reads until end of stream] - expected: TIMEOUT - - [ReadableStream teeing: canceling branch1 should finish when original stream errors] - expected: NOTRUN - - [ReadableStreamTee should only pull enough to fill the emptiest queue] - expected: NOTRUN - - [ReadableStreamTee stops pulling when original stream errors while both branches are reading] - expected: NOTRUN - - [ReadableStreamTee stops pulling when original stream errors while branch 1 is reading] - expected: NOTRUN - - [ReadableStreamTee stops pulling when original stream errors while branch 2 is reading] - expected: NOTRUN - - [ReadableStreamTee should not pull when original is already errored] - expected: NOTRUN - - [ReadableStream teeing: canceling both branches in sequence with delay] - expected: NOTRUN - - [ReadableStream teeing: failing to cancel when canceling both branches in sequence with delay] - expected: NOTRUN - - [ReadableStream teeing: enqueue() and close() while both branches are pulling] - expected: NOTRUN diff --git a/tests/wpt/meta/streams/readable-streams/templated.any.js.ini b/tests/wpt/meta/streams/readable-streams/templated.any.js.ini index 68a5610e852..3f473b5009e 100644 --- a/tests/wpt/meta/streams/readable-streams/templated.any.js.ini +++ b/tests/wpt/meta/streams/readable-streams/templated.any.js.ini @@ -5,9 +5,6 @@ expected: ERROR [templated.any.html] - [ReadableStream (empty): calling getReader with invalid arguments should throw appropriate errors] - expected: FAIL - [ReadableStream (empty): instances have the correct methods and properties] expected: FAIL @@ -16,9 +13,6 @@ [templated.any.worker.html] - [ReadableStream (empty): calling getReader with invalid arguments should throw appropriate errors] - expected: FAIL - [ReadableStream (empty): instances have the correct methods and properties] expected: FAIL |