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

@ -0,0 +1,3 @@
[callback-invoked.html]
[requestAnimationFrame callback is invoked at least once before the timeout]
expected: FAIL

View file

@ -0,0 +1,3 @@
[cancel-pending.html]
[cancelAnimationFrame cancels a pending animation frame callback]
expected: FAIL

View file

@ -1,5 +1,3 @@
[module-dynamic-import.html]
expected: TIMEOUT
[document.write in an imported module]
expected: TIMEOUT
expected: FAIL

View file

@ -1,5 +0,0 @@
[module-tla-immediate-promise.html]
expected: TIMEOUT
[document.write in an imported module]
expected: TIMEOUT

View file

@ -1,5 +1,3 @@
[module-tla-import.html]
expected: TIMEOUT
[document.write in an imported module]
expected: TIMEOUT
expected: FAIL

View file

@ -0,0 +1,13 @@
[abort-refresh-immediate.window.html]
expected: TIMEOUT
[document.open() aborts documents that are queued for navigation through <meta> refresh with timeout 0 (XMLHttpRequest)]
expected: TIMEOUT
[document.open() aborts documents that are queued for navigation through <meta> refresh with timeout 0 (fetch())]
expected: TIMEOUT
[document.open() aborts documents that are queued for navigation through Refresh header with timeout 0 (XMLHttpRequest)]
expected: TIMEOUT
[document.open() aborts documents that are queued for navigation through Refresh header with timeout 0 (fetch())]
expected: TIMEOUT

View file

@ -0,0 +1,10 @@
[abort-refresh-multisecond-header.window.html]
expected: TIMEOUT
[document.open() does NOT abort documents that are queued for navigation through Refresh header with 1-sec timeout (XMLHttpRequest)]
expected: TIMEOUT
[document.open() does NOT abort documents that are queued for navigation through Refresh header with 1-sec timeout (fetch())]
expected: TIMEOUT
[document.open() does NOT abort documents that are queued for navigation through Refresh header with 4-sec timeout (image loading)]
expected: TIMEOUT

View file

@ -0,0 +1,10 @@
[abort-refresh-multisecond-meta.window.html]
expected: TIMEOUT
[document.open() does NOT abort documents that are queued for navigation through <meta> refresh with 1-sec timeout (XMLHttpRequest)]
expected: TIMEOUT
[document.open() does NOT abort documents that are queued for navigation through <meta> refresh with 1-sec timeout (fetch())]
expected: TIMEOUT
[document.open() does NOT abort documents that are queued for navigation through <meta> refresh with 4-sec timeout (image loading)]
expected: TIMEOUT

View file

@ -0,0 +1,19 @@
[abort-while-navigating.window.html]
expected: TIMEOUT
[document.open() aborts documents that are navigating through Location (XMLHttpRequest)]
expected: TIMEOUT
[document.open() aborts documents that are navigating through Location (fetch())]
expected: TIMEOUT
[document.open() aborts documents that are navigating through iframe loading (XMLHttpRequest)]
expected: TIMEOUT
[document.open() aborts documents that are navigating through iframe loading (fetch())]
expected: TIMEOUT
[document.open() aborts documents that are queued for navigation through .click() (XMLHttpRequest)]
expected: TIMEOUT
[document.open() aborts documents that are queued for navigation through .click() (fetch())]
expected: TIMEOUT

View file

@ -0,0 +1,10 @@
[abort.sub.window.html]
expected: TIMEOUT
[document.open() does not abort documents that are not navigating (XMLHttpRequest)]
expected: TIMEOUT
[document.open() does not abort documents that are not navigating (fetch())]
expected: TIMEOUT
[document.open() does not abort documents that are not navigating (image loading)]
expected: TIMEOUT

View file

@ -0,0 +1,12 @@
[active.window.html]
[document.open() removes the document's children (non-active document with an associated Window object; navigated away)]
expected: FAIL
[document.open() removes the document's children (non-active document without an associated Window object; createHTMLDocument)]
expected: FAIL
[document.open() removes the document's children (non-active document without an associated Window object; DOMParser)]
expected: FAIL
[document.open() removes the document's children (non-active document without an associated Window object; XMLHttpRequest)]
expected: FAIL

View file

@ -0,0 +1,10 @@
[bailout-exception-vs-return-origin.sub.window.html]
expected: TIMEOUT
[document.open should throw a SecurityError with cross-origin document even when the ignore-opens-during-unload counter is greater than 0 (during beforeunload event)]
expected: TIMEOUT
[document.open should throw a SecurityError with cross-origin document even when the ignore-opens-during-unload counter is greater than 0 (during pagehide event)]
expected: FAIL
[document.open should throw a SecurityError with cross-origin document even when the ignore-opens-during-unload counter is greater than 0 (during unload event)]
expected: FAIL

View file

@ -0,0 +1,10 @@
[bailout-exception-vs-return-xml.window.html]
expected: TIMEOUT
[document.open should throw an InvalidStateError with XML document even when the ignore-opens-during-unload counter is greater than 0 (during beforeunload event)]
expected: TIMEOUT
[document.open should throw an InvalidStateError with XML document even when the ignore-opens-during-unload counter is greater than 0 (during pagehide event)]
expected: FAIL
[document.open should throw an InvalidStateError with XML document even when the ignore-opens-during-unload counter is greater than 0 (during unload event)]
expected: FAIL

View file

@ -0,0 +1,10 @@
[bailout-side-effects-ignore-opens-during-unload.window.html]
expected: TIMEOUT
[document.open bailout should not have any side effects (ignore-opens-during-unload is greater than 0 during unload event)]
expected: FAIL
[document.open bailout should not have any side effects (ignore-opens-during-unload is greater than 0 during beforeunload event)]
expected: TIMEOUT
[document.open bailout should not have any side effects (ignore-opens-during-unload is greater than 0 during pagehide event)]
expected: FAIL

View file

@ -0,0 +1,3 @@
[document-open-cancels-javascript-url-navigation.html]
[document-open-cancels-javascript-url-navigation]
expected: FAIL

View file

@ -0,0 +1,3 @@
[encoding.window.html]
[doucment.open() and the document's encoding]
expected: FAIL

View file

@ -0,0 +1,18 @@
[event-listeners.window.html]
[Standard event listeners are to be removed from Window]
expected: FAIL
[Standard event listeners are to be removed from Window for an active but not fully active document]
expected: FAIL
[Standard event listeners are to be removed from Window for a non-active document that is the associated Document of a Window (frame is removed)]
expected: FAIL
[Custom event listeners are to be removed from Window for an active but not fully active document]
expected: FAIL
[Event listeners are to be removed with immediate effect]
expected: FAIL
[Event listeners are to be removed from shadow trees as well]
expected: FAIL

View file

@ -0,0 +1,3 @@
[location-set-and-document-open.html]
[Location sets should cancel current navigation and prevent later document.open() from doing anything]
expected: FAIL

View file

@ -0,0 +1,6 @@
[no-new-global.window.html]
[BarProp maintains its prototype and properties through open()]
expected: FAIL
[Location maintains its prototype and properties through open()]
expected: FAIL

View file

@ -0,0 +1,2 @@
[quirks.window.html]
expected: CRASH

View file

@ -0,0 +1,6 @@
[url.window.html]
[document.open() does not change document's URL (active but not fully active document)]
expected: FAIL
[document.open() does not change document's URL (non-active document with an associated Window object; frame is removed)]
expected: FAIL

View file

@ -0,0 +1,9 @@
[queue-microtask-exceptions.any.worker.html]
[queue-microtask-exceptions.any.html]
[queue-microtask-exceptions.any.sharedworker.html]
expected: ERROR
[queue-microtask-exceptions.any.serviceworker.html]
expected: ERROR

View file

@ -0,0 +1,9 @@
[queue-microtask.any.serviceworker.html]
expected: ERROR
[queue-microtask.any.worker.html]
[queue-microtask.any.sharedworker.html]
expected: ERROR
[queue-microtask.any.html]

View file

@ -1,12 +1,3 @@
[compile-event-handler-lexical-scopes-form-owner.html]
[<input> has a form owner]
expected: FAIL
[<img> has a form owner]
expected: FAIL
[<div> doesn't have a form owner]
expected: FAIL
[form-associated <x-foo> has a form owner]
expected: FAIL

View file

@ -0,0 +1,10 @@
[compile-event-handler-lexical-scopes.html]
expected: TIMEOUT
[The EventHandler is an element's event handler and has no form owner.]
expected: FAIL
[The EventHandler is an element's event handler and has a form owner.]
expected: FAIL
[The EventHandler is not an element's event handler (i.e. Window's event handler) and has no form owner.]
expected: TIMEOUT

View file

@ -1,2 +0,0 @@
[frameset-element-synthetic-errorevent.html]
expected: TIMEOUT

View file

@ -1,2 +0,0 @@
[frameset-element-synthetic-event.html]
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[event-handler-removal.window.html]
[Event handler set through content attribute should be deactivated when the content attribute is removed.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[invalid-uncompiled-raw-handler-compiled-late.window.html]
[Invalid uncompiled raw handlers should only be compiled when about to call them]
expected: FAIL

View file

@ -0,0 +1,3 @@
[invalid-uncompiled-raw-handler-compiled-once.window.html]
[Invalid uncompiled raw handlers should only be compiled once]
expected: FAIL

View file

@ -0,0 +1,3 @@
[invalid-uncompiled-raw-handler-keeps-position.window.html]
[Compiling invalid uncompiled raw handlers should keep the position in event listener list]
expected: FAIL

View file

@ -0,0 +1,3 @@
[messageevent-constructor.https.html]
[Passing ServiceWorker for source member]
expected: FAIL

View file

@ -0,0 +1,6 @@
[compile-error-cross-origin.html]
[window.onerror - compile error in <script src=//www1...>]
expected: FAIL
[window.onerror - compile error in <script src=//www1...> (column)]
expected: FAIL

View file

@ -0,0 +1,6 @@
[compile-error-in-attribute.html]
[window.onerror - compile error in attribute]
expected: FAIL
[window.onerror - compile error in attribute (column)]
expected: FAIL

View file

@ -0,0 +1,3 @@
[compile-error-in-setInterval.html]
[window.onerror - compile error in setInterval]
expected: FAIL

View file

@ -0,0 +1,3 @@
[compile-error-in-setTimeout.html]
[window.onerror - compile error in setTimeout]
expected: FAIL

View file

@ -0,0 +1,14 @@
[atomics-wait-async.https.any.html]
[Atomics.waitAsync timeout in a Window]
expected: FAIL
[Atomics.waitAsync notification in a Window]
expected: FAIL
[atomics-wait-async.https.any.worker.html]
[Atomics.waitAsync timeout in a DedicatedWorkerGlobalScope]
expected: FAIL
[Atomics.waitAsync notification in a DedicatedWorkerGlobalScope]
expected: FAIL

View file

@ -0,0 +1,7 @@
[requires-failure.https.any.html]
[[[CanBlock\]\] in a Window]
expected: FAIL
[requires-failure.https.any.serviceworker.html]
expected: ERROR

View file

@ -0,0 +1,6 @@
[requires-success.any.sharedworker.html]
expected: ERROR
[requires-success.any.worker.html]
[[[CanBlock\]\] in a DedicatedWorkerGlobalScope]
expected: FAIL

View file

@ -7,7 +7,7 @@
expected: FAIL
[Sanity check: this all works as expected with no promises involved]
expected: TIMEOUT
expected: FAIL
[Thenable resolution]
expected: FAIL

View file

@ -0,0 +1,6 @@
[promise-job-incumbent.html]
[Fulfillment handler on pending-then-fulfilled promise, using backup incumbent settings object stack]
expected: FAIL
[Rejection handler on pending-then-rejected promise, using backup incumbent settings object stack]
expected: FAIL

View file

@ -0,0 +1,6 @@
[runtime-error-cross-origin.html]
[window.onerror - runtime error in <script src=//www1...>]
expected: FAIL
[window.onerror - runtime error in <script src=//www1...> (column)]
expected: FAIL

View file

@ -0,0 +1,3 @@
[runtime-error-in-setInterval.html]
[window.onerror - runtime error in setInterval]
expected: FAIL

View file

@ -0,0 +1,3 @@
[runtime-error-in-setTimeout.html]
[window.onerror - runtime error in setTimeout]
expected: FAIL

View file

@ -0,0 +1,3 @@
[disallow-crossorigin.html]
[Promise rejection event should be muted for cross-origin non-CORS script]
expected: FAIL

View file

@ -4,3 +4,6 @@
[delayed handling: delaying handling rejected promise created from createImageBitmap will cause both events to fire]
expected: FAIL
[no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from createImageBitmap]
expected: FAIL

View file

@ -4,3 +4,6 @@
[unhandledrejection: from createImageBitmap which is UA triggered]
expected: FAIL
[no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from createImageBitmap]
expected: FAIL

View file

@ -0,0 +1,3 @@
[promise-rejection-events.serviceworker.https.html]
[Service worker setup]
expected: FAIL

View file

@ -0,0 +1,2 @@
[promise-rejection-events.sharedworker.html]
expected: ERROR

View file

@ -0,0 +1,3 @@
[historical.https.window.html]
[registerProtocolHandler has no third argument]
expected: FAIL

View file

@ -0,0 +1,8 @@
[navigator.any.html]
[oscpu]
expected: FAIL
[navigator.any.worker.html]
[taintEnabled]
expected: FAIL

View file

@ -0,0 +1,6 @@
[navigator_user_agent.https.html]
[navigator.userAgentData is exposed.]
expected: FAIL
[navigator.userAgentData returns a UserAgentMetadata object.]
expected: FAIL

View file

@ -724,3 +724,21 @@
[unregisterProtocolHandler: overriding the "Matrix" protocol should work]
expected: FAIL
[registerProtocolHandler: overriding the "ftp" protocol should work]
expected: FAIL
[unregisterProtocolHandler: overriding the "ftp" protocol should work]
expected: FAIL
[registerProtocolHandler: overriding the "ftps" protocol should work]
expected: FAIL
[unregisterProtocolHandler: overriding the "ftps" protocol should work]
expected: FAIL
[registerProtocolHandler: overriding the "sftp" protocol should work]
expected: FAIL
[unregisterProtocolHandler: overriding the "sftp" protocol should work]
expected: FAIL

View file

@ -0,0 +1,9 @@
[Worker_Self_Origin.html]
[Same Origin SharedWorker]
expected: FAIL
[Data Url SharedWorker]
expected: FAIL
[Blob Url SharedWorker]
expected: FAIL

View file

@ -0,0 +1,3 @@
[child-document-raf-order.html]
[Ordering of steps in "Update the Rendering" - child document requestAnimationFrame order]
expected: FAIL