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,2 @@
[charset-2.html]
expected: ERROR

View file

@ -0,0 +1,2 @@
[charset-bom.html]
expected: ERROR

View file

@ -0,0 +1,2 @@
[charset.html]
expected: ERROR

View file

@ -0,0 +1,16 @@
[content-type-checking.html]
expected: ERROR
[text/css]
expected: NOTRUN
[application/css]
expected: NOTRUN
[text/html+css]
expected: NOTRUN
[text/css;boundary=something]
expected: NOTRUN
[text/css;foo=bar]
expected: NOTRUN

View file

@ -0,0 +1,9 @@
[cors-crossorigin-requests.html]
[Imported CSS module, cross-origin with CORS]
expected: FAIL
[Imported CSS module, cross-origin, missing CORS ACAO header]
expected: FAIL
[Imported CSS module with parse error, cross-origin, with CORS]
expected: FAIL

View file

@ -0,0 +1,3 @@
[credentials.sub.html]
[CSS Modules should be loaded with or without the credentials based on the same-origin-ness and the crossOrigin attribute]
expected: FAIL

View file

@ -0,0 +1,7 @@
[css-module-worker-test.html]
expected: TIMEOUT
[A dynamic import CSS Module within a web worker should not load and should not attempt to fetch the module.]
expected: TIMEOUT
[An attempt to load a CSS module as a worker should fail.]
expected: NOTRUN

View file

@ -0,0 +1,2 @@
[import-css-module-basic.html]
expected: ERROR

View file

@ -0,0 +1,2 @@
[import-css-module-dynamic.html]
expected: ERROR

View file

@ -0,0 +1,2 @@
[integrity.html]
expected: ERROR

View file

@ -0,0 +1,25 @@
[load-error-events.html]
expected: ERROR
[inline, 200, parser-inserted]
expected: NOTRUN
[inline, 404, parser-inserted]
expected: NOTRUN
[src, 200, parser-inserted]
expected: FAIL
[src, 404, parser-inserted]
expected: FAIL
[src, 200, not parser-inserted]
expected: FAIL
[src, 404, not parser-inserted]
expected: FAIL
[inline, 200, not parser-inserted]
expected: NOTRUN
[inline, 404, not parser-inserted]
expected: NOTRUN

View file

@ -0,0 +1,2 @@
[referrer-policies.sub.html]
expected: ERROR

View file

@ -0,0 +1,2 @@
[relative-urls.html]
expected: ERROR

View file

@ -1,2 +1,3 @@
[integrity.html]
expected: ERROR
[The integrity attribute must be verified on the top-level of a module loading a CSS module and allow it to execute when it matches]
expected: FAIL

View file

@ -0,0 +1,3 @@
[data-url.html]
[Test data URL and scripts errors]
expected: FAIL

View file

@ -0,0 +1,3 @@
[040.html]
[ scheduler: IFRAMEs added with DOM (innerHTML), javascript: URL]
expected: FAIL

View file

@ -0,0 +1,3 @@
[042.html]
[ scheduler: DOM mutation events when adding scripts: DOMNodeInserted ]
expected: FAIL

View file

@ -0,0 +1,3 @@
[043.html]
[ scheduler: DOM mutation events when adding external scripts: DOMNodeInserted ]
expected: FAIL

View file

@ -0,0 +1,3 @@
[044.html]
[ scheduler: DOM mutation events when adding scripts: DOMNodeInsertedIntoDocument ]
expected: FAIL

View file

@ -0,0 +1,3 @@
[045.html]
[ scheduler: DOM mutation events when adding external scripts: DOMNodeInsertedIntoDocument ]
expected: FAIL

View file

@ -0,0 +1,3 @@
[054.html]
[ scheduler: removing newly inserted script from DOMNodeInserted handler - external script ]
expected: FAIL

View file

@ -0,0 +1,3 @@
[055.html]
[ scheduler: removing newly inserted script from DOMNodeInserted handler - inline script ]
expected: FAIL

View file

@ -0,0 +1,3 @@
[083.html]
[ scheduler: event listener defined by script in a document in history]
expected: FAIL

View file

@ -0,0 +1,3 @@
[108.html]
[ scheduler: javascript URL in iframe]
expected: FAIL

View file

@ -0,0 +1,3 @@
[109.html]
[ scheduler: javascript URL in iframe, src set via DOM]
expected: FAIL

View file

@ -0,0 +1,3 @@
[128.html]
[scheduler: appending script element to script ]
expected: FAIL

View file

@ -0,0 +1,3 @@
[131.html]
[scheduler: inline svg script ]
expected: FAIL

View file

@ -0,0 +1,3 @@
[132.html]
[scheduler: external svg script ]
expected: FAIL

View file

@ -0,0 +1,3 @@
[133.html]
[scheduler: inline HTML script added by SVG script ]
expected: FAIL

View file

@ -0,0 +1,3 @@
[134.html]
[scheduler: external HTML script added by SVG script ]
expected: FAIL

View file

@ -0,0 +1,3 @@
[135.html]
[scheduler: external SVG script added by SVG script ]
expected: FAIL

View file

@ -0,0 +1,3 @@
[136.html]
[scheduler: DOM added external SVG script, force-async? ]
expected: FAIL

View file

@ -0,0 +1,3 @@
[138.html]
[scheduler: SVG script nested inlines]
expected: FAIL

View file

@ -0,0 +1,3 @@
[139.html]
[scheduler: SVG script nested external in inline]
expected: FAIL

View file

@ -0,0 +1,3 @@
[140.html]
[scheduler: SVG script nested inline in external]
expected: FAIL

View file

@ -0,0 +1,3 @@
[141.html]
[scheduler: SVG inline script that document.writes inline script ]
expected: FAIL

View file

@ -0,0 +1,3 @@
[142.html]
[scheduler: SVG inline script that document.writes external script ]
expected: FAIL

View file

@ -0,0 +1,3 @@
[143.html]
[scheduler: SVG nested inline script that document.writes inline script ]
expected: FAIL

View file

@ -0,0 +1,3 @@
[144.html]
[scheduler: SVG inline script changing the type attribute ]
expected: FAIL

View file

@ -0,0 +1,3 @@
[145.html]
[scheduler: SVG inline script adding text to empty script ]
expected: FAIL

View file

@ -0,0 +1,3 @@
[147.html]
[scheduler: insert multiple inline scripts; first script moves subsequent scripts ]
expected: FAIL

View file

@ -0,0 +1,3 @@
[148.html]
[scheduler: insert multiple inline scripts; first script deletes subsequent script ]
expected: FAIL

View file

@ -1,5 +1,3 @@
[unsupported-assertion.html]
expected: ERROR
[Test that no error occurs when an unsupported import assertion is provided.]
expected: FAIL

View file

@ -0,0 +1,8 @@
[dynamic-import-with-attributes-argument.any.sharedworker.html]
expected: ERROR
[dynamic-import-with-attributes-argument.any.html]
expected: ERROR
[dynamic-import-with-attributes-argument.any.worker.html]
expected: ERROR

View file

@ -0,0 +1,4 @@
[empty-attributes-clause.html]
expected: ERROR
[Test that no error occurs when an empty import attributes clause is provided.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[invalid-type-attribute-error.html]
[Test that invalid module type attribute leads to TypeError on window.]
expected: FAIL

View file

@ -0,0 +1,2 @@
[charset-2.html]
expected: ERROR

View file

@ -0,0 +1,8 @@
[charset-bom.any.worker.html]
expected: ERROR
[charset-bom.any.html]
expected: ERROR
[charset-bom.any.sharedworker.html]
expected: ERROR

View file

@ -0,0 +1,2 @@
[charset.html]
expected: ERROR

View file

@ -0,0 +1,9 @@
[cors-crossorigin-requests.html]
[Imported JSON module, cross-origin with CORS]
expected: FAIL
[Imported JSON module, cross-origin, missing CORS ACAO header]
expected: FAIL
[Imported JSON module with parse error, cross-origin, with CORS]
expected: FAIL

View file

@ -0,0 +1,3 @@
[credentials.sub.html]
[JSON Modules should be loaded with or without the credentials based on the same-origin-ness and the crossOrigin attribute]
expected: FAIL

View file

@ -0,0 +1,2 @@
[integrity.html]
expected: ERROR

View file

@ -0,0 +1,8 @@
[invalid-content-type.any.sharedworker.html]
expected: ERROR
[invalid-content-type.any.worker.html]
expected: ERROR
[invalid-content-type.any.html]
expected: ERROR

View file

@ -0,0 +1,9 @@
[json-module-service-worker-test.https.html]
[Javascript importing JSON Module should load within the context of a service worker]
expected: FAIL
[Trying to register a service worker with a top-level JSON Module should fail]
expected: FAIL
[JSON Module dynamic import should not load within the context of a service worker]
expected: FAIL

View file

@ -0,0 +1,25 @@
[load-error-events.html]
expected: ERROR
[inline, 200, parser-inserted]
expected: NOTRUN
[inline, 404, parser-inserted]
expected: NOTRUN
[src, 200, parser-inserted]
expected: FAIL
[src, 404, parser-inserted]
expected: FAIL
[src, 200, not parser-inserted]
expected: FAIL
[src, 404, not parser-inserted]
expected: FAIL
[inline, 200, not parser-inserted]
expected: NOTRUN
[inline, 404, not parser-inserted]
expected: NOTRUN

View file

@ -0,0 +1,4 @@
[module.html]
expected: ERROR
[JSON modules]
expected: NOTRUN

View file

@ -0,0 +1,8 @@
[non-object.any.sharedworker.html]
expected: ERROR
[non-object.any.worker.html]
expected: ERROR
[non-object.any.html]
expected: ERROR

View file

@ -0,0 +1,4 @@
[parse-error.html]
expected: TIMEOUT
[JSON modules: parse error]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[referrer-policies.sub.html]
expected: ERROR

View file

@ -0,0 +1,8 @@
[repeated-imports.any.worker.html]
expected: ERROR
[repeated-imports.any.html]
expected: ERROR
[repeated-imports.any.sharedworker.html]
expected: ERROR

View file

@ -0,0 +1,19 @@
[valid-content-type.html]
expected: ERROR
[text/json]
expected: NOTRUN
[application/json]
expected: NOTRUN
[text/html+json]
expected: NOTRUN
[image/svg+json]
expected: NOTRUN
[text/json;boundary=something]
expected: NOTRUN
[text/json;foo=bar]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[charset-02.html]
[UTF-16 module script with UTF-16BE BOM]
expected: FAIL
[UTF-16 module script with UTF-16LE BOM]
expected: FAIL

View file

@ -0,0 +1,3 @@
[dynamic-imports-script-error.html]
[import() must reject with different error objects for each import when there is a instantiation error]
expected: FAIL

View file

@ -0,0 +1,3 @@
[string-compilation-base-url-external-classic.html]
[setTimeout should successfully import]
expected: FAIL

View file

@ -0,0 +1,3 @@
[string-compilation-base-url-external-module.html]
[setTimeout should successfully import]
expected: FAIL

View file

@ -0,0 +1,6 @@
[string-compilation-nonce-classic.html]
[reflected inline event handlers must not inherit the nonce from the triggering script, thus fail]
expected: FAIL
[inline event handlers triggered via UA code must not inherit the nonce from the triggering script, thus fail]
expected: FAIL

View file

@ -0,0 +1,6 @@
[string-compilation-nonce-module.html]
[reflected inline event handlers must not inherit the nonce from the triggering script, thus fail]
expected: FAIL
[inline event handlers triggered via UA code must not inherit the nonce from the triggering script, thus fail]
expected: FAIL

View file

@ -0,0 +1,3 @@
[string-compilation-other-document.html]
[setTimeout should successfully import]
expected: FAIL

View file

@ -0,0 +1,2 @@
[module-import-referrer.html]
expected: ERROR

View file

@ -0,0 +1,18 @@
[referrer-no-referrer.sub.html]
[Importing a same-origin top-level script with the no-referrer policy.]
expected: FAIL
[Importing a remote-origin top-level script with the no-referrer policy.]
expected: FAIL
[Importing a same-origin descendant script from a same-origin top-level script with the no-referrer policy.]
expected: FAIL
[Importing a remote-origin descendant script from a same-origin top-level script with the no-referrer policy.]
expected: FAIL
[Importing a remote-origin descendant script from a remote-origin top-level script with the no-referrer policy.]
expected: FAIL
[Importing a same-origin descendant script from a remote-origin top-level script with the no-referrer policy.]
expected: FAIL

View file

@ -0,0 +1,15 @@
[referrer-origin-when-cross-origin.sub.html]
[Importing a remote-origin top-level script with the origin-when-cross-origin policy.]
expected: FAIL
[Importing a same-origin descendant script from a same-origin top-level script with the origin-when-cross-origin policy.]
expected: FAIL
[Importing a remote-origin descendant script from a same-origin top-level script with the origin-when-cross-origin policy.]
expected: FAIL
[Importing a remote-origin descendant script from a remote-origin top-level script with the origin-when-cross-origin policy.]
expected: FAIL
[Importing a same-origin descendant script from a remote-origin top-level script with the origin-when-cross-origin policy.]
expected: FAIL

View file

@ -0,0 +1,18 @@
[referrer-origin.sub.html]
[Importing a same-origin top-level script with the origin policy.]
expected: FAIL
[Importing a remote-origin top-level script with the origin policy.]
expected: FAIL
[Importing a same-origin descendant script from a same-origin top-level script with the origin policy.]
expected: FAIL
[Importing a remote-origin descendant script from a same-origin top-level script with the origin policy.]
expected: FAIL
[Importing a remote-origin descendant script from a remote-origin top-level script with the origin policy.]
expected: FAIL
[Importing a same-origin descendant script from a remote-origin top-level script with the origin policy.]
expected: FAIL

View file

@ -0,0 +1,18 @@
[referrer-policy-for-descendants.sub.html]
[Parent module delivered with `no-referrer-when-downgrade` policy importing a same-origin descendant script.]
expected: FAIL
[Parent module delivered with `origin` policy importing a same-origin descendant script.]
expected: FAIL
[Parent module delivered with `origin-when-cross-origin` policy importing a cross-origin descendant script.]
expected: FAIL
[Remote parent module delivered with `origin-when-cross-origin` policy importing a same-origin-to-parent-module descendant script.]
expected: FAIL
[Remote parent module delivered with `origin-when-cross-origin` policy importing a cross-origin-to-parent-module descendant script.]
expected: FAIL
[Parent module delivered with invalid policy importing a same-origin descendant script.]
expected: FAIL

View file

@ -0,0 +1,15 @@
[referrer-same-origin.sub.html]
[Importing a remote-origin top-level script with the same-origin policy.]
expected: FAIL
[Importing a same-origin descendant script from a same-origin top-level script with the same-origin policy.]
expected: FAIL
[Importing a remote-origin descendant script from a same-origin top-level script with the same-origin policy.]
expected: FAIL
[Importing a remote-origin descendant script from a remote-origin top-level script with the same-origin policy.]
expected: FAIL
[Importing a same-origin descendant script from a remote-origin top-level script with the same-origin policy.]
expected: FAIL

View file

@ -0,0 +1,12 @@
[referrer-unsafe-url.sub.html]
[Importing a same-origin descendant script from a same-origin top-level script with the unsafe-url policy.]
expected: FAIL
[Importing a remote-origin descendant script from a same-origin top-level script with the unsafe-url policy.]
expected: FAIL
[Importing a remote-origin descendant script from a remote-origin top-level script with the unsafe-url policy.]
expected: FAIL
[Importing a same-origin descendant script from a remote-origin top-level script with the unsafe-url policy.]
expected: FAIL

View file

@ -0,0 +1,18 @@
[muted-errors.sub.html]
[Errors for cross-origin script should be muted]
expected: FAIL
[Errors for cross-origin script should be muted even if the script is once loaded as same-origin]
expected: FAIL
[Errors for same-origin scripts redirected to a cross-origin url and redirected back to same-origin should be muted]
expected: FAIL
[Errors for cross-origin scripts redirected to a same-origin url should be muted]
expected: FAIL
[Non-synthetic errors for same-origin scripts redirected to a cross-origin URL and redirected back to same-origin should be muted]
expected: FAIL
[Syntax error for same-origin script redirected to a cross-origin URL and redirected back to same-origin should be muted]
expected: FAIL

View file

@ -0,0 +1,9 @@
[script-charset-02.html]
[assumption: document encoding is windows-1250]
expected: FAIL
[windows-1250 script decoded using document encoding (also windows-1250)]
expected: FAIL
[UTF-8 script decoded using document encoding (windows-1250)]
expected: FAIL

View file

@ -0,0 +1,6 @@
[node-document.html]
[Parsing XHTML: Node's node document must be set to that of the element to which it will be appended. Test loading XHTML document from a file]
expected: FAIL
[Parsing XHTML: Node's node document must be set to that of the element to which it will be appended. Test loading of XHTML document with nested templates from a file]
expected: FAIL

View file

@ -0,0 +1,6 @@
[template-child-nodes.html]
[Child nodes of template element in XHTML documents must be appended to template content. Test loading XHTML document from a file]
expected: FAIL
[Child nodes of nested template element in XHTML documents must be appended to template content. Test loading XHTML document from a file]
expected: FAIL

View file

@ -0,0 +1,6 @@
[template-content-hierarcy.html]
[Template content should throw when its ancestor is being appended.]
expected: FAIL
[Template content should throw exception when its ancestor in a different document but connected via host is being append.]
expected: FAIL