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,21 @@
[dangling-markup-mitigation-data-url.tentative.sub.html]
[<img id="dangling" src="data:image/svg+xml;utf8,\\n <svg width='1' height='1' xmlns='http://www.w3.org/2000/svg'>\\n <rect width='100%' height='100%' fill='rebeccapurple'/>\\n <rect x='10%' y='10%' width='80%' height='80%' fill='lightgreen'/>\\n </svg>">]
expected: FAIL
[<iframe id="dangling"\\n src="data:text/html,\\n <img\\n onload='window.parent.postMessage(&quot;loaded&quot;, &quot;*&quot;);'\\n onerror='window.parent.postMessage(&quot;error&quot;, &quot;*&quot;);'\\n src='http://web-platform.test:8000/images/gr&#10;een-256x256.png?&lt;'>\\n ">\\n </iframe>]
expected: FAIL
[<iframe id="dangling"\\n src=" data:text/html,\\n <img\\n onload='window.parent.postMessage(&quot;loaded&quot;, &quot;*&quot;);'\\n onerror='window.parent.postMessage(&quot;error&quot;, &quot;*&quot;);'\\n src='http://web-platform.test:8000/images/gr&#10;een-256x256.png?&lt;'>\\n ">\\n </iframe>]
expected: FAIL
[<iframe id="dangling"\\n src="\\ndata:text/html,\\n <img\\n onload='window.parent.postMessage(&quot;loaded&quot;, &quot;*&quot;);'\\n onerror='window.parent.postMessage(&quot;error&quot;, &quot;*&quot;);'\\n src='http://web-platform.test:8000/images/gr&#10;een-256x256.png?&lt;'>\\n ">\\n </iframe>]
expected: FAIL
[<iframe id="dangling"\\n src="&#10;data:text/html,\\n <img\\n onload='window.parent.postMessage(&quot;loaded&quot;, &quot;*&quot;);'\\n onerror='window.parent.postMessage(&quot;error&quot;, &quot;*&quot;);'\\n src='http://web-platform.test:8000/images/gr&#10;een-256x256.png?&lt;'>\\n ">\\n </iframe>]
expected: FAIL
[<iframe id="dangling"\\n src="\\tdata:text/html,\\n <img\\n onload='window.parent.postMessage(&quot;loaded&quot;, &quot;*&quot;);'\\n onerror='window.parent.postMessage(&quot;error&quot;, &quot;*&quot;);'\\n src='http://web-platform.test:8000/images/gr&#10;een-256x256.png?&lt;'>\\n ">\\n </iframe>]
expected: FAIL
[<iframe id="dangling"\\n src="\\rdata:text/html,\\n <img\\n onload='window.parent.postMessage(&quot;loaded&quot;, &quot;*&quot;);'\\n onerror='window.parent.postMessage(&quot;error&quot;, &quot;*&quot;);'\\n src='http://web-platform.test:8000/images/gr&#10;een-256x256.png?&lt;'>\\n ">\\n </iframe>]
expected: FAIL

View file

@ -0,0 +1,27 @@
[dangling-markup-mitigation.tentative.html]
[Fetch: /images/gre\\nen-1x1.png?img=<]
expected: FAIL
[Fetch: /images/gre\\ren-1x1.png?img=<]
expected: FAIL
[Fetch: /images/gre\\ten-1x1.png?img=<]
expected: FAIL
[Fetch: /images/green-1x1.png?<\\n=block]
expected: FAIL
[Fetch: /images/green-1x1.png?<\\r=block]
expected: FAIL
[Fetch: /images/green-1x1.png?<\\t=block]
expected: FAIL
[<img id="dangling" src="/images/green-1x1.png?img=&#10;&lt;b">]
expected: FAIL
[<img id="dangling" src="/images/green-1x1.png?img=&lt;&#10;b">]
expected: FAIL
[\\n <img id="dangling" src="/images/green-1x1.png?img=\\n &lt;\\n &#10;b\\n ">\\n ]
expected: FAIL

View file

@ -0,0 +1,12 @@
[embedded-credentials.tentative.sub.html]
[Embedded credentials are treated as network errors.]
expected: FAIL
[Embedded credentials are treated as network errors in frames.]
expected: FAIL
[Embedded credentials are treated as network errors in new windows.]
expected: FAIL
[Embedded credentials matching the top-level are treated as network errors for cross-origin URLs.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[redirect-to-url-with-credentials.https.html]
expected: TIMEOUT
[Frame loading after a redirect with an URL containing credentials]
expected: TIMEOUT