Run same tests for layout-2020 and layout-2013 (#30092)

Most tests were only being run for layout-2013, not for layout-2020.
This wasn't great since layout-2020 is now the default.

So this patch unifies the lists of included tests for both layouts.
For layout-2013 this implies adding css/css-content/, css/css-logical/
and css/css-masking/clip/.
For layout-2020 this implies adding several additional css tests, and
also tests like dom/, js/, html/, etc.
This commit is contained in:
Oriol Brufau 2023-08-15 02:28:32 +02:00 committed by GitHub
parent 78c7011240
commit 963104e5fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4797 changed files with 679983 additions and 5390 deletions

View file

@ -1,5 +1,3 @@
[Close-1000.any.worker.html]
[Close-1000.any.html?wss]
[Close-1000.any.worker.html?wpt_flags=h2]
@ -8,8 +6,12 @@
[Close-1000.any.html?wpt_flags=h2]
expected: TIMEOUT
[Create WebSocket - Close the Connection - close(1000) - readyState should be in CLOSED state and wasClean is TRUE - Connection should be closed]
expected: FAIL
[Close-1000.any.html]
[Close-1000.any.worker.html?wss]
[Close-1000.any.html?default]
[Close-1000.any.worker.html?default]

View file

@ -1,14 +1,17 @@
[Close-1005-verify-code.any.worker.html?wss]
[Close-1005-verify-code.any.html]
[Close-1005-verify-code.any.html?wss]
[Close-1005-verify-code.any.worker.html]
[Close-1005-verify-code.any.html?wpt_flags=h2]
expected: TIMEOUT
[Create WebSocket - Close the Connection - close() - return close code is 1005 - Connection should be closed]
expected: FAIL
[Close-1005-verify-code.any.worker.html?wpt_flags=h2]
[Create WebSocket - Close the Connection - close() - return close code is 1005 - Connection should be closed]
expected: FAIL
[Close-1005-verify-code.any.html?default]
[Close-1005-verify-code.any.worker.html?default]

View file

@ -1,15 +1,17 @@
[Close-3000-reason.any.html?wss]
[Close-3000-reason.any.worker.html]
[Close-3000-reason.any.html]
[Close-3000-reason.any.worker.html?wpt_flags=h2]
[Create WebSocket - Close the Connection - close(3000, reason) - readyState should be in CLOSED state and wasClean is TRUE - Connection should be closed]
expected: FAIL
[Close-3000-reason.any.html?wpt_flags=h2]
expected: TIMEOUT
[Create WebSocket - Close the Connection - close(3000, reason) - readyState should be in CLOSED state and wasClean is TRUE - Connection should be closed]
expected: FAIL
[Close-3000-reason.any.worker.html?wss]
[Close-3000-reason.any.html?default]
[Close-3000-reason.any.worker.html?default]

View file

@ -1,14 +1,17 @@
[Close-delayed.any.worker.html]
[Close-delayed.any.worker.html?wss]
[Close-delayed.any.html?wpt_flags=h2]
expected: TIMEOUT
[Create WebSocket - Close the Connection - close should not emit until handshake completes - Connection should be closed]
expected: FAIL
[Close-delayed.any.html?wss]
[Close-delayed.any.html]
[Close-delayed.any.worker.html?wpt_flags=h2]
[Create WebSocket - Close the Connection - close should not emit until handshake completes - Connection should be closed]
expected: FAIL
[Close-delayed.any.worker.html?default]
[Close-delayed.any.html?default]

View file

@ -1,15 +1,17 @@
[Close-readyState-Closing.any.worker.html]
[Close-readyState-Closing.any.worker.html?wpt_flags=h2]
[Create WebSocket - Close the Connection - readyState should be in CLOSING state just before onclose is called]
expected: FAIL
[Close-readyState-Closing.any.html]
[Close-readyState-Closing.any.html?wpt_flags=h2]
expected: TIMEOUT
[Create WebSocket - Close the Connection - readyState should be in CLOSING state just before onclose is called]
expected: FAIL
[Close-readyState-Closing.any.html?wss]
[Close-readyState-Closing.any.worker.html?wss]
[Close-readyState-Closing.any.worker.html?default]
[Close-readyState-Closing.any.html?default]

View file

@ -1,15 +1,17 @@
[Close-server-initiated-close.any.html?wss]
[Close-server-initiated-close.any.worker.html]
[Close-server-initiated-close.any.worker.html?wpt_flags=h2]
[Create WebSocket - Server initiated Close - Client sends back a CLOSE - readyState should be in CLOSED state and wasClean is TRUE - Connection should be closed]
expected: FAIL
[Close-server-initiated-close.any.html?wpt_flags=h2]
expected: TIMEOUT
[Create WebSocket - Server initiated Close - Client sends back a CLOSE - readyState should be in CLOSED state and wasClean is TRUE - Connection should be closed]
expected: FAIL
[Close-server-initiated-close.any.worker.html?wss]
[Close-server-initiated-close.any.html]
[Close-server-initiated-close.any.worker.html?default]
[Close-server-initiated-close.any.html?default]

View file

@ -1,15 +1,17 @@
[Close-undefined.any.worker.html]
[Close-undefined.any.worker.html?wpt_flags=h2]
[Close-undefined]
expected: FAIL
[Close-undefined.any.html?wpt_flags=h2]
expected: TIMEOUT
[Close-undefined]
expected: FAIL
[Close-undefined.any.html?wss]
[Close-undefined.any.html]
[Close-undefined.any.worker.html?wss]
[Close-undefined.any.worker.html?default]
[Close-undefined.any.html?default]

View file

@ -26,3 +26,13 @@
[Create-extensions-empty.any.worker.html]
[Create WebSocket - wsocket.extensions should be set to '' after connection is established - Connection should be closed]
expected: FAIL
[Create-extensions-empty.any.html?default]
[Create WebSocket - wsocket.extensions should be set to '' after connection is established - Connection should be closed]
expected: FAIL
[Create-extensions-empty.any.worker.html?default]
[Create WebSocket - wsocket.extensions should be set to '' after connection is established - Connection should be closed]
expected: FAIL

View file

@ -0,0 +1,8 @@
[Create-http-urls.any.worker.html]
[WebSocket: ensure both HTTP schemes are supported]
expected: FAIL
[Create-http-urls.any.html]
[WebSocket: ensure both HTTP schemes are supported]
expected: FAIL

View file

@ -0,0 +1,26 @@
[Create-non-absolute-url.any.worker.html]
[Create WebSocket - Pass a non absolute URL: test]
expected: FAIL
[Create WebSocket - Pass a non absolute URL: ?]
expected: FAIL
[Create WebSocket - Pass a non absolute URL: null]
expected: FAIL
[Create WebSocket - Pass a non absolute URL: 123]
expected: FAIL
[Create-non-absolute-url.any.html]
[Create WebSocket - Pass a non absolute URL: test]
expected: FAIL
[Create WebSocket - Pass a non absolute URL: ?]
expected: FAIL
[Create WebSocket - Pass a non absolute URL: null]
expected: FAIL
[Create WebSocket - Pass a non absolute URL: 123]
expected: FAIL

View file

@ -1,12 +0,0 @@
[Create-protocols-repeated-case-insensitive.any.html?wpt_flags=h2]
expected: TIMEOUT
[Create-protocols-repeated-case-insensitive.any.worker.html]
[Create-protocols-repeated-case-insensitive.any.html?wss]
[Create-protocols-repeated-case-insensitive.any.worker.html?wss]
[Create-protocols-repeated-case-insensitive.any.html]
[Create-protocols-repeated-case-insensitive.any.worker.html?wpt_flags=h2]

View file

@ -1,12 +0,0 @@
[Create-url-with-space.any.html?wpt_flags=h2]
[Create-url-with-space.any.worker.html]
[Create-url-with-space.any.html?wss]
[Create-url-with-space.any.worker.html?wpt_flags=h2]
expected: TIMEOUT
[Create-url-with-space.any.html]
[Create-url-with-space.any.worker.html?wss]

View file

@ -0,0 +1,3 @@
[Create-url-with-windows-1252-encoding.html]
[URL's percent-encoding is always in UTF-8 for WebSocket]
expected: FAIL

View file

@ -1,9 +1,7 @@
[Create-valid-url-array-protocols.any.html]
[Create-valid-url-array-protocols.any.html?wpt_flags=h2]
expected: TIMEOUT
[Create WebSocket - Pass a valid URL and array of protocol strings - Connection should be closed]
expected: FAIL
[Create-valid-url-array-protocols.any.worker.html]
[Create-valid-url-array-protocols.any.html?wss]
@ -12,3 +10,8 @@
[Create-valid-url-array-protocols.any.worker.html?wpt_flags=h2]
[Create WebSocket - Pass a valid URL and array of protocol strings - Connection should be closed]
expected: FAIL
[Create-valid-url-array-protocols.any.html?default]
[Create-valid-url-array-protocols.any.worker.html?default]

View file

@ -1,12 +0,0 @@
[Create-valid-url-protocol-empty.any.html]
[Create-valid-url-protocol-empty.any.html?wpt_flags=h2]
expected: TIMEOUT
[Create-valid-url-protocol-empty.any.worker.html?wss]
[Create-valid-url-protocol-empty.any.worker.html]
[Create-valid-url-protocol-empty.any.html?wss]
[Create-valid-url-protocol-empty.any.worker.html?wpt_flags=h2]

View file

@ -1,7 +1,7 @@
[Create-valid-url-protocol.any.html]
[Create-valid-url-protocol.any.html?wpt_flags=h2]
expected: TIMEOUT
[Create WebSocket - Pass a valid URL and a protocol string - Connection should be closed]
expected: FAIL
[Create-valid-url-protocol.any.worker.html?wpt_flags=h2]
[Create WebSocket - Pass a valid URL and a protocol string - Connection should be closed]
@ -10,6 +10,8 @@
[Create-valid-url-protocol.any.worker.html?wss]
[Create-valid-url-protocol.any.worker.html]
[Create-valid-url-protocol.any.html?wss]
[Create-valid-url-protocol.any.html?default]
[Create-valid-url-protocol.any.worker.html?default]

View file

@ -1,12 +0,0 @@
[Send-before-open.any.html?wss]
[Send-before-open.any.html]
[Send-before-open.any.worker.html?wpt_flags=h2]
[Send-before-open.any.html?wpt_flags=h2]
expected: TIMEOUT
[Send-before-open.any.worker.html?wss]
[Send-before-open.any.worker.html]

View file

@ -3,13 +3,15 @@
expected: FAIL
[Send-binary-arraybufferview-float64.any.html]
[Send-binary-arraybufferview-float64.any.worker.html]
[Send-binary-arraybufferview-float64.any.html?wss]
[Send-binary-arraybufferview-float64.any.html?wpt_flags=h2]
expected: TIMEOUT
[Send binary data on a WebSocket - ArrayBufferView - Float64Array - Connection should be closed]
expected: FAIL
[Send-binary-arraybufferview-float64.any.worker.html?wss]
[Send-binary-arraybufferview-float64.any.html?default]
[Send-binary-arraybufferview-float64.any.worker.html?default]

View file

@ -7,9 +7,11 @@
[Send-binary-arraybufferview-int16-offset.any.worker.html?wss]
[Send-binary-arraybufferview-int16-offset.any.worker.html]
[Send-binary-arraybufferview-int16-offset.any.html]
[Send-binary-arraybufferview-int16-offset.any.html?wpt_flags=h2]
expected: TIMEOUT
[Send binary data on a WebSocket - ArrayBufferView - Int16Array with offset - Connection should be closed]
expected: FAIL
[Send-binary-arraybufferview-int16-offset.any.html?default]
[Send-binary-arraybufferview-int16-offset.any.worker.html?default]

View file

@ -1,9 +1,5 @@
[Send-binary-arraybufferview-int8.any.html?wss]
[Send-binary-arraybufferview-int8.any.html]
[Send-binary-arraybufferview-int8.any.worker.html]
[Send-binary-arraybufferview-int8.any.worker.html?wpt_flags=h2]
[Send binary data on a WebSocket - ArrayBufferView - Int8Array - Connection should be closed]
expected: FAIL
@ -12,4 +8,10 @@
[Send-binary-arraybufferview-int8.any.worker.html?wss]
[Send-binary-arraybufferview-int8.any.html?wpt_flags=h2]
expected: TIMEOUT
[Send binary data on a WebSocket - ArrayBufferView - Int8Array - Connection should be closed]
expected: FAIL
[Send-binary-arraybufferview-int8.any.worker.html?default]
[Send-binary-arraybufferview-int8.any.html?default]

View file

@ -1,9 +1,9 @@
[Send-data.any.worker.html?wss]
[Send-data.any.worker.html]
[Send-data.any.html?wpt_flags=h2]
expected: TIMEOUT
[Send data on a WebSocket - Connection should be closed]
expected: FAIL
[Send-data.any.worker.html?wpt_flags=h2]
[Send data on a WebSocket - Connection should be closed]
@ -12,4 +12,6 @@
[Send-data.any.html?wss]
[Send-data.any.html]
[Send-data.any.worker.html?default]
[Send-data.any.html?default]

View file

@ -1,5 +1,3 @@
[Send-paired-surrogates.any.html]
[Send-paired-surrogates.any.worker.html?wpt_flags=h2]
[Send paired surrogates data on a WebSocket - Connection should be closed]
expected: FAIL
@ -9,7 +7,11 @@
[Send-paired-surrogates.any.html?wss]
[Send-paired-surrogates.any.worker.html]
[Send-paired-surrogates.any.html?wpt_flags=h2]
expected: TIMEOUT
[Send paired surrogates data on a WebSocket - Connection should be closed]
expected: FAIL
[Send-paired-surrogates.any.html?default]
[Send-paired-surrogates.any.worker.html?default]

View file

@ -1,15 +1,17 @@
[Send-unicode-data.any.html?wss]
[Send-unicode-data.any.html?wpt_flags=h2]
expected: TIMEOUT
[Send unicode data on a WebSocket - Connection should be closed]
expected: FAIL
[Send-unicode-data.any.worker.html]
[Send-unicode-data.any.worker.html?wpt_flags=h2]
[Send unicode data on a WebSocket - Connection should be closed]
expected: FAIL
[Send-unicode-data.any.html]
[Send-unicode-data.any.worker.html?wss]
[Send-unicode-data.any.worker.html?default]
[Send-unicode-data.any.html?default]

View file

@ -0,0 +1,3 @@
[back-forward-cache-with-closed-websocket-connection-ccns.tentative.window.html]
[Testing BFCache support for page with closed WebSocket connection and "Cache-Control: no-store" header.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[back-forward-cache-with-closed-websocket-connection.window.html]
[Testing BFCache support for page with closed WebSocket connection.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[back-forward-cache-with-open-websocket-connection-ccns.tentative.window.html]
[Testing BFCache support for page with open WebSocket connection and "Cache-Control: no-store" header.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[back-forward-cache-with-open-websocket-connection.window.html]
[Testing BFCache support for page with open WebSocket connection.]
expected: FAIL

View file

@ -18,9 +18,12 @@
[bufferedAmount-unchanged-by-sync-xhr.any.worker.html?wss]
[bufferedAmount-unchanged-by-sync-xhr.any.worker.html]
[bufferedAmount-unchanged-by-sync-xhr.any.sharedworker.html?wss]
expected: ERROR
[bufferedAmount-unchanged-by-sync-xhr.any.html]
[bufferedAmount-unchanged-by-sync-xhr.any.html?default]
[bufferedAmount-unchanged-by-sync-xhr.any.worker.html?default]
[bufferedAmount-unchanged-by-sync-xhr.any.sharedworker.html?default]
expected: ERROR

View file

@ -0,0 +1,8 @@
[014.html?wss]
[WebSockets: serialize establish a connection]
expected: FAIL
[014.html?default]
[WebSockets: serialize establish a connection]
expected: FAIL

View file

@ -7,6 +7,12 @@
[WebSockets: non-ascii URL in query, document encoding windows-1252]
expected: FAIL
[016.html]
[WebSockets: non-ascii URL in query, document encoding windows-1252]
expected: FAIL
[016.html?default]
[WebSockets: non-ascii URL in query, document encoding windows-1252]
expected: FAIL

View file

@ -11,3 +11,8 @@
[007.html?wpt_flags=h2]
[WebSockets: when to process set-cookie fields in ws response]
expected: FAIL
[007.html?default]
[WebSockets: when to process set-cookie fields in ws response]
expected: FAIL

View file

@ -0,0 +1,3 @@
[third-party-cookie-accepted.https.html]
[Test that third-party cookies are accepted for WebSockets.]
expected: FAIL

View file

@ -0,0 +1,8 @@
[close-connecting.html?wss]
[WebSockets: close() when connecting]
expected: FAIL
[close-connecting.html?default]
[WebSockets: close() when connecting]
expected: FAIL

View file

@ -0,0 +1,8 @@
[001.html?wss]
[WebSockets: getting extensions in connecting]
expected: FAIL
[001.html?default]
[WebSockets: getting extensions in connecting]
expected: FAIL

View file

@ -0,0 +1,15 @@
[mixed-content.https.any.sharedworker.html]
expected: ERROR
[mixed-content.https.any.html]
[constructing an insecure WebSocket in a secure context should throw]
expected: FAIL
[mixed-content.https.any.worker.html]
[constructing an insecure WebSocket in a secure context should throw]
expected: FAIL
[mixed-content.https.any.serviceworker.html]
expected: ERROR

View file

@ -0,0 +1,3 @@
[url-parsing.html]
[Multiple globals for base URL in WebSocket constructor]
expected: FAIL

View file

@ -0,0 +1,35 @@
[send-many-64K-messages-with-backpressure.any.serviceworker.html?default]
expected: ERROR
[send-many-64K-messages-with-backpressure.any.worker.html?default]
[send-many-64K-messages-with-backpressure.any.worker.html?wss]
[send-many-64K-messages-with-backpressure.any.serviceworker.html?wss]
expected: ERROR
[send-many-64K-messages-with-backpressure.any.serviceworker.html?wpt_flags=h2]
expected: ERROR
[send-many-64K-messages-with-backpressure.any.html?wss]
[send-many-64K-messages-with-backpressure.any.sharedworker.html?default]
expected: ERROR
[send-many-64K-messages-with-backpressure.any.sharedworker.html?wss]
expected: ERROR
[send-many-64K-messages-with-backpressure.any.html?wpt_flags=h2]
[sending 50 messages of size 65536 with backpressure applied should not hang]
expected: FAIL
[send-many-64K-messages-with-backpressure.any.html?default]
[send-many-64K-messages-with-backpressure.any.worker.html?wpt_flags=h2]
[sending 50 messages of size 65536 with backpressure applied should not hang]
expected: FAIL
[send-many-64K-messages-with-backpressure.any.sharedworker.html?wpt_flags=h2]
expected: ERROR

View file

@ -42,4 +42,5 @@
[backpressure-receive.any.html?wpt_flags=h2]
expected: TIMEOUT
[backpressure should be applied to received messages]
expected: FAIL

View file

@ -81,6 +81,9 @@
[wss.connection should resolve to the right types]
expected: FAIL
[wss.opened should resolve to the right types]
expected: FAIL
[constructor.any.sharedworker.html?wpt_flags=h2]
expected: ERROR
@ -113,6 +116,9 @@
[wss.connection should resolve to the right types]
expected: FAIL
[wss.opened should resolve to the right types]
expected: FAIL
[constructor.any.sharedworker.html?wss]
expected: ERROR
@ -142,6 +148,9 @@
[wss.connection should resolve to the right types]
expected: FAIL
[wss.opened should resolve to the right types]
expected: FAIL
[constructor.any.serviceworker.html?wpt_flags=h2]
expected: ERROR
@ -170,3 +179,6 @@
[wss.connection should resolve to the right types]
expected: FAIL
[wss.opened should resolve to the right types]
expected: FAIL

View file

@ -11,3 +11,8 @@
[001.html?wpt_flags=h2]
[WebSockets: navigating top-level browsing context]
expected: FAIL
[001.html?default]
[WebSockets: navigating top-level browsing context]
expected: FAIL

View file

@ -0,0 +1,3 @@
[003.html]
[WebSockets: navigating nested browsing context]
expected: FAIL

View file

@ -11,3 +11,8 @@
[005.html?wpt_flags=h2]
[WebSockets: navigating nested browsing context with a websocket in top-level]
expected: FAIL
[005.html?default]
[WebSockets: navigating nested browsing context with a websocket in top-level]
expected: FAIL