From acb8a0a33f33d9201709aae00def43c1a8b2e4b0 Mon Sep 17 00:00:00 2001 From: moz-wptsync-bot Date: Thu, 8 Oct 2020 12:18:48 +0000 Subject: [PATCH] Bug 1651860 [wpt PR 24546] - Update wpt metadata, a=testonly wpt-pr: 24546 wpt-type: metadata --- .../transferable/readable-stream.html.ini | 49 +++++++++++++ .../meta/streams/transferable/reason.html.ini | 73 +++++++++++++++++++ .../service-worker.https.html.ini | 7 ++ .../transferable/shared-worker.html.ini | 7 ++ .../transferable/transform-stream.html.ini | 16 ++++ .../meta/streams/transferable/window.html.ini | 20 +++++ .../meta/streams/transferable/worker.html.ini | 10 +++ .../transferable/writable-stream.html.ini | 25 +++++++ 8 files changed, 207 insertions(+) create mode 100644 testing/web-platform/meta/streams/transferable/readable-stream.html.ini create mode 100644 testing/web-platform/meta/streams/transferable/reason.html.ini create mode 100644 testing/web-platform/meta/streams/transferable/service-worker.https.html.ini create mode 100644 testing/web-platform/meta/streams/transferable/shared-worker.html.ini create mode 100644 testing/web-platform/meta/streams/transferable/transform-stream.html.ini create mode 100644 testing/web-platform/meta/streams/transferable/window.html.ini create mode 100644 testing/web-platform/meta/streams/transferable/worker.html.ini create mode 100644 testing/web-platform/meta/streams/transferable/writable-stream.html.ini diff --git a/testing/web-platform/meta/streams/transferable/readable-stream.html.ini b/testing/web-platform/meta/streams/transferable/readable-stream.html.ini new file mode 100644 index 000000000000..df477e0be71d --- /dev/null +++ b/testing/web-platform/meta/streams/transferable/readable-stream.html.ini @@ -0,0 +1,49 @@ +[readable-stream.html] + [sending ten chunks on demand should work] + expected: FAIL + + [race between cancel() and enqueue() should be benign] + expected: FAIL + + [transferring a non-serializable chunk should error both sides] + expected: FAIL + + [stream cancel should not wait for underlying source cancel] + expected: FAIL + + [cancel should abort a pending read()] + expected: FAIL + + [race between cancel() and error() should leave sides in different states] + expected: FAIL + + [cancel should be propagated to the original] + expected: FAIL + + [race between cancel() and close() should be benign] + expected: FAIL + + [errors should be passed through] + expected: FAIL + + [the extra queue from transferring is counted in chunks] + expected: FAIL + + [sending one chunk through a transferred stream should work] + expected: FAIL + + [transferring a stream should relieve backpressure] + expected: FAIL + + [sending ten chunks through a transferred stream should work] + expected: FAIL + + [serialization should not happen until the value is read] + expected: FAIL + + [sending ten chunks one at a time should work] + expected: FAIL + + [transferring a stream should add one chunk to the queue size] + expected: FAIL + diff --git a/testing/web-platform/meta/streams/transferable/reason.html.ini b/testing/web-platform/meta/streams/transferable/reason.html.ini new file mode 100644 index 000000000000..98e6d8b1cd8d --- /dev/null +++ b/testing/web-platform/meta/streams/transferable/reason.html.ini @@ -0,0 +1,73 @@ +[reason.html] + [a TypeError message should not be preserved if it is inherited] + expected: FAIL + + [DOMException errors should be preserved] + expected: FAIL + + [reason with a simple value of '3' should be preserved] + expected: FAIL + + [URIError should be preserved] + expected: FAIL + + [reason with a simple value of 'null' should be preserved] + expected: FAIL + + [reason with a simple value of '7' should be preserved] + expected: FAIL + + [a TypeError message should be converted to a string] + expected: FAIL + + [objects that can be completely expressed in JSON should be preserved] + expected: FAIL + + [reason with a simple value of 'true' should be preserved] + expected: FAIL + + [TypeError should be preserved] + expected: FAIL + + [reason with a simple value of 'undefined' should be preserved] + expected: FAIL + + [RangeError should be preserved] + expected: FAIL + + [reason with a simple value of 'NaN' should be preserved] + expected: FAIL + + [objects that cannot be expressed in JSON should also be preserved] + expected: FAIL + + [other attributes of a TypeError should not be preserved] + expected: FAIL + + [ReferenceError should be preserved] + expected: FAIL + + [SyntaxError should be preserved] + expected: FAIL + + [reason with a simple value of 'Infinity' should be preserved] + expected: FAIL + + [EvalError should be preserved] + expected: FAIL + + [reason with a simple value of '\t\r\n' should be preserved] + expected: FAIL + + [the type and message of a TypeError should be preserved] + expected: FAIL + + [reason with a simple value of 'hi' should be preserved] + expected: FAIL + + [reason with a simple value of 'false' should be preserved] + expected: FAIL + + [a TypeError message should not be preserved if it is a getter] + expected: FAIL + diff --git a/testing/web-platform/meta/streams/transferable/service-worker.https.html.ini b/testing/web-platform/meta/streams/transferable/service-worker.https.html.ini new file mode 100644 index 000000000000..2c287bbfac91 --- /dev/null +++ b/testing/web-platform/meta/streams/transferable/service-worker.https.html.ini @@ -0,0 +1,7 @@ +[service-worker.https.html] + [serviceWorker.controller.postMessage should be able to transfer a ReadableStream] + expected: FAIL + + [postMessage in a service worker should be able to transfer ReadableStream] + expected: FAIL + diff --git a/testing/web-platform/meta/streams/transferable/shared-worker.html.ini b/testing/web-platform/meta/streams/transferable/shared-worker.html.ini new file mode 100644 index 000000000000..77bfb18382af --- /dev/null +++ b/testing/web-platform/meta/streams/transferable/shared-worker.html.ini @@ -0,0 +1,7 @@ +[shared-worker.html] + [postMessage in a worker should be able to transfer a ReadableStream] + expected: FAIL + + [worker.postMessage should be able to transfer a ReadableStream] + expected: FAIL + diff --git a/testing/web-platform/meta/streams/transferable/transform-stream.html.ini b/testing/web-platform/meta/streams/transferable/transform-stream.html.ini new file mode 100644 index 000000000000..a4e1bdfa96b2 --- /dev/null +++ b/testing/web-platform/meta/streams/transferable/transform-stream.html.ini @@ -0,0 +1,16 @@ +[transform-stream.html] + [a TransformStream with a locked readable should not be transferable] + expected: FAIL + + [piping through transferred transforms should work] + expected: FAIL + + [a TransformStream with a locked writable should not be transferable] + expected: FAIL + + [window.postMessage should be able to transfer a TransformStream] + expected: FAIL + + [a TransformStream with both sides locked should not be transferable] + expected: FAIL + diff --git a/testing/web-platform/meta/streams/transferable/window.html.ini b/testing/web-platform/meta/streams/transferable/window.html.ini new file mode 100644 index 000000000000..3fe616ecc30f --- /dev/null +++ b/testing/web-platform/meta/streams/transferable/window.html.ini @@ -0,0 +1,20 @@ +[window.html] + expected: + if (processor == "x86_64") and not webrender and debug and (os == "android"): OK + if (processor == "x86_64") and not webrender and not debug and (os == "linux"): OK + if (processor == "x86_64") and not webrender and not debug and (os == "win"): OK + if (processor == "x86_64") and not webrender and not debug and (os == "android"): ["ERROR", "OK"] + if processor == "x86": OK + [OK, ERROR] + [transfer to and from an iframe should work] + expected: FAIL + + [the same ReadableStream posted multiple times should arrive together] + expected: FAIL + + [port.postMessage should be able to transfer a ReadableStream] + expected: FAIL + + [window.postMessage should be able to transfer a ReadableStream] + expected: FAIL + diff --git a/testing/web-platform/meta/streams/transferable/worker.html.ini b/testing/web-platform/meta/streams/transferable/worker.html.ini new file mode 100644 index 000000000000..ba0189af4dc9 --- /dev/null +++ b/testing/web-platform/meta/streams/transferable/worker.html.ini @@ -0,0 +1,10 @@ +[worker.html] + [terminating a worker should not error the stream] + expected: FAIL + + [postMessage in a worker should be able to transfer a ReadableStream] + expected: FAIL + + [worker.postMessage should be able to transfer a ReadableStream] + expected: FAIL + diff --git a/testing/web-platform/meta/streams/transferable/writable-stream.html.ini b/testing/web-platform/meta/streams/transferable/writable-stream.html.ini new file mode 100644 index 000000000000..7beeee64847b --- /dev/null +++ b/testing/web-platform/meta/streams/transferable/writable-stream.html.ini @@ -0,0 +1,25 @@ +[writable-stream.html] + [window.postMessage should be able to transfer a WritableStream] + expected: FAIL + + [second write should wait for first underlying write to complete] + expected: FAIL + + [abort() should work] + expected: FAIL + + [window.postMessage should be able to transfer a {readable, writable} pair] + expected: FAIL + + [writing a unclonable object should error the stream] + expected: FAIL + + [effective queue size of a transferred writable should be 2] + expected: FAIL + + [desiredSize for a newly-transferred stream should be 1] + expected: FAIL + + [a locked WritableStream should not be transferable] + expected: FAIL +