Update web-platform-tests to revision 6730dabbcc826e8ccbd6a9ee43d67c65e8626f29

This commit is contained in:
WPT Sync Bot 2020-09-29 08:21:29 +00:00
parent 858bb43298
commit 10398f2a98
114 changed files with 2670 additions and 2444 deletions

View file

@ -0,0 +1,8 @@
[url-charset.window.html]
expected: TIMEOUT
[Blob charset should override any auto-detected charset.]
expected: TIMEOUT
[Blob charset should override <meta charset>.]
expected: TIMEOUT

View file

@ -4,7 +4,7 @@
expected: TIMEOUT
[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.]
expected: FAIL

View file

@ -1,4 +0,0 @@
[hit-test-floats-002.html]
[Hit test float]
expected: FAIL

View file

@ -1,4 +0,0 @@
[hit-test-floats-003.html]
[Miss float below something else]
expected: FAIL

View file

@ -1,4 +0,0 @@
[hit-test-floats-005.html]
[Miss clipped float]
expected: FAIL

View file

@ -5,9 +5,6 @@
[[data-expected-height\] 7]
expected: FAIL
[[data-expected-height\] 1]
expected: FAIL
[[data-expected-height\] 2]
[[data-expected-height\] 4]
expected: FAIL

View file

@ -0,0 +1,2 @@
[flex-aspect-ratio-img-column-013.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[flex-aspect-ratio-img-column-014.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[flex-aspect-ratio-img-column-015.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[svg-root-as-flex-item-004.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[svg-root-as-flex-item-005.html]
expected: FAIL

View file

@ -14,3 +14,9 @@
[Initial value of math-depth]
expected: FAIL
[Specified math-depth: invalid expressions]
expected: FAIL
[Specified math-depth: calc() expressions]
expected: FAIL

View file

@ -0,0 +1,2 @@
[word-break-break-all-062.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[word-break-keep-all-063.html]
expected: FAIL

View file

@ -2,6 +2,3 @@
[Hit test intersecting scaled box]
expected: FAIL
[Hit test within unscaled box]
expected: FAIL

View file

@ -17,3 +17,6 @@
[test the top of layer]
expected: FAIL
[test some point of the element: top left corner]
expected: FAIL

View file

@ -312,21 +312,18 @@
[Response: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: NOTRUN
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: */* text/html]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
[<iframe>: combined response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/plain ]
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL

View file

@ -56,3 +56,6 @@
[separate text/javascript x/x]
expected: FAIL
[separate text/javascript;charset=windows-1252 error text/javascript]
expected: FAIL

View file

@ -11,3 +11,6 @@
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
expected: FAIL
[Content-Type-Options%3A%20nosniff]
expected: FAIL

View file

@ -0,0 +1,4 @@
[008.html]
[Link with onclick form submit to javascript url and href navigation ]
expected: FAIL

View file

@ -1,4 +1,4 @@
[traverse_the_history_4.html]
[traverse_the_history_3.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -0,0 +1,2 @@
[cross-origin-objects-on-new-window.html]
expected: TIMEOUT

View file

@ -1,4 +1,5 @@
[embedded-opener-remove-frame.html]
expected: CRASH
[opener of discarded nested browsing context]
expected: FAIL

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_escaping-1.html]
expected: CRASH
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_nonescaping-2.html]
expected: TIMEOUT
expected: CRASH
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN

View file

@ -0,0 +1,4 @@
[iframe_005.html]
[document.write external script into iframe write back into parent]
expected: FAIL

View file

@ -0,0 +1,4 @@
[module-delayed.html]
[async document.write in a module]
expected: FAIL

View file

@ -3,6 +3,3 @@
[The incumbent settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
expected: TIMEOUT
[The entry settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
expected: FAIL

View file

@ -1,9 +1,10 @@
[promise-job-entry.html]
expected: TIMEOUT
[Fulfillment handler on fulfilled promise]
expected: FAIL
[Rejection handler on pending-then-rejected promise]
expected: FAIL
expected: TIMEOUT
[Sanity check: this all works as expected with no promises involved]
expected: FAIL
@ -15,5 +16,5 @@
expected: FAIL
[Fulfillment handler on pending-then-fulfilled promise]
expected: FAIL
expected: TIMEOUT

View file

@ -0,0 +1,4 @@
[modify.tentative.html]
[Stop at previous word boundary when whitespaces are trimmed]
expected: FAIL

View file

@ -1,4 +1,5 @@
[audiocontext-not-fully-active.html]
expected: TIMEOUT
[frame in navigated remote-site frame]
expected: FAIL

View file

@ -0,0 +1,8 @@
[url-charset.window.html]
expected: TIMEOUT
[Blob charset should override any auto-detected charset.]
expected: TIMEOUT
[Blob charset should override <meta charset>.]
expected: TIMEOUT

View file

@ -7,7 +7,7 @@
expected: FAIL
[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.]
expected: TIMEOUT

View file

@ -461,8 +461,15 @@
]
]
},
"removing-collapsible-crash.html": [
"1930d36d5d86e5aa63ff64ed3cdae39f9f1f6deb",
[
null,
{}
]
],
"removing-collapsible-spaces-before-float-crash.html": [
"92bba35e08bac555c849d51580812deda84681d3",
"d1e5662672d53206d0e632437219cda7438e3e4e",
[
null,
{}
@ -135295,6 +135302,58 @@
{}
]
],
"flex-aspect-ratio-img-column-012.html": [
"e78ededfb2b2c5872e782b4c51d896c8f495e45b",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square-only.html",
"=="
]
],
{}
]
],
"flex-aspect-ratio-img-column-013.html": [
"81640d518c97c19388d3a53f35ed6aad1e3c48d5",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square-only.html",
"=="
]
],
{}
]
],
"flex-aspect-ratio-img-column-014.html": [
"b4f2b223cf6fcc7b60a3217b2042e435d52ef0fd",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"flex-aspect-ratio-img-column-015.html": [
"688955db0e70fcb0aa728465dfb557c218e9dfd4",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"flex-aspect-ratio-img-row-001.html": [
"14fabf760ca4293abf5af9e618b2e2ed627be2b2",
[
@ -140369,6 +140428,19 @@
{}
]
],
"ortho-table-item-001.html": [
"dca42e559f296def8d5109f4cc688527d19d1be3",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square-only.html",
"=="
]
],
{}
]
],
"overflow-area-001.html": [
"10685c6e84a1683f75e6822b66d9e02645973ccc",
[
@ -140928,6 +141000,32 @@
{}
]
],
"svg-root-as-flex-item-004.html": [
"1321433634599bf4c185b4882d6ca3bee4b71e2b",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"svg-root-as-flex-item-005.html": [
"19501347662f387141f0eb0dbb16c23906c35589",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"table-as-item-auto-min-width.html": [
"66a77327f0f25e07db87e342ebb590358d045f7a",
[
@ -182251,13 +182349,13 @@
]
],
"control-chars-00D.html": [
"b7d1d44b0cc50f2761697de86f6ec3f2cf8904c1",
"7a85cc88139c046a7032e85cde392c59e429ccba",
[
null,
[
[
"/css/css-text/white-space/reference/control-chars-000-ref.html",
"!="
"/css/css-text/white-space/reference/control-chars-00D-ref.html",
"=="
]
],
{}
@ -185956,6 +186054,19 @@
{}
]
],
"word-break-break-all-062.html": [
"6d2f25abc820ff16c4ada0d6f3fedc3ba3e692cb",
[
null,
[
[
"/css/css-text/word-break/reference/word-break-break-all-062-ref.html",
"=="
]
],
{}
]
],
"word-break-break-all-inline-001.html": [
"a0c7c4958bd94be3ae199e6e18f1dace4cc2d28b",
[
@ -186207,6 +186318,19 @@
{}
]
],
"word-break-keep-all-063.html": [
"3fa827b487060f6343c141ef0103ce2d70c1eb45",
[
null,
[
[
"/css/css-text/word-break/reference/word-break-keep-all-063-ref.html",
"=="
]
],
{}
]
],
"word-break-min-content-001.html": [
"a310e304529dd83f1d356cab6b6664e7f07be97d",
[
@ -243830,6 +243954,32 @@
{}
]
],
"legacy-scriptminsize-attribute.html": [
"ef861c8e79b87b598df9d01f3cbf70caf6c8c23e",
[
null,
[
[
"/mathml/relations/css-styling/legacy-scriptminsize-attribute-ref.html",
"=="
]
],
{}
]
],
"legacy-scriptsizemultiplier-attribute.html": [
"66e0da17693be608076218df744e309d02d1207c",
[
null,
[
[
"/mathml/relations/css-styling/legacy-scriptsizemultiplier-attribute-ref.html",
"=="
]
],
{}
]
],
"lengths-1.html": [
"9b0c27a26715dd2724360b841b3c581d0e967811",
[
@ -313859,6 +314009,10 @@
"9d5fcb27147a8c53e410d08511cb5035b612f80c",
[]
],
"control-chars-00D-ref.html": [
"ae214b7485dfe174c814452035c6e9b998f39fa3",
[]
],
"eol-spaces-bidi-001-ref.html": [
"430706c55697597681c71202dd4cb18da8b5de37",
[]
@ -314303,6 +314457,10 @@
"32b85542a7760d9757c4cd958f42de05336d1a41",
[]
],
"word-break-break-all-062-ref.html": [
"c44f82d7b37169224c8828af2d0f742cf8e40801",
[]
],
"word-break-break-all-inline-001-ref.html": [
"4eab639ac300e446558bc7171db32b32e74cd862",
[]
@ -314375,6 +314533,10 @@
"2a33ce75e23f6c65ec98a2a808633349b1ae465e",
[]
],
"word-break-keep-all-063-ref.html": [
"5ab3f5ff0f208b1e6d61f2e5bbb41e924396b362",
[]
],
"word-break-keep-all-ref-000.html": [
"d11db046b8d1114482c8fda814f2a1480b053048",
[]
@ -333788,7 +333950,7 @@
},
"resources": {
"dispatcher.js": [
"23c5ee97b71d2d2169f8d396d644c69550ce206f",
"ade25ee15327a4ee66b13a5874c3458121fc4762",
[]
],
"dispatcher.py": [
@ -343463,6 +343625,10 @@
"META.yml": [
"79e0cbe5229c25509e22ced2a4c3e27611882bf4",
[]
],
"input-events-get-target-ranges.js": [
"4d09c4da521fb57817ab70af9f67ef181dcb56cf",
[]
]
},
"installedapp": {
@ -343671,7 +343837,7 @@
[]
],
"deprecation-reporting.idl": [
"72622becb2c5e4f1b7ba4acf66815e01c659e32a",
"4cf76ba8114723a7ee030a81c86e1549c76b6760",
[]
],
"device-memory.idl": [
@ -344042,8 +344208,8 @@
"99c3a5dee91f693d834b6dfc89cefec387d1078d",
[]
],
"text-detection-api.tentative.idl": [
"8835c5fee9151163b7010fa656606261fe6411fc",
"text-detection-api.idl": [
"95b642749f73a63d62d5aa5320815aeb7091be4b",
[]
],
"touch-events.idl": [
@ -344154,6 +344320,10 @@
"2af476f4d77b06c50857aec57e91a680e71da129",
[]
],
"webrtc-insertable-streams.idl": [
"9216987f2796b1626a3c0b1dc1ac3ac2286f35b9",
[]
],
"webrtc-stats.idl": [
"2316201088548b9349a67736e270a03eb15a54fb",
[]
@ -344810,6 +344980,14 @@
"111ea79e243a83880783b5ab46ae6d989ead1f32",
[]
],
"legacy-scriptminsize-attribute-ref.html": [
"8e3d7b1c21907400af22f5df001515a2372ba2d2",
[]
],
"legacy-scriptsizemultiplier-attribute-ref.html": [
"422325da28185bf5b77946192760e0deaeaf6324",
[]
],
"lengths-1-ref.html": [
"9fca6f49632ca080ee1b2a32a9ce2d251241dfcc",
[]
@ -387049,10 +387227,12 @@
]
],
"required_csp-header-crlf.html": [
"87bda1bf502d25f20f8245bd4c89fa1bdedf8803",
"ae121899023a4d33e27c262d9b208abb97583a1b",
[
null,
{}
{
"timeout": "long"
}
]
],
"required_csp-header.html": [
@ -397649,7 +397829,7 @@
],
"math-script-level-and-math-style": {
"math-script-level-001.tentative.html": [
"f2ae5bf35bd24413bfd3feeee1215c74218dc753",
"9dff79025acf8d934ac96e3720b308c969d5189e",
[
null,
{}
@ -462130,7 +462310,7 @@
"reporting": {
"access-reporting": {
"access-from-coop-page-to-openee_coop-ro.https.html": [
"481b9294377c3fe4f0b49b3aebe04528bd39d4a2",
"8d65a902a2de725df9410bf5a7ef13e11594b0bf",
[
null,
{
@ -462139,7 +462319,7 @@
]
],
"access-from-coop-page-to-openee_coop-ro_cross-origin.https.html": [
"a78c75eaae6edf7d60ef3aeae2af52002209ba52",
"d7d074e5c562f96a6b4349fd0497fd55751e171b",
[
null,
{
@ -462148,7 +462328,7 @@
]
],
"access-from-coop-page-to-opener_coop-ro.https.html": [
"9cc92dcd9617608ac428480608272134871c6c57",
"3cdd592b626cd843dbff99701ef04818eca1b218",
[
null,
{
@ -462157,7 +462337,7 @@
]
],
"access-from-coop-page-to-opener_coop-ro_cross-origin.https.html": [
"39a58331259f5e1de882d265f89f44e317800c08",
"3319069dde178335bca1e03ca5dbf37afc191987",
[
null,
{
@ -462166,7 +462346,7 @@
]
],
"access-from-coop-page-to-other_coop-ro.https.html": [
"e5cc726c5e0b38c8d25cd3ee8fb80f227e1c3e19",
"42a4f926de336932faa715bd20e211b77407ce77",
[
null,
{
@ -462175,7 +462355,7 @@
]
],
"access-from-coop-page-to-other_coop-ro_cross-origin.https.html": [
"4505c4c82823f08592fdbdc6bd4f64f39b8f3eb4",
"93e9247251cae192794798443a6a859ca52be3f2",
[
null,
{
@ -462184,7 +462364,7 @@
]
],
"access-to-coop-page-from-openee_coop-ro.https.html": [
"0c63c067798f2d8776f0a97020dfdee3575a9de9",
"0016534f76cb73d287780a23f65989e924f2e5ff",
[
null,
{
@ -462193,7 +462373,7 @@
]
],
"access-to-coop-page-from-openee_coop-ro_cross-origin.https.html": [
"a5859228077039dab62341059f6c591a7eb97f50",
"29712ab9f2c1fda1f76279849e28e65c3f89ae99",
[
null,
{
@ -462202,7 +462382,7 @@
]
],
"access-to-coop-page-from-opener_coop-ro.https.html": [
"79f20b149f0674b8b86522498bed8075f4c57204",
"f296155ebc3b90c9d582f2ea5e171db1eceba554",
[
null,
{
@ -462211,7 +462391,7 @@
]
],
"access-to-coop-page-from-opener_coop-ro_cross-origin.https.html": [
"ea3fa0b21bf3652edbdacfc17860f3862f295063",
"885f0ccabf61cec20b71952af49f6c71348d4d06",
[
null,
{
@ -462220,7 +462400,7 @@
]
],
"access-to-coop-page-from-other_coop-ro.https.html": [
"c349b9a708e7cb579db921cc1d574869dc0b081c",
"47bc9cd6063b8b320df8d7224aa93326ba79a0be",
[
null,
{
@ -462229,7 +462409,7 @@
]
],
"access-to-coop-page-from-other_coop-ro_cross-origin.https.html": [
"4cc49fc62a77371c33aa7a9b04a4439da4a491b8",
"4d419f0bee56685bba0e0741fc68bac05288b1ab",
[
null,
{
@ -462256,7 +462436,7 @@
]
],
"property.https.html": [
"d6c563be4f333a9a4105fc54618b4837e3e79ba0",
"73e403146937f2aeb0ba3940753a7a413d2b5a1b",
[
null,
{
@ -462265,7 +462445,7 @@
]
],
"report-to-both_coop-ro.https.html": [
"1979d13c1099a3cc27d90d1afcc6572d4502f17c",
"5c2dd1b3d9b3e3cb7ca8ca74e32f0262dec8aad1",
[
null,
{
@ -462274,7 +462454,7 @@
]
],
"reporting-observer.html": [
"5b67575a0eab47df04a6067ac573328ba6ea6a20",
"435f6471b75d052720257fc9708f9b6a789f29e9",
[
null,
{
@ -462391,7 +462571,7 @@
]
],
"reporting-redirect-with-same-origin-allow-popups.https.html": [
"3b513371b0257b8d380c7db44cfcc3b7ace1217a",
"616270d468bb62e42bb95b50404e81642c303f06",
[
null,
{
@ -481044,7 +481224,7 @@
]
],
"input-events-get-target-ranges-backspace.tentative.html": [
"50d5cb96e84a8400fd961d7221b551b536dbcc57",
"a67bc76364d9675f2048161544b26eee02bf1185",
[
null,
{
@ -481054,7 +481234,7 @@
]
],
"input-events-get-target-ranges-forwarddelete.tentative.html": [
"03518d54e42e5aea5ed51635a4fb088d2428ef86",
"62a33c094000680bd5981f0e2e1cddb1a3c6c1f5",
[
null,
{
@ -481063,6 +481243,30 @@
}
]
],
"input-events-get-target-ranges-non-collapsed-selection.tentative.html": [
"2e16d2a4c3acf5c2794ed312bafc75d003d52588",
[
"input-events/input-events-get-target-ranges-non-collapsed-selection.tentative.html?Backspace",
{
"testdriver": true,
"timeout": "long"
}
],
[
"input-events/input-events-get-target-ranges-non-collapsed-selection.tentative.html?Delete",
{
"testdriver": true,
"timeout": "long"
}
],
[
"input-events/input-events-get-target-ranges-non-collapsed-selection.tentative.html?TypingA",
{
"testdriver": true,
"timeout": "long"
}
]
],
"input-events-typing.html": [
"a894beea9bd381313b999e45abe0b4b8f61c804b",
[
@ -485020,6 +485224,13 @@
{}
]
],
"getusermedia.https.html": [
"033501cf64e88c28e8a643272cd99ece75ec6967",
[
null,
{}
]
],
"idlharness.window.js": [
"2977138647b11c5c9a48b779ec2a9f8507221b46",
[
@ -507253,6 +507464,13 @@
{}
]
],
"modify.tentative.html": [
"c4436fcafeb5e43ea43948183d3e64842abb8be6",
[
null,
{}
]
],
"removeAllRanges.html": [
"026280d6b8c252c8c9486977d31a32d6d211f701",
[
@ -510632,7 +510850,7 @@
]
],
"idlharness.https.any.js": [
"c3683f8ceba49b79b2d195e49f01fcbd9301c6c3",
"33b5f88f75b8052f202394c4f53bcc2770631202",
[
"shape-detection/idlharness.https.any.html",
{
@ -532128,6 +532346,28 @@
null,
{}
]
],
"idlharness.https.window.js": [
"86feb5277242a8ef8da5741bcb86e0f7cb2db2f9",
[
"webrtc-insertable-streams/idlharness.https.window.html",
{
"script_metadata": [
[
"script",
"/resources/WebIDLParser.js"
],
[
"script",
"/resources/idlharness.js"
],
[
"script",
"./RTCPeerConnection-helper.js"
]
]
}
]
]
},
"webrtc-priority": {

View file

@ -1,4 +0,0 @@
[hit-test-floats-002.html]
[Hit test float]
expected: FAIL

View file

@ -1,4 +0,0 @@
[hit-test-floats-003.html]
[Miss float below something else]
expected: FAIL

View file

@ -1,4 +0,0 @@
[hit-test-floats-005.html]
[Miss clipped float]
expected: FAIL

View file

@ -8,9 +8,6 @@
[[data-expected-height\] 3]
expected: FAIL
[[data-expected-height\] 1]
expected: FAIL
[[data-expected-height\] 2]
[[data-expected-height\] 4]
expected: FAIL

View file

@ -0,0 +1,2 @@
[flex-aspect-ratio-img-column-013.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[flex-aspect-ratio-img-column-014.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[flex-aspect-ratio-img-column-015.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[svg-root-as-flex-item-004.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[svg-root-as-flex-item-005.html]
expected: FAIL

View file

@ -14,3 +14,9 @@
[Initial value of math-depth]
expected: FAIL
[Specified math-depth: invalid expressions]
expected: FAIL
[Specified math-depth: calc() expressions]
expected: FAIL

View file

@ -0,0 +1,2 @@
[word-break-break-all-062.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[word-break-keep-all-063.html]
expected: FAIL

View file

@ -2,6 +2,3 @@
[Hit test intersecting scaled box]
expected: FAIL
[Hit test within unscaled box]
expected: FAIL

View file

@ -21,3 +21,6 @@
[test the top of layer]
expected: FAIL
[test some point of the element: top left corner]
expected: FAIL

View file

@ -312,21 +312,18 @@
[fetch(): separate response Content-Type: text/plain ]
expected: NOTRUN
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: */* text/html]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
[<iframe>: combined response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/plain ]
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL

View file

@ -56,3 +56,6 @@
[separate text/javascript x/x]
expected: FAIL
[separate text/javascript;charset=windows-1252 error text/javascript]
expected: FAIL

View file

@ -11,3 +11,6 @@
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
expected: FAIL
[Content-Type-Options%3A%20nosniff]
expected: FAIL

View file

@ -0,0 +1,4 @@
[008.html]
[Link with onclick form submit to javascript url and href navigation ]
expected: FAIL

View file

@ -1,4 +1,4 @@
[traverse_the_history_4.html]
[traverse_the_history_3.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

View file

@ -0,0 +1,2 @@
[cross-origin-objects-on-new-window.html]
expected: TIMEOUT

View file

@ -1,4 +1,5 @@
[embedded-opener-remove-frame.html]
expected: CRASH
[opener and "removed" embedded documents]
expected: FAIL

View file

@ -1,6 +1,6 @@
[iframe_sandbox_popups_escaping-1.html]
type: testharness
expected: CRASH
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT

View file

@ -1,6 +1,6 @@
[iframe_sandbox_popups_nonescaping-2.html]
type: testharness
expected: TIMEOUT
expected: CRASH
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN

View file

@ -0,0 +1,4 @@
[iframe_005.html]
[document.write external script into iframe write back into parent]
expected: FAIL

View file

@ -0,0 +1,4 @@
[module-delayed.html]
[async document.write in a module]
expected: FAIL

View file

@ -4,6 +4,3 @@
[The incumbent settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
expected: TIMEOUT
[The entry settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
expected: FAIL

View file

@ -1,9 +1,10 @@
[promise-job-entry.html]
expected: TIMEOUT
[Fulfillment handler on fulfilled promise]
expected: FAIL
[Rejection handler on pending-then-rejected promise]
expected: FAIL
expected: TIMEOUT
[Sanity check: this all works as expected with no promises involved]
expected: FAIL
@ -15,5 +16,5 @@
expected: FAIL
[Fulfillment handler on pending-then-fulfilled promise]
expected: FAIL
expected: TIMEOUT

View file

@ -0,0 +1,4 @@
[modify.tentative.html]
[Stop at previous word boundary when whitespaces are trimmed]
expected: FAIL

View file

@ -1,4 +1,5 @@
[audiocontext-not-fully-active.html]
expected: TIMEOUT
[frame in navigated remote-site frame]
expected: FAIL

View file

@ -1,7 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title>Embedded Enforcement: Sec-Required-CSP header.</title>
<title>Embedded Enforcement: Sec-Required-CSP header.</title>
<!--
This test is creating and navigating several iframes. This can exceed the
"short" timeout". See https://crbug.com/1091896
-->
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support/testharness-helper.sub.js"></script>

View file

@ -0,0 +1,16 @@
<!doctype html>
<title>Aspect-ratio flex item</title>
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#algo-main-item" title="Part E">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="flex base size is not influenced by specified min-height for aspect ratio items">
<p>Test passes if there is a filled green square.</p>
<!-- Chrome 86 makes the green rectangle be 100 x 149.5 -->
<!-- Make this align-items:flex-start because with align-items:stretch, 100x149.5 is the right size due to Part B of the flex base size algorithm. -->
<div style="display: flex; flex-direction: column; width:100px; height: 200px; align-items: flex-start;">
<img style="min-height: 100px; flex: 1 0 auto;" src="support/1x1-green.png">
<div style="flex: 1 0 1px;"></div>
</div>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<title>SVG img as flex item</title>
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#algo-main-item" title="Part E">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="SVG's specified intrinsic height is honored when used as a flex base size and no intrinsic width is specified." />
<p>Test passes if there is a filled green square.</p>
<div style="display: flex; width: 100px; height: 100px; align-items: flex-start;">
<img src="data:image/svg+xml,%3Csvg viewBox='0 0 400 200' height='50px' xmlns='http://www.w3.org/2000/svg' %3E%3Crect width='100%' height='100%' fill='green' /%3E%3C/svg%3E" style="border-top: 50px solid green; min-height: 0px;">
</div>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<title>SVG img as flex item</title>
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#algo-main-item" title="Part E">
<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#min-max-widths" title="w > max-width line of the table">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="assert" content="Flex base size of image item with aspect ratio + intrinsic width + no intrinsic height honors transferred max-width." />
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="display: flex; flex-direction: column; width: 100px; align-items: flex-start">
<img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='200'%3E%3Crect width='100%25' height='100%25' fill='green'/%3E%3C/svg%3E" style="max-width: 100px; flex: 0 0 auto; background: red;">
</div>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<title>SVG img as flex item</title>
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#algo-main-item" title="Part E">
<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#min-max-widths" title="h > max-height line of the table">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="assert" content="Flex base size of image item with aspect ratio + intrinsic height + no intrinsic width honors transferred max-width." />
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="display: flex; flex-direction: column; width: 100px; align-items: flex-start">
<img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' height='200'%3E%3Crect width='100%25' height='100%25' fill='green'/%3E%3C/svg%3E" style="max-width: 100px; flex: 0 0 auto; background: red;">
</div>

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<title>ortho table is flex item</title>
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#used-min-width-of-table">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#ref-for-hypothetical-main-size">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="Table's specially-defined used min width is honored when the table is an ortho flex item.">
<p>Test passes if there is a filled green square.</p>
<div style="display: flex; width: 0px;">
<div style="display: table; writing-mode: vertical-rl; min-width: 0px; width: 100px; height: 100px; background: green;">
<div style="display: table-cell">
<div style="width: 100px"></div>
</div>
</div>
</div>

View file

@ -0,0 +1,27 @@
<!DOCTYPE html>
<title>SVG root as flex item</title>
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#algo-main-item" title="Part E">
<link rel="help" href="https://www.w3.org/TR/css-sizing-3/#intrinsic-sizes" title="For boxes with an intrinsic aspect ratio, but no intrinsic size">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="assert" content="SVG's intrinsic width when used as flex base size stretches into the available size when it has no specified intrinsic sizes and is passed through the aspect ratio " />
<style>
#reference-overlapped-red {
position: absolute;
background-color: red;
width: 100px;
height: 100px;
z-index: -1;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div id="reference-overlapped-red"></div>
<div style="display: flex; flex-direction: column; width: 100px; align-items: flex-start;">
<svg viewBox="0 0 200 200">
<rect width="100%" height="100%" fill="green" />
</svg>
</div>

View file

@ -0,0 +1,27 @@
<!DOCTYPE html>
<title>SVG root as flex item</title>
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#algo-main-item" title="Part E">
<link rel="help" href="https://www.w3.org/TR/css-sizing-3/#intrinsic-sizes" title="For boxes with an intrinsic aspect ratio, but no intrinsic size">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<meta name="assert" content="SVG's intrinsic width when used as flex base size stretches into the available size (minus inline margins) when it has no specified intrinsic sizes and is passed through the aspect ratio, block margins have no effect. " />
<style>
#reference-overlapped-red {
position: absolute;
background-color: red;
width: 100px;
height: 100px;
z-index: -1;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div id="reference-overlapped-red"></div>
<div style="display: flex; flex-direction: column; width: 150px; align-items: flex-start;">
<svg viewBox="0 0 200 200" style="margin-right: 50px; flex 1 0 auto; margin-bottom: 70px;">
<rect width="100%" height="100%" fill="green" />
</svg>
</div>

View file

@ -34,6 +34,18 @@
assert_equals(mathDepth("specifiedAdd10From5"), "15");
assert_equals(mathDepth("specifiedAdd-15From5"), "-10");
}, "Specified math-depth: add(<integer>)");
test(function() {
assert_equals(mathDepth("invalidKeywordFrom3"), "3");
assert_equals(mathDepth("invalidFloatFrom3"), "3");
assert_equals(mathDepth("invalidCalcFrom3"), "3");
assert_equals(mathDepth("invalidAddCalcFrom3"), "3");
assert_equals(mathDepth("invalidAddFloatFrom3"), "3");
}, "Specified math-depth: invalid expressions");
test(function() {
const cssVariable = 3;
assert_equals(mathDepth("specifiedCalcFrom9"), `${Math.round(cssVariable/2)+10}`);
assert_equals(mathDepth("specifiedAddCalcFrom9"), `${9+(3*4-5)}`);
}, "Specified math-depth: calc() expressions");
done();
});
</script>
@ -60,5 +72,16 @@
<div id="specifiedAdd10From5" style="math-depth: add(10)"></div>
<div id="specifiedAdd-15From5" style="math-depth: add(-15)"></div>
</div>
<div style="math-depth: 3;">
<div id="invalidKeywordFrom3" style="math-depth: auto"></div>
<div id="invalidFloatFrom3" style="math-depth: 3.14"></div>
<div id="invalidCalcFrom3" style="math-depth: 1,2"></div>
<div id="invalidAddCalcFrom3" style="math-depth: add(3,4)"></div>
<div id="invalidAddFloatFrom3" style="math-depth: add(3.14)"></div>
</div>
<div style="math-depth: 9;">
<div id="specifiedCalcFrom9" style="--css-variable: 3; math-depth: calc(var(--css-variable)/2 + 10)"></div>
<div id="specifiedAddCalcFrom9" style="math-depth: add(calc(3*4 - 5))"></div>
</div>
</body>
</html>

View file

@ -0,0 +1,8 @@
<!doctype html>
<title>CSS Text Test: Removing collapsible when overflowing cause Chrome to crash</title>
<link rel="help" href="https://crbug.com/1132762">
<style>
.test1 { word-spacing:-467616205px; }
</style>
<button>
<dfn class="test1" dir="rtl" ><EFBFBD> (y<a id=

View file

@ -1,6 +1,6 @@
<!DOCTYPE html>
<title>CSS Text Test: Removing collapsible space before a float element cause Chrome to crash</title>
<link rel="help" href="https://crbug.com/1131470">
<!DOCTYPE html>
<style type="text/css">
.CLASS9 {
zoom:1.3%;

View file

@ -1,18 +1,30 @@
<!doctype html>
<meta charset=utf-8>
<title>Control charcters must be visible: U+000D</title>
<title>U+000D must be treated the same as U+0020</title>
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
<link rel=help href="https://drafts.csswg.org/css-text-3/#white-space-processing">
<link rel=mismatch href="reference/control-chars-000-ref.html">
<link rel=match href="reference/control-chars-00D-ref.html">
<meta name=flags content="">
<meta name=assert content="U+000D, which is in the unicode category CC, must be visible">
<meta name=assert content="U+000D must be treated as U+0020">
<style>
div {
font-size: 4em;
font-size: 2em;
font-family: monospace;
color: blue;
width: 4ch;
}
div::after { content: "\000D" } /* Injecting via CSS, to avoid any mangling by the html parser */
#ref {
color: orange;
}
.p {white-space: pre;}
.pw {white-space: pre-wrap;}
.pl {white-space: pre-line;}
.bs {white-space: break-spaces;}
.nw {white-space: nowrap;}
</style>
<p>Test passes if there is a visible character below.
<p>Test passes if blue charaters are arranged exactly in the same way as the orange ones.
<div></div>
<div>A&#x0D;&#x0D;&#x0D;&#x0D;&#x0D;&#x0D;B&#x0D;C<span class=p>&#x0D;&#x0D;&#x0D;</span>D<span class=pw>&#x0D;&#x0D;&#x0D;</span>E<span class=pl>&#x0D;&#x0D;&#x0D;&#x0D;&#x0D;&#x0D;</span>F<span class=bs>&#x0D;&#x0D;&#x0D;</span>G<span class=nw>&#x0D;&#x0D;&#x0D;&#x0D;&#x0D;</span>H</div>
<div id=ref>A B C<span class=p> </span>D<span class=pw> </span>E<span class=pl> </span>F<span class=bs> </span>G<span class=nw> </span>H</div>

View file

@ -0,0 +1,26 @@
<!doctype html>
<meta charset=utf-8>
<title>Reference file</title>
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
<style>
div {
font-size: 2em;
font-family: monospace;
color: blue;
width: 4ch;
}
#ref {
color: orange;
}
.p {white-space: pre;}
.pw {white-space: pre-wrap;}
.pl {white-space: pre-line;}
.bs {white-space: break-spaces;}
.nw {white-space: nowrap;}
</style>
<p>Test passes if blue charaters are arranged exactly in the same way as the orange ones.
<div>A B C<span class=p> </span>D<span class=pw> </span>E<span class=pl> </span>F<span class=bs> </span>G<span class=nw> </span>H</div>
<div id=ref>A B C<span class=p> </span>D<span class=pw> </span>E<span class=pl> </span>F<span class=bs> </span>G<span class=nw> </span>H</div>

View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Reference Test</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<style>
div
{
border: orange solid;
font: 24px monospace;
margin-bottom: 4px;
width: 15ch;
}
</style>
<p>Test passes if the glyphs in the 5 orange rectangles are laid out <strong>identically</strong>.
<div>A simple senten<br>ce in english.</div>
<div>A simple senten<br>ce in english.</div>
<div>A simple senten<br>ce in english.</div>
<div>A simple senten<br>ce in english.</div>
<div>A simple senten<br>ce in english.</div>

View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Reference Test</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<style>
div
{
border: orange solid;
font: 24px monospace;
margin-bottom: 4px;
width: 15ch;
}
</style>
<p>Test passes if the glyphs in the 5 orange rectangles are laid out <strong>identically</strong>.
<div>A simple<br>sentence in eng<br>lish.</div>
<div>A simple<br>sentence in eng<br>lish.</div>
<div>A simple<br>sentence in eng<br>lish.</div>
<div>A simple<br>sentence in eng<br>lish.</div>
<div>A simple<br>sentence in eng<br>lish.</div>

View file

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>CSS Text: 'word-break: break-all' applied to an inline in latin</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="help" href="https://www.w3.org/TR/css-text-3/#word-break-property">
<link rel="match" href="reference/word-break-break-all-062-ref.html">
<style>
div
{
border: orange solid;
font: 24px monospace;
margin-bottom: 4px;
width: 15ch;
/*
15 in 15ch is an entirely arbitrary number.
The test only aims at checking if a word
will break.
*/
}
div#ws-normal
{
white-space: normal;
}
div#ws-prewrap
{
white-space: pre-wrap;
}
div#ws-breakspaces
{
white-space: break-spaces;
}
div#ws-preline
{
white-space: pre-line;
}
span.test
{
word-break: break-all;
}
</style>
<p>Test passes if the glyphs in the 5 orange rectangles are laid out <strong>identically</strong>.
<div id="ws-normal"><span class="test">A simple sentence in english.</span></div>
<!-- 123456789012345 -->
<div id="ws-prewrap"><span class="test">A simple sentence in english.</span></div>
<!-- 123456789012345 -->
<div id="ws-breakspaces"><span class="test">A simple sentence in english.</span></div>
<!-- 123456789012345 -->
<div id="ws-preline"><span class="test">A simple sentence in english.</span></div>
<!-- 123456789012345 -->
<div id="reference">A simple senten<br>ce in english.</div>

View file

@ -0,0 +1,74 @@
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>CSS Text: 'word-break: keep-all' applied to an inline in latin</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="help" href="https://www.w3.org/TR/css-text-3/#word-break-property">
<link rel="match" href="reference/word-break-keep-all-063-ref.html">
<style>
div
{
border: orange solid;
font: 24px monospace;
margin-bottom: 4px;
width: 15ch;
/*
15 in 15ch is an entirely arbitrary number.
*/
word-break: break-all;
/*
'word-break: break-all' applied on the
wrapping block is necessary to verify
that 'word-break: keep-all' is
implemented
*/
}
div#ws-normal
{
white-space: normal;
}
div#ws-prewrap
{
white-space: pre-wrap;
}
div#ws-breakspaces
{
white-space: break-spaces;
}
div#ws-preline
{
white-space: pre-line;
}
span.test
{
word-break: keep-all;
}
div#reference
{
word-break: normal;
}
</style>
<p>Test passes if the glyphs in the 5 orange rectangles are laid out <strong>identically</strong>.
<div id="ws-normal">A simple <span class="test">sentence</span> in english.</div>
<div id="ws-prewrap">A simple <span class="test">sentence</span> in english.</div>
<div id="ws-breakspaces">A simple <span class="test">sentence</span> in english.</div>
<div id="ws-preline">A simple <span class="test">sentence</span> in english.</div>
<div id="reference">A simple<br>sentence in eng<br>lish.</div>
<!-- 123456789012345 -->

View file

@ -63,7 +63,6 @@ let runTest = (openee_redirect, name) => promise_test(async t => {
// 5. Check a report sent to the opener.
let report =
await receiveReport(opener_report_token, "access-from-coop-page-to-openee")
assert_not_equals(report, "timeout", "Report not received");
assert_equals(report.type, "coop");
assert_equals(report.url, opener_url.replace(/"/g, '%22'));
assert_equals(report.body.disposition, "reporting");

View file

@ -64,7 +64,6 @@ let runTest = (openee_redirect, name) => promise_test(async t => {
// 5. Check a report sent to the opener.
let report =
await receiveReport(opener_report_token, "access-from-coop-page-to-openee")
assert_not_equals(report, "timeout", "Report not received");
assert_equals(report.type, "coop");
assert_equals(report.url, opener_url.replace(/"/g, '%22'));
assert_equals(report.body.disposition, "reporting");

View file

@ -40,7 +40,6 @@ let runTest = (openee_redirect, name) => promise_test(async t => {
// 2. Check a report is sent to the openee.
let report =
await receiveReport(report_token, "access-from-coop-page-to-opener")
assert_not_equals(report, "timeout", "Report not received");
assert_equals(report.type, "coop");
assert_equals(report.url, openee_url.replace(/"/g, '%22'));
assert_equals(report.body.disposition, "reporting");

View file

@ -41,7 +41,6 @@ let runTest = (openee_redirect, name) => promise_test(async t => {
// 2. Check a report is sent to the openee.
let report =
await receiveReport(report_token, "access-from-coop-page-to-opener")
assert_not_equals(report, "timeout", "Report not received");
assert_equals(report.type, "coop");
assert_equals(report.url, openee_url.replace(/"/g, '%22'));
assert_equals(report.body.disposition, "reporting");

View file

@ -75,7 +75,6 @@ promise_test(async t => {
// 6. Check a report is sent to the openee.
let report =
await receiveReport(report_token, "access-from-coop-page-to-other")
assert_not_equals(report, "timeout", "Report not received");
assert_equals(report.type, "coop");
assert_equals(report.url, opener_url.replace(/"/g, '%22'));
assert_equals(report.body.disposition, "reporting");

View file

@ -76,7 +76,6 @@ promise_test(async t => {
// 6. Check a report is sent to the openee.
let report =
await receiveReport(report_token, "access-from-coop-page-to-other")
assert_not_equals(report, "timeout", "Report not received");
assert_equals(report.type, "coop");
assert_equals(report.url, opener_url.replace(/"/g, '%22'));
assert_equals(report.body.disposition, "reporting");

View file

@ -57,7 +57,6 @@ let runTest = (openee_redirect, name) => promise_test(async t => {
// 4. Check a report sent to the opener.
let report =
await receiveReport(opener_report_token, "access-to-coop-page-from-openee")
assert_not_equals(report, "timeout", "Report not received");
assert_equals(report.type, "coop");
assert_equals(report.url, opener_url.replace(/"/g, '%22'));
assert_equals(report.body.disposition, "reporting");

View file

@ -58,7 +58,6 @@ let runTest = (openee_redirect, name) => promise_test(async t => {
// 4. Check a report sent to the opener.
let report =
await receiveReport(opener_report_token, "access-to-coop-page-from-openee")
assert_not_equals(report, "timeout", "Report not received");
assert_equals(report.type, "coop");
assert_equals(report.url, opener_url.replace(/"/g, '%22'));
assert_equals(report.body.disposition, "reporting");

View file

@ -47,7 +47,6 @@ let runTest = (openee_redirect, name) => promise_test(async t => {
// 3. Check a report is sent to the openee.
let report =
await receiveReport(report_token, "access-to-coop-page-from-opener")
assert_not_equals(report, "timeout", "Report not received");
assert_equals(report.type, "coop");
assert_equals(report.url, openee_url.replace(/"/g, '%22'));
assert_equals(report.body.disposition, "reporting");

View file

@ -48,7 +48,6 @@ let runTest = (openee_redirect, name) => promise_test(async t => {
// 3. Check a report is sent to the openee.
let report =
await receiveReport(report_token, "access-to-coop-page-from-opener")
assert_not_equals(report, "timeout", "Report not received");
assert_equals(report.type, "coop");
assert_equals(report.url, openee_url.replace(/"/g, '%22'));
assert_equals(report.body.disposition, "reporting");

View file

@ -63,7 +63,6 @@ promise_test(async t => {
// 4. Check a report sent to the openee.
let report =
await receiveReport(openee_report_token, "access-to-coop-page-from-other")
assert_not_equals(report, "timeout", "Report not received");
assert_equals(report.type, "coop");
assert_equals(report.url, openee_url.replace(/"/g, '%22'));
assert_equals(report.body.disposition, "reporting");

View file

@ -64,7 +64,6 @@ promise_test(async t => {
// 4. Check a report sent to the openee.
let report =
await receiveReport(openee_report_token, "access-to-coop-page-from-other")
assert_not_equals(report, "timeout", "Report not received");
assert_equals(report.type, "coop");
assert_equals(report.url, openee_url.replace(/"/g, '%22'));
assert_equals(report.body.disposition, "reporting");

View file

@ -58,7 +58,6 @@ origin.forEach(([origin_name, origin]) => {
// 3. Check a reports is sent to the opener.
let report = await receiveReport(report_token, "access-to-coop-page")
assert_not_equals(report, "timeout", "Report not received");
assert_equals(report.body.property, property);
}, `${origin_name} > ${op}`);

View file

@ -83,9 +83,6 @@ promise_test(async test => {
let report_openee =
await receiveReport(openee_report_token, "access-to-coop-page-from-opener")
assert_not_equals(report_openee, "timeout", "Report openee not received");
assert_not_equals(report_opener, "timeout", "Report opener not received");
assert_generic_coop_report(report_openee);
assert_generic_coop_report(report_opener);
@ -109,9 +106,6 @@ promise_test(async test => {
let report_openee =
await receiveReport(openee_report_token, "access-from-coop-page-to-opener")
assert_not_equals(report_openee, "timeout", "Report openee not received");
assert_not_equals(report_opener, "timeout", "Report opener not received");
assert_generic_coop_report(report_openee);
assert_generic_coop_report(report_opener);

View file

@ -186,7 +186,6 @@ promise_test(async t => {
send(opener_iframe_token, `tryAccess(openee);`);
let reports = await receive(this_window_token);
assert_not_equals(reports, "timeout", "No report received.");
reports = JSON.parse(reports);
assert_equals(reports.length, 1, "No report received.");
assert_equals(reports[0].type, "coop-access-violation");
@ -248,7 +247,7 @@ promise_test(async t => {
// from the main document aren't notified.
send(opener_iframe_token, `tryAccess(openee);`);
let reports = await receive(this_window_token);
let reports = await receive(this_window_token, 2000);
assert_equals(reports, "timeout", "Unexpected report received.");
}, "Access from cross-site iframe")

View file

@ -101,7 +101,6 @@ function redirect_test( popup_origin ) {
let report = await receiveReport(
opener_report_token,
"navigation-to-response");
assert_not_equals(report, "timeout", "Report not received");
assert_equals(report.type, "coop");
assert_equals(report.body.disposition, "enforce");
assert_equals(report.body.effectivePolicy, "same-origin-allow-popups");

View file

@ -17,8 +17,8 @@ const send = function(uuid, message) {
});
}
const receive = async function(uuid) {
const timeout = 2500;
const receive = async function(uuid, maybe_timeout) {
const timeout = maybe_timeout || Infinity;
const retry_delay = 100;
for(let i = 0; i * retry_delay < timeout; ++i) {
let response = await fetch(dispatcher_url + `?uuid=${uuid}`);

Some files were not shown because too many files have changed in this diff Show more