mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 38bc0248d6de92451d8d1c180056dbae0564606c
This commit is contained in:
parent
e0bbe82f76
commit
8b930e61dd
118 changed files with 1216 additions and 173 deletions
|
@ -4,7 +4,7 @@
|
||||||
expected: TIMEOUT
|
expected: TIMEOUT
|
||||||
|
|
||||||
[Opening a blob URL in a new window immediately before revoking it works.]
|
[Opening a blob URL in a new window immediately before revoking it works.]
|
||||||
expected: TIMEOUT
|
expected: FAIL
|
||||||
|
|
||||||
[Fetching a blob URL immediately before revoking it works in an iframe.]
|
[Fetching a blob URL immediately before revoking it works in an iframe.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[hit-test-floats-002.html]
|
|
||||||
[Hit test float]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[hit-test-floats-004.html]
|
[hit-test-floats-003.html]
|
||||||
[Miss float below something else]
|
[Miss float below something else]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[hit-test-floats-005.html]
|
||||||
|
[Miss clipped float]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
[flex-aspect-ratio-img-column-011.html]
|
[flex-aspect-ratio-img-column-011.html]
|
||||||
[.flexbox 10]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[.flexbox 5]
|
[.flexbox 5]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -14,18 +11,3 @@
|
||||||
[.flexbox 8]
|
[.flexbox 8]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[.flexbox 4]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[.flexbox 6]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[.flexbox 1]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[.flexbox 3]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[.flexbox 9]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[flex-aspect-ratio-img-column-017.html]
|
||||||
|
[img 1]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[elementFromPoint-001.html]
|
|
||||||
[CSSOM View - 5 - extensions to the Document interface]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[elementsFromPoint-invalid-cases.html]
|
||||||
|
[The root element is the last element returned for otherwise empty queries within the viewport]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
[is-where-visited.html]
|
||||||
|
expected: FAIL
|
|
@ -321,12 +321,15 @@
|
||||||
[<iframe>: separate response Content-Type: text/html */*]
|
[<iframe>: separate response Content-Type: text/html */*]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
|
[<iframe>: combined response Content-Type: text/html;" text/plain]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
|
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[<iframe>: separate response Content-Type: text/html;" text/plain]
|
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -56,6 +56,3 @@
|
||||||
[separate text/javascript x/x]
|
[separate text/javascript x/x]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[separate text/javascript ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,6 @@
|
||||||
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
|
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[X-Content-Type-Options%3A%20%22nosniFF%22]
|
[Content-Type-Options%3A%20nosniff]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[traverse_the_history_1.html]
|
|
||||||
[Multiple history traversals from the same task]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[traverse_the_history_2.html]
|
|
||||||
[Multiple history traversals, last would be aborted]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[traverse_the_history_4.html]
|
|
||||||
[Multiple history traversals, last would be aborted]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[traverse_the_history_5.html]
|
|
||||||
[Multiple history traversals, last would be aborted]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
[cross-origin-objects-on-new-window.html]
|
|
||||||
expected: TIMEOUT
|
|
|
@ -1,7 +1,8 @@
|
||||||
[embedded-opener-remove-frame.html]
|
[embedded-opener-remove-frame.html]
|
||||||
|
expected: TIMEOUT
|
||||||
[opener of discarded nested browsing context]
|
[opener of discarded nested browsing context]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[opener of discarded auxiliary browsing context]
|
[opener of discarded auxiliary browsing context]
|
||||||
expected: FAIL
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[2d.text.drawing.style.fontKerning.html]
|
||||||
|
[Testing basic functionalities of fontKerning for canvas]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[2d.text.drawing.style.fontKerning.with.uppercase.html]
|
||||||
|
[Testing basic functionalities of fontKerning for canvas]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[2d.text.drawing.style.spacing.html]
|
||||||
|
[Testing baselines]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[2d.text.drawing.style.fontKerning.html]
|
||||||
|
[Testing basic functionalities of fontKerning for canvas]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[2d.text.drawing.style.fontKerning.with.uppercase.html]
|
||||||
|
[Testing basic functionalities of fontKerning for canvas]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[2d.text.drawing.style.fontKerning.with.uppercase.worker.html]
|
||||||
|
[Testing basic functionalities of fontKerning for canvas]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[2d.text.drawing.style.fontKerning.worker.html]
|
||||||
|
[Testing basic functionalities of fontKerning for canvas]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[2d.text.drawing.style.spacing.html]
|
||||||
|
[Testing baselines]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[2d.text.drawing.style.spacing.worker.html]
|
||||||
|
[Testing baselines]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -1,17 +1,16 @@
|
||||||
[supported-elements.html]
|
[supported-elements.html]
|
||||||
expected: TIMEOUT
|
|
||||||
[Contenteditable element should support autofocus]
|
[Contenteditable element should support autofocus]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Host element with delegatesFocus including no focusable descendants should be skipped]
|
[Host element with delegatesFocus including no focusable descendants should be skipped]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
[Element with tabindex should support autofocus]
|
[Element with tabindex should support autofocus]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Area element should support autofocus]
|
[Area element should support autofocus]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
[Host element with delegatesFocus should support autofocus]
|
[Host element with delegatesFocus should support autofocus]
|
||||||
expected: TIMEOUT
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -171,3 +171,6 @@
|
||||||
[XHTML img usemap="#hash-id"]
|
[XHTML img usemap="#hash-id"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTML (standards) IMG usemap="no-hash-name"]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[iframe_sandbox_popups_escaping-2.html]
|
[iframe_sandbox_popups_escaping-2.html]
|
||||||
expected: CRASH
|
expected: TIMEOUT
|
||||||
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
||||||
expected: TIMEOUT
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[iframe_sandbox_popups_escaping-3.html]
|
[iframe_sandbox_popups_escaping-3.html]
|
||||||
expected: CRASH
|
|
||||||
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
||||||
expected: TIMEOUT
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[iframe_sandbox_popups_nonescaping-1.html]
|
[iframe_sandbox_popups_nonescaping-1.html]
|
||||||
expected: CRASH
|
expected: TIMEOUT
|
||||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||||
expected: NOTRUN
|
expected: NOTRUN
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[iframe_sandbox_popups_nonescaping-2.html]
|
[iframe_sandbox_popups_nonescaping-2.html]
|
||||||
expected: TIMEOUT
|
expected: CRASH
|
||||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||||
expected: NOTRUN
|
expected: NOTRUN
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[form-double-submit.html]
|
||||||
|
[default submit action should supersede onclick submit()]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[iframe_005.html]
|
||||||
|
[document.write external script into iframe write back into parent]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[module-delayed.html]
|
|
||||||
[async document.write in a module]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[module-static-import-delayed.html]
|
|
||||||
[document.write in an imported module]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[ignore-opens-during-unload.window.html]
|
[ignore-opens-during-unload.window.html]
|
||||||
expected: TIMEOUT
|
expected: CRASH
|
||||||
[document.open should bail out when ignore-opens-during-unload is greater than 0 during visibilitychange event (open(parent) while unloading parent and child)]
|
[document.open should bail out when ignore-opens-during-unload is greater than 0 during visibilitychange event (open(parent) while unloading parent and child)]
|
||||||
expected: TIMEOUT
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
|
@ -149,3 +149,9 @@
|
||||||
[< [buffer-stitching-2\] 2 out of 3 assertions were failed.]
|
[< [buffer-stitching-2\] 2 out of 3 assertions were failed.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[X SNR (43.82404088230102 dB) is not greater than or equal to 65.737. Got 43.82404088230102.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[X Stitched sine-wave buffers at sample rate 43800 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[28696\]\t5.0039952650265951e-13\t9.3139332532882690e-1\t9.3139332532832653e-1\t9.9999999999946276e-1\t3.8985999999999999e-3\n\t[28697\]\t7.0477002859115601e-1\t9.0675884485244751e-1\t2.0198881626129150e-1\t2.2275913536212616e-1\t3.8985999999999999e-3\n\tMax AbsError of 9.3139332532832653e-1 at index of 28696.\n\tMax RelError of 9.9999999999946276e-1 at index of 28696.\n]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
[018.html]
|
|
||||||
expected: TIMEOUT
|
|
||||||
[origin of the script that invoked the method, javascript:]
|
|
||||||
expected: TIMEOUT
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Opening a blob URL in a new window immediately before revoking it works.]
|
[Opening a blob URL in a new window immediately before revoking it works.]
|
||||||
expected: TIMEOUT
|
expected: FAIL
|
||||||
|
|
||||||
[Opening a blob URL in a noopener about:blank window immediately before revoking it works.]
|
[Opening a blob URL in a noopener about:blank window immediately before revoking it works.]
|
||||||
expected: TIMEOUT
|
expected: TIMEOUT
|
||||||
|
|
|
@ -137149,7 +137149,7 @@
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"align-items-007.html": [
|
"align-items-007.html": [
|
||||||
"01e8f001a8a39c8726cf9a9453dfad07d0e1b83a",
|
"704c82fc6ad92410ff50ba4e5bbe02913ab33fe9",
|
||||||
[
|
[
|
||||||
null,
|
null,
|
||||||
[
|
[
|
||||||
|
@ -139062,7 +139062,7 @@
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"flex-minimum-height-flex-items-007.xht": [
|
"flex-minimum-height-flex-items-007.xht": [
|
||||||
"e0e612627482d576acb6dd0857cc9f78f7cfa9e4",
|
"790ecb9141e40ecd583d0541cabb52939d5cfa37",
|
||||||
[
|
[
|
||||||
null,
|
null,
|
||||||
[
|
[
|
||||||
|
@ -221351,8 +221351,21 @@
|
||||||
{}
|
{}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
"is-where-visited.html": [
|
||||||
|
"5025b0a10a209092e54fd0e0ef9b07e296bb381a",
|
||||||
|
[
|
||||||
|
null,
|
||||||
|
[
|
||||||
|
[
|
||||||
|
"/css/selectors/is-where-visited-ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
{}
|
||||||
|
]
|
||||||
|
],
|
||||||
"not-links.html": [
|
"not-links.html": [
|
||||||
"d49a86fd0ea710d8fd36798e84034f3042e58e81",
|
"58cef1a282e8e5a2d7ce17d614e9c4b15ce1ccf6",
|
||||||
[
|
[
|
||||||
null,
|
null,
|
||||||
[
|
[
|
||||||
|
@ -257842,7 +257855,47 @@
|
||||||
"sec-ch-quotes.https.html.headers": [
|
"sec-ch-quotes.https.html.headers": [
|
||||||
"1e99ac7203b350ea80c24f4737ede4363fa8efeb",
|
"1e99ac7203b350ea80c24f4737ede4363fa8efeb",
|
||||||
[]
|
[]
|
||||||
]
|
],
|
||||||
|
"service-workers": {
|
||||||
|
"intercept-request.https.html.headers": [
|
||||||
|
"91ee40652f06508478bb776bf4068fd61277cef3",
|
||||||
|
[]
|
||||||
|
],
|
||||||
|
"new-request.https.html.headers": [
|
||||||
|
"91ee40652f06508478bb776bf4068fd61277cef3",
|
||||||
|
[]
|
||||||
|
],
|
||||||
|
"passthrough-request.https.html.headers": [
|
||||||
|
"91ee40652f06508478bb776bf4068fd61277cef3",
|
||||||
|
[]
|
||||||
|
],
|
||||||
|
"resources": {
|
||||||
|
"echo-hint-in-html.py": [
|
||||||
|
"c1d99cb5c5ed7638cdf8db104379295921a96f3f",
|
||||||
|
[]
|
||||||
|
],
|
||||||
|
"foo.html": [
|
||||||
|
"ba578e48b183662ddf9b38682cc52fb80066ce6d",
|
||||||
|
[]
|
||||||
|
],
|
||||||
|
"intercept-request.js": [
|
||||||
|
"b85e6e9c22800b855ed24f2f010c57a29a630ca5",
|
||||||
|
[]
|
||||||
|
],
|
||||||
|
"new-request.js": [
|
||||||
|
"395c77183e1925245b73c46e6f323c905d0b2370",
|
||||||
|
[]
|
||||||
|
],
|
||||||
|
"passthrough-request.js": [
|
||||||
|
"5541c5eb55673c2a07f826f4c575350b0ec0abc2",
|
||||||
|
[]
|
||||||
|
],
|
||||||
|
"util.js": [
|
||||||
|
"5692cd8918f9d3dac237f5b3c28d7d8baaf7ea08",
|
||||||
|
[]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"clipboard-apis": {
|
"clipboard-apis": {
|
||||||
"META.yml": [
|
"META.yml": [
|
||||||
|
@ -325852,8 +325905,12 @@
|
||||||
"3a17efedfbbaa0558ab73a16aef42ce626e27b7d",
|
"3a17efedfbbaa0558ab73a16aef42ce626e27b7d",
|
||||||
[]
|
[]
|
||||||
],
|
],
|
||||||
|
"is-where-visited-ref.html": [
|
||||||
|
"c8243ac73199435f3a7dc0da0bd839fed9a77a14",
|
||||||
|
[]
|
||||||
|
],
|
||||||
"not-links-ref.html": [
|
"not-links-ref.html": [
|
||||||
"1efe5943f4e33eb0046fa89dfac8a97eeff3da85",
|
"1b2515a5cd1ec257fa8ebda2041699f5d4d09230",
|
||||||
[]
|
[]
|
||||||
],
|
],
|
||||||
"of-type-selectors-ref.xhtml": [
|
"of-type-selectors-ref.xhtml": [
|
||||||
|
@ -337492,7 +337549,7 @@
|
||||||
[]
|
[]
|
||||||
],
|
],
|
||||||
"drawing-text-to-the-canvas.yaml": [
|
"drawing-text-to-the-canvas.yaml": [
|
||||||
"31e85a7ea98c55c767dbaccdeac03e7e33141734",
|
"a00caef1764fcced8f51673e08e4738d95df6a4f",
|
||||||
[]
|
[]
|
||||||
],
|
],
|
||||||
"fill-and-stroke-styles.yaml": [
|
"fill-and-stroke-styles.yaml": [
|
||||||
|
@ -337586,7 +337643,7 @@
|
||||||
[]
|
[]
|
||||||
],
|
],
|
||||||
"text.yaml": [
|
"text.yaml": [
|
||||||
"7edd25e7cb04694a9c97d94ce6578724cd80b61c",
|
"280f4335ae2bae7bfa09ff1d87951f2bcfe3af53",
|
||||||
[]
|
[]
|
||||||
],
|
],
|
||||||
"the-canvas-state.yaml": [
|
"the-canvas-state.yaml": [
|
||||||
|
@ -348474,7 +348531,7 @@
|
||||||
[]
|
[]
|
||||||
],
|
],
|
||||||
"worklets.idl": [
|
"worklets.idl": [
|
||||||
"8f5154e8509e41ac4dbb761319555897aad8a8c8",
|
"9c12f6ff9251a67b46ad3050f04388ca3c3c2e61",
|
||||||
[]
|
[]
|
||||||
],
|
],
|
||||||
"xhr.idl": [
|
"xhr.idl": [
|
||||||
|
@ -389737,7 +389794,30 @@
|
||||||
null,
|
null,
|
||||||
{}
|
{}
|
||||||
]
|
]
|
||||||
]
|
],
|
||||||
|
"service-workers": {
|
||||||
|
"intercept-request.https.html": [
|
||||||
|
"00e024b7b64ee312515da0f12bc7082be8d80617",
|
||||||
|
[
|
||||||
|
null,
|
||||||
|
{}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"new-request.https.html": [
|
||||||
|
"006ec24e8b54a53bbeb9e3a9db1a58a0a10a8d9a",
|
||||||
|
[
|
||||||
|
null,
|
||||||
|
{}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"passthrough-request.https.html": [
|
||||||
|
"8dca4240985b5cb7d221467860202445482e27e2",
|
||||||
|
[
|
||||||
|
null,
|
||||||
|
{}
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"clipboard-apis": {
|
"clipboard-apis": {
|
||||||
"async-html-script-removal.https.html": [
|
"async-html-script-removal.https.html": [
|
||||||
|
@ -400458,7 +400538,14 @@
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"flex-aspect-ratio-img-column-011.html": [
|
"flex-aspect-ratio-img-column-011.html": [
|
||||||
"66cb0e015f6618eb7cc3daee99f29ddbf7ed4729",
|
"6a0adb70dfd4886d25036104c1d72be90b564718",
|
||||||
|
[
|
||||||
|
null,
|
||||||
|
{}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"flex-aspect-ratio-img-column-017.html": [
|
||||||
|
"b2b97f0a31cfc7e67a67946b1cbad6ef0fbdbda8",
|
||||||
[
|
[
|
||||||
null,
|
null,
|
||||||
{}
|
{}
|
||||||
|
@ -425631,6 +425718,13 @@
|
||||||
{}
|
{}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
"Element-setAttribute-crbug-1138487.html": [
|
||||||
|
"9aa9ed8139eedd1341950b4e986d16ab7d51437f",
|
||||||
|
[
|
||||||
|
null,
|
||||||
|
{}
|
||||||
|
]
|
||||||
|
],
|
||||||
"Element-setAttribute.html": [
|
"Element-setAttribute.html": [
|
||||||
"7609406815e5cab63a3fbb9f3a62ed386c80738a",
|
"7609406815e5cab63a3fbb9f3a62ed386c80738a",
|
||||||
[
|
[
|
||||||
|
@ -450164,6 +450258,27 @@
|
||||||
{}
|
{}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
"2d.text.drawing.style.fontKerning.html": [
|
||||||
|
"b422b311276e854f5b9f0633bfba52fc7bc967c2",
|
||||||
|
[
|
||||||
|
null,
|
||||||
|
{}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"2d.text.drawing.style.fontKerning.with.uppercase.html": [
|
||||||
|
"db4adf73f09bf895e95b3e81b20962772ee7799e",
|
||||||
|
[
|
||||||
|
null,
|
||||||
|
{}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"2d.text.drawing.style.spacing.html": [
|
||||||
|
"a4ec083311ba0cdb32babf9b4e3351111c29ade5",
|
||||||
|
[
|
||||||
|
null,
|
||||||
|
{}
|
||||||
|
]
|
||||||
|
],
|
||||||
"2d.text.measure.actualBoundingBox.html": [
|
"2d.text.measure.actualBoundingBox.html": [
|
||||||
"44cff25d1afa82ba5f960784548b81e50025e787",
|
"44cff25d1afa82ba5f960784548b81e50025e787",
|
||||||
[
|
[
|
||||||
|
@ -464563,6 +464678,48 @@
|
||||||
{}
|
{}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
"2d.text.drawing.style.fontKerning.html": [
|
||||||
|
"88b56c7562d388762d837a00e0f8389b8709c0d8",
|
||||||
|
[
|
||||||
|
null,
|
||||||
|
{}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"2d.text.drawing.style.fontKerning.with.uppercase.html": [
|
||||||
|
"5e394dba50a74da6c4ef07c40af1e4cbb7163df2",
|
||||||
|
[
|
||||||
|
null,
|
||||||
|
{}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"2d.text.drawing.style.fontKerning.with.uppercase.worker.js": [
|
||||||
|
"df3cd661884c38058326dd2e61084a9312fb952c",
|
||||||
|
[
|
||||||
|
"html/canvas/offscreen/text/2d.text.drawing.style.fontKerning.with.uppercase.worker.html",
|
||||||
|
{}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"2d.text.drawing.style.fontKerning.worker.js": [
|
||||||
|
"d26bdec6ccf09e2153e393fadb594cf99e972fa7",
|
||||||
|
[
|
||||||
|
"html/canvas/offscreen/text/2d.text.drawing.style.fontKerning.worker.html",
|
||||||
|
{}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"2d.text.drawing.style.spacing.html": [
|
||||||
|
"d3cf89ad7be91fda67b7f5e005533293b1581e0e",
|
||||||
|
[
|
||||||
|
null,
|
||||||
|
{}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"2d.text.drawing.style.spacing.worker.js": [
|
||||||
|
"0499b310b1eeaac3bd16b4c3dd957dcd7c0b5aad",
|
||||||
|
[
|
||||||
|
"html/canvas/offscreen/text/2d.text.drawing.style.spacing.worker.html",
|
||||||
|
{}
|
||||||
|
]
|
||||||
|
],
|
||||||
"2d.text.font.default.html": [
|
"2d.text.font.default.html": [
|
||||||
"0d355729a6bdc843915e4324f07ae26c11aca4f9",
|
"0d355729a6bdc843915e4324f07ae26c11aca4f9",
|
||||||
[
|
[
|
||||||
|
@ -523989,6 +524146,13 @@
|
||||||
{}
|
{}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
"SVGElement.className-01.svg": [
|
||||||
|
"38121356a6682f9c184c5b0ed50839211361c515",
|
||||||
|
[
|
||||||
|
null,
|
||||||
|
{}
|
||||||
|
]
|
||||||
|
],
|
||||||
"SVGGeometryElement.getPointAtLength-01.svg": [
|
"SVGGeometryElement.getPointAtLength-01.svg": [
|
||||||
"e268386b64e256383b606aa02ac1497e380d8f3f",
|
"e268386b64e256383b606aa02ac1497e380d8f3f",
|
||||||
[
|
[
|
||||||
|
@ -524779,7 +524943,7 @@
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"trusted-types-reporting.tentative.html": [
|
"trusted-types-reporting.tentative.html": [
|
||||||
"5d9cd8b04eabbe7cf237bc0c25d0f3417d491c2a",
|
"1e9d20d308f0027febaa96b0c9f952af7adb3555",
|
||||||
[
|
[
|
||||||
null,
|
null,
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[hit-test-floats-002.html]
|
|
||||||
[Hit test float]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[hit-test-floats-004.html]
|
[hit-test-floats-003.html]
|
||||||
[Miss float below something else]
|
[Miss float below something else]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[hit-test-floats-005.html]
|
||||||
|
[Miss clipped float]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
[flex-aspect-ratio-img-column-011.html]
|
[flex-aspect-ratio-img-column-011.html]
|
||||||
[.flexbox 10]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[.flexbox 5]
|
[.flexbox 5]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[flex-aspect-ratio-img-column-017.html]
|
||||||
|
[img 1]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[elementFromPoint-001.html]
|
|
||||||
[CSSOM View - 5 - extensions to the Document interface]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[elementsFromPoint-invalid-cases.html]
|
||||||
|
[The root element is the last element returned for otherwise empty queries within the viewport]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
[is-where-visited.html]
|
||||||
|
expected: FAIL
|
|
@ -321,12 +321,15 @@
|
||||||
[<iframe>: separate response Content-Type: text/html */*]
|
[<iframe>: separate response Content-Type: text/html */*]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
|
[<iframe>: combined response Content-Type: text/html;" text/plain]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
|
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[<iframe>: separate response Content-Type: text/html;" text/plain]
|
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -56,6 +56,3 @@
|
||||||
[separate text/javascript x/x]
|
[separate text/javascript x/x]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[separate text/javascript ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,6 @@
|
||||||
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
|
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[X-Content-Type-Options%3A%20%22nosniFF%22]
|
[Content-Type-Options%3A%20nosniff]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[traverse_the_history_1.html]
|
|
||||||
[Multiple history traversals from the same task]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[traverse_the_history_2.html]
|
|
||||||
[Multiple history traversals, last would be aborted]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[traverse_the_history_4.html]
|
|
||||||
[Multiple history traversals, last would be aborted]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[traverse_the_history_5.html]
|
|
||||||
[Multiple history traversals, last would be aborted]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
[cross-origin-objects-on-new-window.html]
|
|
||||||
expected: TIMEOUT
|
|
|
@ -1,4 +1,5 @@
|
||||||
[embedded-opener-remove-frame.html]
|
[embedded-opener-remove-frame.html]
|
||||||
|
expected: TIMEOUT
|
||||||
[opener and "removed" embedded documents]
|
[opener and "removed" embedded documents]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -6,5 +7,5 @@
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[opener of discarded auxiliary browsing context]
|
[opener of discarded auxiliary browsing context]
|
||||||
expected: FAIL
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[2d.text.drawing.style.fontKerning.html]
|
||||||
|
[Testing basic functionalities of fontKerning for canvas]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[2d.text.drawing.style.fontKerning.with.uppercase.html]
|
||||||
|
[Testing basic functionalities of fontKerning for canvas]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[2d.text.drawing.style.spacing.html]
|
||||||
|
[Testing baselines]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[2d.text.drawing.style.fontKerning.html]
|
||||||
|
[Testing basic functionalities of fontKerning for canvas]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[2d.text.drawing.style.fontKerning.with.uppercase.html]
|
||||||
|
[Testing basic functionalities of fontKerning for canvas]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[2d.text.drawing.style.fontKerning.with.uppercase.worker.html]
|
||||||
|
[Testing basic functionalities of fontKerning for canvas]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[2d.text.drawing.style.fontKerning.worker.html]
|
||||||
|
[Testing basic functionalities of fontKerning for canvas]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[2d.text.drawing.style.spacing.html]
|
||||||
|
[Testing baselines]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[2d.text.drawing.style.spacing.worker.html]
|
||||||
|
[Testing baselines]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[supported-elements.html]
|
[supported-elements.html]
|
||||||
expected: TIMEOUT
|
|
||||||
[Contenteditable element should support autofocus]
|
[Contenteditable element should support autofocus]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -7,11 +6,11 @@
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Host element with delegatesFocus including no focusable descendants should be skipped]
|
[Host element with delegatesFocus including no focusable descendants should be skipped]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
[Area element should support autofocus]
|
[Area element should support autofocus]
|
||||||
expected: NOTRUN
|
expected: FAIL
|
||||||
|
|
||||||
[Host element with delegatesFocus should support autofocus]
|
[Host element with delegatesFocus should support autofocus]
|
||||||
expected: TIMEOUT
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -172,3 +172,6 @@
|
||||||
[XHTML img usemap="http://example.org/#garbage-before-hash-id"]
|
[XHTML img usemap="http://example.org/#garbage-before-hash-id"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTML (standards) IMG usemap="no-hash-name"]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[iframe_sandbox_popups_escaping-2.html]
|
[iframe_sandbox_popups_escaping-2.html]
|
||||||
expected: CRASH
|
expected: TIMEOUT
|
||||||
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
||||||
expected: TIMEOUT
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
[iframe_sandbox_popups_escaping-3.html]
|
[iframe_sandbox_popups_escaping-3.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: CRASH
|
|
||||||
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
|
||||||
expected: TIMEOUT
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[iframe_sandbox_popups_nonescaping-1.html]
|
[iframe_sandbox_popups_nonescaping-1.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: CRASH
|
expected: TIMEOUT
|
||||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||||
expected: NOTRUN
|
expected: NOTRUN
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[iframe_sandbox_popups_nonescaping-2.html]
|
[iframe_sandbox_popups_nonescaping-2.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: TIMEOUT
|
expected: CRASH
|
||||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||||
expected: NOTRUN
|
expected: NOTRUN
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[form-double-submit.html]
|
||||||
|
[default submit action should supersede onclick submit()]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[iframe_005.html]
|
||||||
|
[document.write external script into iframe write back into parent]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[module-delayed.html]
|
|
||||||
[async document.write in a module]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[module-static-import-delayed.html]
|
|
||||||
[document.write in an imported module]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[ignore-opens-during-unload.window.html]
|
[ignore-opens-during-unload.window.html]
|
||||||
expected: TIMEOUT
|
expected: CRASH
|
||||||
[ignore-opens-during-unload]
|
[ignore-opens-during-unload]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -377,3 +377,9 @@
|
||||||
[X Stitched sine-wave buffers at sample rate 43800 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[28696\]\t-2.1886497270315886e-3\t9.3139332532882690e-1\t9.3358197505585849e-1\t1.0023498662353618e+0\t3.8985999999999999e-3\n\t[28697\]\t7.0477002859115601e-1\t9.0675884485244751e-1\t2.0198881626129150e-1\t2.2275913536212616e-1\t3.8985999999999999e-3\n\tMax AbsError of 9.3358197505585849e-1 at index of 28696.\n\tMax RelError of 1.0023498662353618e+0 at index of 28696.\n]
|
[X Stitched sine-wave buffers at sample rate 43800 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[28696\]\t-2.1886497270315886e-3\t9.3139332532882690e-1\t9.3358197505585849e-1\t1.0023498662353618e+0\t3.8985999999999999e-3\n\t[28697\]\t7.0477002859115601e-1\t9.0675884485244751e-1\t2.0198881626129150e-1\t2.2275913536212616e-1\t3.8985999999999999e-3\n\tMax AbsError of 9.3358197505585849e-1 at index of 28696.\n\tMax RelError of 1.0023498662353618e+0 at index of 28696.\n]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[X SNR (43.82404088230102 dB) is not greater than or equal to 65.737. Got 43.82404088230102.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[X Stitched sine-wave buffers at sample rate 43800 does not equal [0,0.06264832615852356,0.12505052983760834,0.18696144223213196,0.24813786149024963,0.308339387178421,0.36732959747314453,0.4248766601085663,0.480754554271698,0.5347436666488647,0.5866320133209229,0.6362156271934509,0.6832997798919678,0.7276994585990906,0.7692402601242065,0.8077589869499207...\] with an element-wise tolerance of {"absoluteThreshold":0.0038986,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[28696\]\t5.0039952650265951e-13\t9.3139332532882690e-1\t9.3139332532832653e-1\t9.9999999999946276e-1\t3.8985999999999999e-3\n\t[28697\]\t7.0477002859115601e-1\t9.0675884485244751e-1\t2.0198881626129150e-1\t2.2275913536212616e-1\t3.8985999999999999e-3\n\tMax AbsError of 9.3139332532832653e-1 at index of 28696.\n\tMax RelError of 9.9999999999946276e-1 at index of 28696.\n]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
[018.html]
|
|
||||||
expected: TIMEOUT
|
|
||||||
[origin of the script that invoked the method, javascript:]
|
|
||||||
expected: TIMEOUT
|
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<title>Client Hint/Service Worker interaction</title>
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
|
||||||
|
<script src="resources/util.js"></script>
|
||||||
|
<script>
|
||||||
|
promise_test((t) =>
|
||||||
|
ch_sw_test(t, 'resources/intercept-request.js', 'resources/foo.html', 'PASS'),
|
||||||
|
"Service workers succsefully receives hints from request");
|
||||||
|
</script>
|
|
@ -0,0 +1 @@
|
||||||
|
Accept-CH: device-memory
|
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<title>Client Hint/Service Worker interaction</title>
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
|
||||||
|
<script src="resources/util.js"></script>
|
||||||
|
<script>
|
||||||
|
promise_test((t) =>
|
||||||
|
ch_sw_test(t, 'resources/new-request.js', 'resources/foo.html', 'FAIL'),
|
||||||
|
"Service worker does NOT generate client hints in a new request");
|
||||||
|
</script>
|
|
@ -0,0 +1 @@
|
||||||
|
Accept-CH: device-memory
|
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<title>Client Hint/Service Worker interaction</title>
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
|
||||||
|
<script src="resources/util.js"></script>
|
||||||
|
<script>
|
||||||
|
promise_test((t) =>
|
||||||
|
ch_sw_test(t, 'resources/passthrough-request.js', 'resources/echo-hint-in-html.py', 'PASS'),
|
||||||
|
"Service worker successfully passes hints through to new fetch");
|
||||||
|
</script>
|
|
@ -0,0 +1 @@
|
||||||
|
Accept-CH: device-memory
|
|
@ -0,0 +1,21 @@
|
||||||
|
import sys
|
||||||
|
|
||||||
|
def main(request, response):
|
||||||
|
"""
|
||||||
|
Simple handler that sets a response header based on which client hint
|
||||||
|
request headers were received.
|
||||||
|
"""
|
||||||
|
|
||||||
|
response.headers.append(b"Content-Type", b"text/html; charset=UTF-8")
|
||||||
|
response.headers.append(b"Access-Control-Allow-Origin", b"*")
|
||||||
|
response.headers.append(b"Access-Control-Allow-Headers", b"*")
|
||||||
|
response.headers.append(b"Access-Control-Expose-Headers", b"*")
|
||||||
|
|
||||||
|
response.headers.append(b"Cache-Control", b"no-store")
|
||||||
|
|
||||||
|
result = "FAIL"
|
||||||
|
|
||||||
|
if b"device-memory" in request.headers:
|
||||||
|
result = "PASS"
|
||||||
|
|
||||||
|
response.content = result
|
|
@ -0,0 +1 @@
|
||||||
|
BAR
|
|
@ -0,0 +1,6 @@
|
||||||
|
self.addEventListener('fetch', (event) => {
|
||||||
|
result="FAIL";
|
||||||
|
if(event.request.headers.has("device-memory"))
|
||||||
|
result="PASS";
|
||||||
|
event.respondWith(new Response(result));
|
||||||
|
});
|
|
@ -0,0 +1,3 @@
|
||||||
|
self.addEventListener('fetch', (event) => {
|
||||||
|
event.respondWith(fetch("/client-hints/service-workers/resources/echo-hint-in-html.py"))
|
||||||
|
});
|
|
@ -0,0 +1 @@
|
||||||
|
self.addEventListener('fetch', (event) => fetch(event.request));
|
|
@ -0,0 +1,18 @@
|
||||||
|
async function ch_sw_test(t, worker, url, response) {
|
||||||
|
r = await service_worker_unregister_and_register(t, worker, worker)
|
||||||
|
await wait_for_state(t, r.installing, 'activated')
|
||||||
|
var popup_window = window.open('about:blank');
|
||||||
|
assert_not_equals(popup_window, null, "Popup windows not allowed?");
|
||||||
|
|
||||||
|
t.add_cleanup(async _=>{
|
||||||
|
popup_window.close();
|
||||||
|
await r.unregister();
|
||||||
|
});
|
||||||
|
|
||||||
|
popup_window.addEventListener('load', (e) => {
|
||||||
|
t.step(()=>{assert_equals(popup_window.document.body.textContent, response)});
|
||||||
|
t.done();
|
||||||
|
});
|
||||||
|
|
||||||
|
popup_window.location = url;
|
||||||
|
}
|
|
@ -10,6 +10,6 @@
|
||||||
<!-- This makes sure that we only see green if the flex items are sized correctly -->
|
<!-- This makes sure that we only see green if the flex items are sized correctly -->
|
||||||
<div style="position: absolute; width: 100px; height: 100px; background: green;"></div>
|
<div style="position: absolute; width: 100px; height: 100px; background: green;"></div>
|
||||||
|
|
||||||
<div style="display: flex; flex-direction: column; width: 100px; height: 100px; line-height: 20px; align-items: center; background: green;">
|
<div style="display: flex; flex-direction: column; width: 100px; height: 100px; line-height: 20px; align-items: center;">
|
||||||
<img src="../support/red-rect.svg">
|
<img src="../support/red-rect.svg">
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flexbox column" style="height: 10px;" data-expected-height="10">
|
<div class="flexbox column" style="height: 10px;" data-expected-height="10">
|
||||||
<!-- should use min(transferred, content height) = 10px as minimum height,
|
<!-- should use min(transferred (100), content height (100)) = 100px as
|
||||||
which the image will shrink to due to default flex-shrink. -->
|
minimum height, which will be final height of the image -->
|
||||||
<img src="support/10x10-green.png" style="width: 100px;" data-expected-height="10">
|
<img src="support/10x10-green.png" style="width: 100px;" data-expected-height="100">
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -0,0 +1,34 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Non aspect-ratio svg flex item</title>
|
||||||
|
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
|
||||||
|
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#min-size-auto">
|
||||||
|
<link rel="help" href="https://drafts.csswg.org/css-sizing-3/#intrinsic-sizes">
|
||||||
|
<meta name="assert" content="Specified height on an svg image with no aspect ratio or intrinsic height is not the automatic minimum size." />
|
||||||
|
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/resources/check-layout-th.js"></script>
|
||||||
|
|
||||||
|
<div id=log></div>
|
||||||
|
|
||||||
|
<pre>
|
||||||
|
Specified size suggestion = 200px
|
||||||
|
Content size suggestion = 150px [1]
|
||||||
|
Automatic minimum height = min(150px, 200px)
|
||||||
|
|
||||||
|
[1] fallback size from last bullet point in https://drafts.csswg.org/css-sizing-3/#intrinsic-sizes :
|
||||||
|
|
||||||
|
For boxes without a preferred aspect ratio:
|
||||||
|
* If the available space is definite in the appropriate dimension, use the stretch fit into that size in that dimension.
|
||||||
|
* Otherwise, if the box has a <length> as its computed minimum size (min-width/min-height) in that dimension, use that size.
|
||||||
|
* Otherwise, use 300px for the width and/or 150px for the height as needed.
|
||||||
|
|
||||||
|
</pre>
|
||||||
|
Pass condition: there is a 150x150 green square.
|
||||||
|
<div style="display: flex; flex-direction: column; height: 0px; width: 150px;">
|
||||||
|
<img src='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" />' style="height: 200px; background: green;" data-expected-height=150>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
checkLayout('img');
|
||||||
|
</script>
|
|
@ -29,6 +29,9 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||||
|
<!-- flex base size = 100 due to part B. For automatic minimum size:
|
||||||
|
transferred size suggestion = 100, content size suggestion = 100.
|
||||||
|
-->
|
||||||
|
|
||||||
<div id="reference-overlapped-red"></div>
|
<div id="reference-overlapped-red"></div>
|
||||||
<div id="constrained-flex">
|
<div id="constrained-flex">
|
||||||
|
|
|
@ -0,0 +1,66 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<title>:is/:where combined with :visited/:link</title>
|
||||||
|
<link rel="help" href="https://drafts.csswg.org/selectors-4/#matches">
|
||||||
|
<style>
|
||||||
|
:visited, :link {
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
#parent1 .a, #parent1 .b, #parent1 .c {
|
||||||
|
color: green;
|
||||||
|
}
|
||||||
|
#parent1 .d, #parent1 .f {
|
||||||
|
color: magenta;
|
||||||
|
}
|
||||||
|
|
||||||
|
#parent2 .b, #parent2 .e {
|
||||||
|
color: tomato;
|
||||||
|
}
|
||||||
|
|
||||||
|
#parent3 .c, #parent3 .f {
|
||||||
|
color: skyblue;
|
||||||
|
}
|
||||||
|
|
||||||
|
#parent4 .c, #parent4 .f {
|
||||||
|
color: blue;
|
||||||
|
}
|
||||||
|
|
||||||
|
#parent3 .b, #parent3 .e, #parent4 .b, #parent4 .e {
|
||||||
|
color: maroon;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<main>
|
||||||
|
<div id=parent1>
|
||||||
|
<a class=a href="">a</a>
|
||||||
|
<a class=b href="">b</a>
|
||||||
|
<a class=c href="">c</a>
|
||||||
|
<a class=d href="unvisited">d</a>
|
||||||
|
<a class=e href="unvisited">e</a>
|
||||||
|
<a class=f href="unvisited">f</a>
|
||||||
|
</div>
|
||||||
|
<div id=parent2>
|
||||||
|
<a class=a href="">a</a>
|
||||||
|
<a class=b href="">b</a>
|
||||||
|
<a class=c href="">c</a>
|
||||||
|
<a class=d href="unvisited">d</a>
|
||||||
|
<a class=e href="unvisited">e</a>
|
||||||
|
<a class=f href="unvisited">f</a>
|
||||||
|
</div>
|
||||||
|
<a id=parent3 href="">
|
||||||
|
<span class=a>a</span>
|
||||||
|
<span class=b>b</span>
|
||||||
|
<span class=c>c</span>
|
||||||
|
<span class=d>d</span>
|
||||||
|
<span class=e>e</span>
|
||||||
|
<span class=f>f</span>
|
||||||
|
</a>
|
||||||
|
<br>
|
||||||
|
<a id=parent4 href="unvisited">
|
||||||
|
<span class=a>a</span>
|
||||||
|
<span class=b>b</span>
|
||||||
|
<span class=c>c</span>
|
||||||
|
<span class=d>d</span>
|
||||||
|
<span class=e>e</span>
|
||||||
|
<span class=f>f</span>
|
||||||
|
</a>
|
||||||
|
</main>
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue