Skip to content

Commit

Permalink
Bug 1756188 - Fix JS streams WPT failures. r=mgaudet
Browse files Browse the repository at this point in the history
  • Loading branch information
evilpie committed Feb 18, 2022
1 parent fe9ff9b commit 8d966fc
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 0 deletions.
48 changes: 48 additions & 0 deletions testing/web-platform/meta/streams/idlharness.any.js.ini
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@
expected:
if not domstreams: FAIL
[ReadableStream interface: operation pipeTo(WritableStream, optional StreamPipeOptions)]
expected:
if not domstreams: FAIL
[WritableStreamDefaultWriter interface object length]
expected:
if not domstreams: FAIL
Expand Down Expand Up @@ -405,6 +409,10 @@
expected:
if not domstreams: FAIL

[ReadableStream interface: calling pipeTo(WritableStream, optional StreamPipeOptions) on new ReadableStream() with too few arguments must throw TypeError]
expected:
if not domstreams: FAIL

[ReadableStreamBYOBReader interface: operation releaseLock()]
expected:
if not domstreams: FAIL
Expand All @@ -417,6 +425,10 @@
expected:
if not domstreams: FAIL

[ReadableStream interface: new ReadableStream() must inherit property "pipeTo(WritableStream, optional StreamPipeOptions)" with the proper type]
expected:
if not domstreams: FAIL

[ReadableByteStreamController interface: operation close()]
expected:
if not domstreams: FAIL
Expand Down Expand Up @@ -813,6 +825,10 @@
expected:
if not domstreams: FAIL
[ReadableStream interface: operation pipeTo(WritableStream, optional StreamPipeOptions)]
expected:
if not domstreams: FAIL
[WritableStreamDefaultWriter interface object length]
expected:
if not domstreams: FAIL
Expand Down Expand Up @@ -1067,6 +1083,10 @@
expected:
if not domstreams: FAIL

[ReadableStream interface: calling pipeTo(WritableStream, optional StreamPipeOptions) on new ReadableStream() with too few arguments must throw TypeError]
expected:
if not domstreams: FAIL

[ReadableStreamBYOBReader interface: operation releaseLock()]
expected:
if not domstreams: FAIL
Expand All @@ -1079,6 +1099,10 @@
expected:
if not domstreams: FAIL

[ReadableStream interface: new ReadableStream() must inherit property "pipeTo(WritableStream, optional StreamPipeOptions)" with the proper type]
expected:
if not domstreams: FAIL

[ReadableByteStreamController interface: operation close()]
expected:
if not domstreams: FAIL
Expand Down Expand Up @@ -1475,6 +1499,10 @@
expected:
if not domstreams: FAIL
[ReadableStream interface: operation pipeTo(WritableStream, optional StreamPipeOptions)]
expected:
if not domstreams: FAIL
[WritableStreamDefaultWriter interface object length]
expected:
if not domstreams: FAIL
Expand Down Expand Up @@ -1729,6 +1757,10 @@
expected:
if not domstreams: FAIL

[ReadableStream interface: calling pipeTo(WritableStream, optional StreamPipeOptions) on new ReadableStream() with too few arguments must throw TypeError]
expected:
if not domstreams: FAIL

[ReadableStreamBYOBReader interface: operation releaseLock()]
expected:
if not domstreams: FAIL
Expand All @@ -1741,6 +1773,10 @@
expected:
if not domstreams: FAIL

[ReadableStream interface: new ReadableStream() must inherit property "pipeTo(WritableStream, optional StreamPipeOptions)" with the proper type]
expected:
if not domstreams: FAIL

[ReadableByteStreamController interface: operation close()]
expected:
if not domstreams: FAIL
Expand Down Expand Up @@ -2137,6 +2173,10 @@
expected:
if not domstreams: FAIL
[ReadableStream interface: operation pipeTo(WritableStream, optional StreamPipeOptions)]
expected:
if not domstreams: FAIL
[WritableStreamDefaultWriter interface object length]
expected:
if not domstreams: FAIL
Expand Down Expand Up @@ -2391,6 +2431,10 @@
expected:
if not domstreams: FAIL

[ReadableStream interface: calling pipeTo(WritableStream, optional StreamPipeOptions) on new ReadableStream() with too few arguments must throw TypeError]
expected:
if not domstreams: FAIL

[ReadableStreamBYOBReader interface: operation releaseLock()]
expected:
if not domstreams: FAIL
Expand All @@ -2403,6 +2447,10 @@
expected:
if not domstreams: FAIL

[ReadableStream interface: new ReadableStream() must inherit property "pipeTo(WritableStream, optional StreamPipeOptions)" with the proper type]
expected:
if not domstreams: FAIL

[ReadableByteStreamController interface: operation close()]
expected:
if not domstreams: FAIL
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,34 @@
[patched-global.any.serviceworker.html]
[pipeTo() should not call Promise.prototype.then()]
expected:
if not domstreams: FAIL

[ReadableStream async iterator should use the original values of getReader() and ReadableStreamDefaultReader methods]
expected: FAIL


[patched-global.any.sharedworker.html]
[pipeTo() should not call Promise.prototype.then()]
expected:
if not domstreams: FAIL

[ReadableStream async iterator should use the original values of getReader() and ReadableStreamDefaultReader methods]
expected: FAIL


[patched-global.any.worker.html]
[pipeTo() should not call Promise.prototype.then()]
expected:
if not domstreams: FAIL

[ReadableStream async iterator should use the original values of getReader() and ReadableStreamDefaultReader methods]
expected: FAIL


[patched-global.any.html]
[pipeTo() should not call Promise.prototype.then()]
expected:
if not domstreams: FAIL

[ReadableStream async iterator should use the original values of getReader() and ReadableStreamDefaultReader methods]
expected: FAIL
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[reentrant-strategies.any.worker.html]
[pipeTo() inside size() should behave as expected]
expected:
if not domstreams: FAIL


[reentrant-strategies.any.serviceworker.html]
[pipeTo() inside size() should behave as expected]
expected:
if not domstreams: FAIL


[reentrant-strategies.any.html]
[pipeTo() inside size() should behave as expected]
expected:
if not domstreams: FAIL


[reentrant-strategies.any.sharedworker.html]
[pipeTo() inside size() should behave as expected]
expected:
if not domstreams: FAIL

0 comments on commit 8d966fc

Please sign in to comment.