diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/meta/serial | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
31 files changed, 754 insertions, 0 deletions
diff --git a/testing/web-platform/meta/serial/__dir__.ini b/testing/web-platform/meta/serial/__dir__.ini new file mode 100644 index 0000000000..db1926e03a --- /dev/null +++ b/testing/web-platform/meta/serial/__dir__.ini @@ -0,0 +1,3 @@ +implementation-status: backlog +prefs: [dom.security.featurePolicy.experimental.enabled:true] +leak-threshold: [default:51200] diff --git a/testing/web-platform/meta/serial/idlharness.https.any.js.ini b/testing/web-platform/meta/serial/idlharness.https.any.js.ini new file mode 100644 index 0000000000..0840b8c9ab --- /dev/null +++ b/testing/web-platform/meta/serial/idlharness.https.any.js.ini @@ -0,0 +1,209 @@ +[idlharness.https.any.html] + [Serial must be primary interface of navigator.serial] + expected: FAIL + + [Serial interface: existence and properties of interface prototype object] + expected: FAIL + + [Serial interface: attribute onconnect] + expected: FAIL + + [Serial interface: attribute ondisconnect] + expected: FAIL + + [Serial interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [SerialPort interface: existence and properties of interface prototype object] + expected: FAIL + + [Serial interface: existence and properties of interface object] + expected: FAIL + + [Serial interface: operation getPorts()] + expected: FAIL + + [Serial interface object name] + expected: FAIL + + [SerialPort interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [Serial interface: navigator.serial must inherit property "ondisconnect" with the proper type] + expected: FAIL + + [SerialPort interface: existence and properties of interface object] + expected: FAIL + + [SerialPort interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [SerialPort interface object length] + expected: FAIL + + [Serial interface: navigator.serial must inherit property "getPorts()" with the proper type] + expected: FAIL + + [SerialPort interface: operation getInfo()] + expected: FAIL + + [Navigator interface: attribute serial] + expected: FAIL + + [Navigator interface: navigator must inherit property "serial" with the proper type] + expected: FAIL + + [Serial interface: navigator.serial must inherit property "onconnect" with the proper type] + expected: FAIL + + [Serial interface object length] + expected: FAIL + + [Stringification of navigator.serial] + expected: FAIL + + [Serial interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [SerialPort interface object name] + expected: FAIL + + [SerialPort interface: operation getSignals()] + expected: FAIL + + [Serial interface: calling requestPort(optional SerialPortRequestOptions) on navigator.serial with too few arguments must throw TypeError] + expected: FAIL + + [SerialPort interface: attribute onconnect] + expected: FAIL + + [Serial interface: navigator.serial must inherit property "requestPort(optional SerialPortRequestOptions)" with the proper type] + expected: FAIL + + [SerialPort interface: attribute readable] + expected: FAIL + + [SerialPort interface: operation open(SerialOptions)] + expected: FAIL + + [SerialPort interface: operation close()] + expected: FAIL + + [SerialPort interface: attribute ondisconnect] + expected: FAIL + + [Serial interface: operation requestPort(optional SerialPortRequestOptions)] + expected: FAIL + + [SerialPort interface: attribute writable] + expected: FAIL + + [SerialPort interface: operation setSignals(optional SerialOutputSignals)] + expected: FAIL + + [SerialPort interface: operation forget()] + expected: FAIL + + +[idlharness.https.any.worker.html] + [Serial must be primary interface of navigator.serial] + expected: FAIL + + [Serial interface: existence and properties of interface prototype object] + expected: FAIL + + [Serial interface: attribute onconnect] + expected: FAIL + + [Serial interface: attribute ondisconnect] + expected: FAIL + + [WorkerNavigator interface: attribute serial] + expected: FAIL + + [Serial interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [SerialPort interface: existence and properties of interface prototype object] + expected: FAIL + + [Serial interface: existence and properties of interface object] + expected: FAIL + + [Serial interface: operation getPorts()] + expected: FAIL + + [Serial interface object name] + expected: FAIL + + [Serial interface: navigator.serial must not have property "requestPort"] + expected: FAIL + + [SerialPort interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [Serial interface: member requestPort] + expected: FAIL + + [SerialPort interface: existence and properties of interface object] + expected: FAIL + + [WorkerNavigator interface: navigator must inherit property "serial" with the proper type] + expected: FAIL + + [Serial interface: navigator.serial must inherit property "ondisconnect" with the proper type] + expected: FAIL + + [SerialPort interface object length] + expected: FAIL + + [Serial interface: navigator.serial must inherit property "getPorts()" with the proper type] + expected: FAIL + + [SerialPort interface: operation getInfo()] + expected: FAIL + + [Serial interface: navigator.serial must inherit property "onconnect" with the proper type] + expected: FAIL + + [Serial interface object length] + expected: FAIL + + [SerialPort interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [Stringification of navigator.serial] + expected: FAIL + + [Serial interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [SerialPort interface object name] + expected: FAIL + + [SerialPort interface: operation getSignals()] + expected: FAIL + + [SerialPort interface: attribute onconnect] + expected: FAIL + + [SerialPort interface: attribute readable] + expected: FAIL + + [SerialPort interface: operation open(SerialOptions)] + expected: FAIL + + [SerialPort interface: operation close()] + expected: FAIL + + [SerialPort interface: attribute ondisconnect] + expected: FAIL + + [SerialPort interface: attribute writable] + expected: FAIL + + [SerialPort interface: operation setSignals(optional SerialOutputSignals)] + expected: FAIL + + [SerialPort interface: operation forget()] + expected: FAIL diff --git a/testing/web-platform/meta/serial/serial-allowed-by-permissions-policy-attribute-redirect-on-load.https.sub.html.ini b/testing/web-platform/meta/serial/serial-allowed-by-permissions-policy-attribute-redirect-on-load.https.sub.html.ini new file mode 100644 index 0000000000..67de4b57c0 --- /dev/null +++ b/testing/web-platform/meta/serial/serial-allowed-by-permissions-policy-attribute-redirect-on-load.https.sub.html.ini @@ -0,0 +1,13 @@ +[serial-allowed-by-permissions-policy-attribute-redirect-on-load.https.sub.html] + expected: TIMEOUT + [Permissions-Policy allow="serial" allows same-origin relocation.] + expected: TIMEOUT + + [Permissions-Policy allow="serial" allows workers in same-origin relocation.] + expected: TIMEOUT + + [Permissions-Policy allow="serial" disallows cross-origin relocation.] + expected: TIMEOUT + + [Permissions-Policy allow="serial" disallows workers in cross-origin relocation.] + expected: TIMEOUT diff --git a/testing/web-platform/meta/serial/serial-allowed-by-permissions-policy-attribute.https.sub.html.ini b/testing/web-platform/meta/serial/serial-allowed-by-permissions-policy-attribute.https.sub.html.ini new file mode 100644 index 0000000000..0610f5d9f0 --- /dev/null +++ b/testing/web-platform/meta/serial/serial-allowed-by-permissions-policy-attribute.https.sub.html.ini @@ -0,0 +1,16 @@ +[serial-allowed-by-permissions-policy-attribute.https.sub.html] + expected: TIMEOUT + [Permissions policy "serial" can be enabled in same-origin iframe using allow="serial" attribute] + expected: TIMEOUT + + [Permissions policy "serial" can be enabled in a worker in same-origin iframe using allow="serial" attribute] + expected: TIMEOUT + + [Permissions policy "serial" can be enabled in cross-origin iframe using allow="serial" attribute] + expected: TIMEOUT + + [Permissions policy "serial" can be enabled in a worker in cross-origin iframe using allow="serial" attribute] + expected: TIMEOUT + + [Inherited header permissions policy allows dedicated workers.] + expected: FAIL diff --git a/testing/web-platform/meta/serial/serial-allowed-by-permissions-policy.https.sub.html.ini b/testing/web-platform/meta/serial/serial-allowed-by-permissions-policy.https.sub.html.ini new file mode 100644 index 0000000000..d704c35e61 --- /dev/null +++ b/testing/web-platform/meta/serial/serial-allowed-by-permissions-policy.https.sub.html.ini @@ -0,0 +1,19 @@ +[serial-allowed-by-permissions-policy.https.sub.html] + expected: TIMEOUT + [Permissions-Policy header serial=* allows the top-level document.] + expected: FAIL + + [Permissions-Policy header serial=* allows same-origin iframes.] + expected: TIMEOUT + + [Permissions-Policy header serial=* allows workers in same-origin iframes.] + expected: TIMEOUT + + [Permissions-Policy header serial=* allows cross-origin iframes.] + expected: TIMEOUT + + [Permissions-Policy header serial=* allows workers in cross-origin iframes.] + expected: TIMEOUT + + [Inherited header permissions policy allows dedicated workers.] + expected: FAIL diff --git a/testing/web-platform/meta/serial/serial-default-permissions-policy.https.sub.html.ini b/testing/web-platform/meta/serial/serial-default-permissions-policy.https.sub.html.ini new file mode 100644 index 0000000000..d5c036dd36 --- /dev/null +++ b/testing/web-platform/meta/serial/serial-default-permissions-policy.https.sub.html.ini @@ -0,0 +1,10 @@ +[serial-default-permissions-policy.https.sub.html] + expected: TIMEOUT + [Default "serial" permissions policy "self" allows the top-level document.] + expected: FAIL + + [Default "serial" permissions policy "self" allows same-origin iframes.] + expected: TIMEOUT + + [Default "serial" permissions policy "self" disallows cross-origin iframes.] + expected: TIMEOUT diff --git a/testing/web-platform/meta/serial/serial-disabled-by-permissions-policy.https.sub.html.ini b/testing/web-platform/meta/serial/serial-disabled-by-permissions-policy.https.sub.html.ini new file mode 100644 index 0000000000..c036f706ca --- /dev/null +++ b/testing/web-platform/meta/serial/serial-disabled-by-permissions-policy.https.sub.html.ini @@ -0,0 +1,19 @@ +[serial-disabled-by-permissions-policy.https.sub.html] + expected: TIMEOUT + [Permissions-Policy header serial=() disallows getPorts in the top-level document.] + expected: FAIL + + [Permissions-Policy header serial=() disallows same-origin iframes.] + expected: TIMEOUT + + [Permissions-Policy header serial=() disallows workers in same-origin iframes.] + expected: TIMEOUT + + [Permissions-Policy header serial=() disallows cross-origin iframes.] + expected: TIMEOUT + + [Permissions-Policy header serial=() disallows workers in cross-origin iframes.] + expected: TIMEOUT + + [Inherited Permissions-Policy header serial=() disallows dedicated workers.] + expected: FAIL diff --git a/testing/web-platform/meta/serial/serialPort_close.https.any.js.ini b/testing/web-platform/meta/serial/serialPort_close.https.any.js.ini new file mode 100644 index 0000000000..ac48d2cdef --- /dev/null +++ b/testing/web-platform/meta/serial/serialPort_close.https.any.js.ini @@ -0,0 +1,21 @@ +[serialPort_close.https.any.worker.html] + [A SerialPort cannot be closed if it was never opened.] + expected: FAIL + + [A SerialPort cannot be closed if it is being closed.] + expected: FAIL + + [A SerialPort cannot be closed if it is already closed.] + expected: FAIL + + +[serialPort_close.https.any.html] + [A SerialPort cannot be closed if it was never opened.] + expected: FAIL + + [A SerialPort cannot be closed if it is being closed.] + expected: FAIL + + [A SerialPort cannot be closed if it is already closed.] + expected: FAIL + diff --git a/testing/web-platform/meta/serial/serialPort_events.https.any.js.ini b/testing/web-platform/meta/serial/serialPort_events.https.any.js.ini new file mode 100644 index 0000000000..f92b011a10 --- /dev/null +++ b/testing/web-platform/meta/serial/serialPort_events.https.any.js.ini @@ -0,0 +1,39 @@ +[serialPort_events.https.any.html] + [Capturing and bubbling events delivered to listeners in the expected order] + expected: FAIL + + [stopPropagation() during bubbling] + expected: FAIL + + [stopPropagation() during capturing] + expected: FAIL + + [An event dispatched in an event handler is propagated before continuing] + expected: FAIL + + [Set cancelBubble during capturing] + expected: FAIL + + [Set cancelBubble during bubbling] + expected: FAIL + + +[serialPort_events.https.any.worker.html] + [Capturing and bubbling events delivered to listeners in the expected order] + expected: FAIL + + [stopPropagation() during bubbling] + expected: FAIL + + [stopPropagation() during capturing] + expected: FAIL + + [An event dispatched in an event handler is propagated before continuing] + expected: FAIL + + [Set cancelBubble during capturing] + expected: FAIL + + [Set cancelBubble during bubbling] + expected: FAIL + diff --git a/testing/web-platform/meta/serial/serialPort_forget.https.any.js.ini b/testing/web-platform/meta/serial/serialPort_forget.https.any.js.ini new file mode 100644 index 0000000000..4120a94d49 --- /dev/null +++ b/testing/web-platform/meta/serial/serialPort_forget.https.any.js.ini @@ -0,0 +1,32 @@ +[serialPort_forget.https.any.worker.html] + [open() rejects after forget()] + expected: FAIL + + [close() rejects after forget()] + expected: FAIL + + [setSignals() rejects after forget()] + expected: FAIL + + [getSignals() rejects after forget()] + expected: FAIL + + [forget() removes the device from getPorts()] + expected: FAIL + + +[serialPort_forget.https.any.html] + [open() rejects after forget()] + expected: FAIL + + [close() rejects after forget()] + expected: FAIL + + [setSignals() rejects after forget()] + expected: FAIL + + [getSignals() rejects after forget()] + expected: FAIL + + [forget() removes the device from getPorts()] + expected: FAIL diff --git a/testing/web-platform/meta/serial/serialPort_getInfo.https.any.js.ini b/testing/web-platform/meta/serial/serialPort_getInfo.https.any.js.ini new file mode 100644 index 0000000000..c2233ae1d8 --- /dev/null +++ b/testing/web-platform/meta/serial/serialPort_getInfo.https.any.js.ini @@ -0,0 +1,9 @@ +[serialPort_getInfo.https.any.html] + [getInfo() meta test] + expected: FAIL + + +[serialPort_getInfo.https.any.worker.html] + [getInfo() meta test] + expected: FAIL + diff --git a/testing/web-platform/meta/serial/serialPort_getSignals.https.any.js.ini b/testing/web-platform/meta/serial/serialPort_getSignals.https.any.js.ini new file mode 100644 index 0000000000..87609ce968 --- /dev/null +++ b/testing/web-platform/meta/serial/serialPort_getSignals.https.any.js.ini @@ -0,0 +1,21 @@ +[serialPort_getSignals.https.any.html] + [getSignals() rejects on failure] + expected: FAIL + + [getSignals() returns the current state of input control signals] + expected: FAIL + + [getSignals() rejects if the port is not open] + expected: FAIL + + +[serialPort_getSignals.https.any.worker.html] + [getSignals() rejects on failure] + expected: FAIL + + [getSignals() returns the current state of input control signals] + expected: FAIL + + [getSignals() rejects if the port is not open] + expected: FAIL + diff --git a/testing/web-platform/meta/serial/serialPort_ondisconnect.https.any.js.ini b/testing/web-platform/meta/serial/serialPort_ondisconnect.https.any.js.ini new file mode 100644 index 0000000000..6e1dce41ed --- /dev/null +++ b/testing/web-platform/meta/serial/serialPort_ondisconnect.https.any.js.ini @@ -0,0 +1,9 @@ +[serialPort_ondisconnect.https.any.html] + [A "disconnect" event is fired on ports when they are removed.] + expected: FAIL + + +[serialPort_ondisconnect.https.any.worker.html] + [A "disconnect" event is fired on ports when they are removed.] + expected: FAIL + diff --git a/testing/web-platform/meta/serial/serialPort_open.https.any.js.ini b/testing/web-platform/meta/serial/serialPort_open.https.any.js.ini new file mode 100644 index 0000000000..fc869e6105 --- /dev/null +++ b/testing/web-platform/meta/serial/serialPort_open.https.any.js.ini @@ -0,0 +1,51 @@ +[serialPort_open.https.any.html] + [Data bits must be 7 or 8] + expected: FAIL + + [Baud rate is required and must be greater than zero.] + expected: FAIL + + [A SerialPort cannot be opened if it is already open.] + expected: FAIL + + [Stop bits must be 1 or 2] + expected: FAIL + + [Simultaneous calls to open() are disallowed.] + expected: FAIL + + [Unreasonably large buffer sizes are rejected.] + expected: FAIL + + [Buffer size must be greater than zero.] + expected: FAIL + + [Parity must be "none", "even" or "odd"] + expected: FAIL + + +[serialPort_open.https.any.worker.html] + [Data bits must be 7 or 8] + expected: FAIL + + [Baud rate is required and must be greater than zero.] + expected: FAIL + + [A SerialPort cannot be opened if it is already open.] + expected: FAIL + + [Stop bits must be 1 or 2] + expected: FAIL + + [Simultaneous calls to open() are disallowed.] + expected: FAIL + + [Unreasonably large buffer sizes are rejected.] + expected: FAIL + + [Buffer size must be greater than zero.] + expected: FAIL + + [Parity must be "none", "even" or "odd"] + expected: FAIL + diff --git a/testing/web-platform/meta/serial/serialPort_readable_byob.https.any.js.ini b/testing/web-platform/meta/serial/serialPort_readable_byob.https.any.js.ini new file mode 100644 index 0000000000..5e9d65578a --- /dev/null +++ b/testing/web-platform/meta/serial/serialPort_readable_byob.https.any.js.ini @@ -0,0 +1,14 @@ +[serialPort_readable_byob.https.any.html] + [Can read specific subsets of the available data] + expected: FAIL + + [Can read a large amount of data over multiple iterations] + expected: FAIL + + +[serialPort_readable_byob.https.any.worker.html] + [Can read specific subsets of the available data] + expected: FAIL + + [Can read a large amount of data over multiple iterations] + expected: FAIL diff --git a/testing/web-platform/meta/serial/serialPort_readable_cancel.https.any.js.ini b/testing/web-platform/meta/serial/serialPort_readable_cancel.https.any.js.ini new file mode 100644 index 0000000000..45b74ff05e --- /dev/null +++ b/testing/web-platform/meta/serial/serialPort_readable_cancel.https.any.js.ini @@ -0,0 +1,27 @@ +[serialPort_readable_cancel.https.any.html] + [Cancel discards a small amount of data waiting to be read] + expected: FAIL + + [Can close while canceling] + expected: FAIL + + [Can cancel while reading] + expected: FAIL + + [Cancel discards a large amount of data waiting to be read] + expected: FAIL + + +[serialPort_readable_cancel.https.any.worker.html] + [Cancel discards a small amount of data waiting to be read] + expected: FAIL + + [Can close while canceling] + expected: FAIL + + [Can cancel while reading] + expected: FAIL + + [Cancel discards a large amount of data waiting to be read] + expected: FAIL + diff --git a/testing/web-platform/meta/serial/serialPort_readable_chain.https.any.js.ini b/testing/web-platform/meta/serial/serialPort_readable_chain.https.any.js.ini new file mode 100644 index 0000000000..11e4768bc8 --- /dev/null +++ b/testing/web-platform/meta/serial/serialPort_readable_chain.https.any.js.ini @@ -0,0 +1,9 @@ +[serialPort_readable_chain.https.any.html] + [Stream closure is observable through a long chain of transforms] + expected: FAIL + + +[serialPort_readable_chain.https.any.worker.html] + [Stream closure is observable through a long chain of transforms] + expected: FAIL + diff --git a/testing/web-platform/meta/serial/serialPort_readable_closeLocked.https.any.js.ini b/testing/web-platform/meta/serial/serialPort_readable_closeLocked.https.any.js.ini new file mode 100644 index 0000000000..203c9dec39 --- /dev/null +++ b/testing/web-platform/meta/serial/serialPort_readable_closeLocked.https.any.js.ini @@ -0,0 +1,9 @@ +[serialPort_readable_closeLocked.https.any.worker.html] + [Port cannot be closed while readable is locked] + expected: FAIL + + +[serialPort_readable_closeLocked.https.any.html] + [Port cannot be closed while readable is locked] + expected: FAIL + diff --git a/testing/web-platform/meta/serial/serialPort_readable_disconnect.https.any.js.ini b/testing/web-platform/meta/serial/serialPort_readable_disconnect.https.any.js.ini new file mode 100644 index 0000000000..80a809623b --- /dev/null +++ b/testing/web-platform/meta/serial/serialPort_readable_disconnect.https.any.js.ini @@ -0,0 +1,9 @@ +[serialPort_readable_disconnect.https.any.html] + [Disconnect error closes readable and sets it to null] + expected: FAIL + + +[serialPort_readable_disconnect.https.any.worker.html] + [Disconnect error closes readable and sets it to null] + expected: FAIL + diff --git a/testing/web-platform/meta/serial/serialPort_readable_largeRead.https.any.js.ini b/testing/web-platform/meta/serial/serialPort_readable_largeRead.https.any.js.ini new file mode 100644 index 0000000000..8916c5f8e1 --- /dev/null +++ b/testing/web-platform/meta/serial/serialPort_readable_largeRead.https.any.js.ini @@ -0,0 +1,9 @@ +[serialPort_readable_largeRead.https.any.html] + [Can read a large amount of data] + expected: FAIL + + +[serialPort_readable_largeRead.https.any.worker.html] + [Can read a large amount of data] + expected: FAIL + diff --git a/testing/web-platform/meta/serial/serialPort_readable_open.https.any.js.ini b/testing/web-platform/meta/serial/serialPort_readable_open.https.any.js.ini new file mode 100644 index 0000000000..72a26d1e59 --- /dev/null +++ b/testing/web-platform/meta/serial/serialPort_readable_open.https.any.js.ini @@ -0,0 +1,9 @@ +[serialPort_readable_open.https.any.worker.html] + [SerialPort.readable is set by open() and closes on port close] + expected: FAIL + + +[serialPort_readable_open.https.any.html] + [SerialPort.readable is set by open() and closes on port close] + expected: FAIL + diff --git a/testing/web-platform/meta/serial/serialPort_readable_parityError.https.any.js.ini b/testing/web-platform/meta/serial/serialPort_readable_parityError.https.any.js.ini new file mode 100644 index 0000000000..e9247fb9a8 --- /dev/null +++ b/testing/web-platform/meta/serial/serialPort_readable_parityError.https.any.js.ini @@ -0,0 +1,9 @@ +[serialPort_readable_parityError.https.any.html] + [Parity error closes readable and replaces it with a new stream] + expected: FAIL + + +[serialPort_readable_parityError.https.any.worker.html] + [Parity error closes readable and replaces it with a new stream] + expected: FAIL + diff --git a/testing/web-platform/meta/serial/serialPort_readable_pipeThrough.https.any.js.ini b/testing/web-platform/meta/serial/serialPort_readable_pipeThrough.https.any.js.ini new file mode 100644 index 0000000000..70871b7a3d --- /dev/null +++ b/testing/web-platform/meta/serial/serialPort_readable_pipeThrough.https.any.js.ini @@ -0,0 +1,9 @@ +[serialPort_readable_pipeThrough.https.any.html] + [Can pipe readable through a transform stream.] + expected: FAIL + + +[serialPort_readable_pipeThrough.https.any.worker.html] + [Can pipe readable through a transform stream.] + expected: FAIL + diff --git a/testing/web-platform/meta/serial/serialPort_readable_smallRead.https.any.js.ini b/testing/web-platform/meta/serial/serialPort_readable_smallRead.https.any.js.ini new file mode 100644 index 0000000000..f16ef59b9c --- /dev/null +++ b/testing/web-platform/meta/serial/serialPort_readable_smallRead.https.any.js.ini @@ -0,0 +1,9 @@ +[serialPort_readable_smallRead.https.any.worker.html] + [Can read a small amount of data] + expected: FAIL + + +[serialPort_readable_smallRead.https.any.html] + [Can read a small amount of data] + expected: FAIL + diff --git a/testing/web-platform/meta/serial/serialPort_setSignals.https.any.js.ini b/testing/web-platform/meta/serial/serialPort_setSignals.https.any.js.ini new file mode 100644 index 0000000000..ea0570ffe3 --- /dev/null +++ b/testing/web-platform/meta/serial/serialPort_setSignals.https.any.js.ini @@ -0,0 +1,21 @@ +[serialPort_setSignals.https.any.html] + [setSignals() rejects if the port is not open] + expected: FAIL + + [setSignals() rejects on failure] + expected: FAIL + + [setSignals() modifies the state of the port] + expected: FAIL + + +[serialPort_setSignals.https.any.worker.html] + [setSignals() rejects if the port is not open] + expected: FAIL + + [setSignals() rejects on failure] + expected: FAIL + + [setSignals() modifies the state of the port] + expected: FAIL + diff --git a/testing/web-platform/meta/serial/serialPort_writable.https.any.js.ini b/testing/web-platform/meta/serial/serialPort_writable.https.any.js.ini new file mode 100644 index 0000000000..53c401858b --- /dev/null +++ b/testing/web-platform/meta/serial/serialPort_writable.https.any.js.ini @@ -0,0 +1,80 @@ +[serialPort_writable.https.any.html] + [Can write a small amount of data] + expected: FAIL + + [open() and close() set and unset SerialPort.writable] + expected: FAIL + + [Stream closure is observable through a long chain of transformers] + expected: FAIL + + [Can pipe a stream to writable] + expected: FAIL + + [Disconnect error closes writable and sets it to null] + expected: FAIL + + [abort() does not wait for the write buffer to be cleared] + expected: FAIL + + [close() waits for the write buffer to be cleared] + expected: FAIL + + [Port cannot be closed while writable is locked] + expected: FAIL + + [abort() discards the write buffer] + expected: FAIL + + [Can close while aborting] + expected: FAIL + + [System error closes writable and replaces it with a new stream] + expected: FAIL + + [Can write a large amount of data] + expected: FAIL + + [Can abort while closing] + expected: FAIL + + +[serialPort_writable.https.any.worker.html] + [Can write a small amount of data] + expected: FAIL + + [open() and close() set and unset SerialPort.writable] + expected: FAIL + + [Stream closure is observable through a long chain of transformers] + expected: FAIL + + [Can pipe a stream to writable] + expected: FAIL + + [Disconnect error closes writable and sets it to null] + expected: FAIL + + [abort() does not wait for the write buffer to be cleared] + expected: FAIL + + [close() waits for the write buffer to be cleared] + expected: FAIL + + [Port cannot be closed while writable is locked] + expected: FAIL + + [abort() discards the write buffer] + expected: FAIL + + [Can close while aborting] + expected: FAIL + + [System error closes writable and replaces it with a new stream] + expected: FAIL + + [Can write a large amount of data] + expected: FAIL + + [Can abort while closing] + expected: FAIL diff --git a/testing/web-platform/meta/serial/serialPort_writable_detachBuffer.https.any.js.ini b/testing/web-platform/meta/serial/serialPort_writable_detachBuffer.https.any.js.ini new file mode 100644 index 0000000000..0dbdd88623 --- /dev/null +++ b/testing/web-platform/meta/serial/serialPort_writable_detachBuffer.https.any.js.ini @@ -0,0 +1,14 @@ +[serialPort_writable_detachBuffer.https.any.html] + [Writing a detached buffer is safe] + expected: FAIL + + [Detaching a buffer while writing is safe] + expected: FAIL + + +[serialPort_writable_detachBuffer.https.any.worker.html] + [Writing a detached buffer is safe] + expected: FAIL + + [Detaching a buffer while writing is safe] + expected: FAIL diff --git a/testing/web-platform/meta/serial/serial_getPorts.https.any.js.ini b/testing/web-platform/meta/serial/serial_getPorts.https.any.js.ini new file mode 100644 index 0000000000..54ad13e13c --- /dev/null +++ b/testing/web-platform/meta/serial/serial_getPorts.https.any.js.ini @@ -0,0 +1,15 @@ +[serial_getPorts.https.any.worker.html] + [getPorts() returns the set of configured fake ports] + expected: FAIL + + [getPorts() returns the same port objects every time] + expected: FAIL + + +[serial_getPorts.https.any.html] + [getPorts() returns the set of configured fake ports] + expected: FAIL + + [getPorts() returns the same port objects every time] + expected: FAIL + diff --git a/testing/web-platform/meta/serial/serial_onconnect.https.any.js.ini b/testing/web-platform/meta/serial/serial_onconnect.https.any.js.ini new file mode 100644 index 0000000000..4ffaca092e --- /dev/null +++ b/testing/web-platform/meta/serial/serial_onconnect.https.any.js.ini @@ -0,0 +1,9 @@ +[serial_onconnect.https.any.html] + [A "connect" event is fired when ports are added.] + expected: FAIL + + +[serial_onconnect.https.any.worker.html] + [A "connect" event is fired when ports are added.] + expected: FAIL + diff --git a/testing/web-platform/meta/serial/serial_ondisconnect.https.any.js.ini b/testing/web-platform/meta/serial/serial_ondisconnect.https.any.js.ini new file mode 100644 index 0000000000..314a31c2e8 --- /dev/null +++ b/testing/web-platform/meta/serial/serial_ondisconnect.https.any.js.ini @@ -0,0 +1,9 @@ +[serial_ondisconnect.https.any.html] + [A "disconnect" event is fired when ports are added.] + expected: FAIL + + +[serial_ondisconnect.https.any.worker.html] + [A "disconnect" event is fired when ports are added.] + expected: FAIL + diff --git a/testing/web-platform/meta/serial/serial_requestPort.https.window.js.ini b/testing/web-platform/meta/serial/serial_requestPort.https.window.js.ini new file mode 100644 index 0000000000..267b52b98a --- /dev/null +++ b/testing/web-platform/meta/serial/serial_requestPort.https.window.js.ini @@ -0,0 +1,22 @@ +[serial_requestPort.https.window.html] + [requestPort() returns the selected port] + expected: FAIL + + [requestPort() rejects if no port has been selected] + expected: FAIL + + [requestPort() rejects without a user gesture] + expected: FAIL + + [An empty filter is not valid] + expected: FAIL + + [requestPort() returns the same port object every time] + expected: FAIL + + [An empty list of filters is valid] + expected: FAIL + + [requestPort() requires a USB vendor ID if a product ID specified] + expected: FAIL + |