Sync WPT with upstream (07-01-2024) (#31018)

* Update web-platform-tests to revision b'ecbab417501c89bca2265314e35719a950b07e02'

* update expectation for service-worker-registration.https.html.ini

The expectation of CRASH was added during the import
seemingly due to an intermittent crash in CI. The test is
no longer crashing.

---------

Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
Servo WPT Sync 2024-01-08 00:36:08 -05:00 committed by GitHub
parent 79a0f76d26
commit 527119aebb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
180 changed files with 2043 additions and 336 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,6 @@
[media.html]
[Should not load audio with dangling markup in URL]
expected: FAIL
[Should not load video with dangling markup in URL]
expected: FAIL

View file

@ -0,0 +1,18 @@
[option.html]
[ <form action="/resource-timing/resources/document-navigated.html" method="post"> <input type="submit"> <select name="dangling"><option> ]
expected: FAIL
[ <div> <form action="/resource-timing/resources/document-navigated.html" method="post"> <input type="submit"> <select name="dangling"><option> ]
expected: FAIL
[ <form action="/resource-timing/resources/document-navigated.html" method="post" id="form"> <input type="submit"> </form> <select name="dangling" form="form"><option> ]
expected: FAIL
[ <form action="/resource-timing/resources/document-navigated.html" method="post"> <input type="submit"> <select name="dangling"><option label="yay"> ]
expected: FAIL
[ <div> <form action="/resource-timing/resources/document-navigated.html" method="post"> <input type="submit"> <select name="dangling"><option label="yay"> ]
expected: FAIL
[ <form action="/resource-timing/resources/document-navigated.html" method="post" id="form"> <input type="submit"> </form> <select name="dangling" form="form"><option label="yay"> ]
expected: FAIL

View file

@ -0,0 +1,9 @@
[textarea.html]
[ <form action="/resource-timing/resources/document-navigated.html" method="post"> <input type="submit"> <textarea name="dangling"> ]
expected: FAIL
[ <div> <form action="/resource-timing/resources/document-navigated.html" method="post"> <input type="submit"> <textarea name="dangling"> ]
expected: FAIL
[ <form action="/resource-timing/resources/document-navigated.html" method="post" id="form"> <input type="submit"> </form> <textarea name="dangling" form="form"> ]
expected: FAIL