Update web-platform-tests to revision 858d8eea637878df26f837fa9b0f2dfa248380ab

This commit is contained in:
WPT Sync Bot 2021-02-01 08:21:08 +00:00
parent a955ff280d
commit 278f763afa
57 changed files with 993 additions and 161 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

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

View file

@ -315,15 +315,15 @@
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL

View file

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

View file

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

View file

@ -0,0 +1,289 @@
[legend-display.html]
[rendered legend with display: table; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: ruby-text-container]
expected: FAIL
[rendered legend with display: inline-grid; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: ruby]
expected: FAIL
[rendered legend with display: grid; overflow:hidden]
expected: FAIL
[rendered legend with display: table-column-group; columns:1]
expected: FAIL
[rendered legend with display: table-row]
expected: FAIL
[rendered legend with display: ruby-base; columns:1]
expected: FAIL
[rendered legend with display: table-caption]
expected: FAIL
[rendered legend with display: block ruby; overflow:hidden]
expected: FAIL
[rendered legend with display: table-column; overflow:hidden]
expected: FAIL
[rendered legend with display: grid]
expected: FAIL
[rendered legend with display: flex]
expected: FAIL
[rendered legend with display: inline-block; columns:1]
expected: FAIL
[rendered legend with display: inline-flex; columns:1]
expected: FAIL
[rendered legend with display: table-footer-group; columns:1]
expected: FAIL
[rendered legend with display: inline; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: table-column-group; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: table-row; overflow:hidden]
expected: FAIL
[rendered legend with display: table-row-group; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: inline-flex]
expected: FAIL
[rendered legend with display: ruby-base-container; columns:1]
expected: FAIL
[rendered legend with display: table-column-group]
expected: FAIL
[rendered legend with display: ruby-text-container; columns:1]
expected: FAIL
[rendered legend with display: inline]
expected: FAIL
[rendered legend with display: flow-root; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: ruby-base-container]
expected: FAIL
[rendered legend with display: ruby-base; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: run-in; overflow:hidden]
expected: FAIL
[rendered legend with display: run-in; columns:1]
expected: FAIL
[rendered legend with display: block ruby; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: inline; overflow:hidden]
expected: FAIL
[rendered legend with display: flow-root]
expected: FAIL
[rendered legend with display: table-footer-group; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: table-header-group; overflow:hidden]
expected: FAIL
[rendered legend with display: inline-flex; overflow:hidden]
expected: FAIL
[rendered legend with display: inline-grid]
expected: FAIL
[rendered legend with display: ruby; overflow:hidden]
expected: FAIL
[rendered legend with display: list-item; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: table-row; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: flow-root; overflow:hidden]
expected: FAIL
[rendered legend with display: inline-grid; columns:1]
expected: FAIL
[rendered legend with display: inline; columns:1]
expected: FAIL
[rendered legend with display: table-header-group; columns:1]
expected: FAIL
[rendered legend with display: block ruby; columns:1]
expected: FAIL
[rendered legend with display: ruby-base-container; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: flex; overflow:hidden]
expected: FAIL
[rendered legend with display: table-footer-group]
expected: FAIL
[rendered legend with display: table]
expected: FAIL
[rendered legend with display: table-row-group; overflow:hidden]
expected: FAIL
[rendered legend with display: inline-flex; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: ruby-text-container; overflow:hidden]
expected: FAIL
[rendered legend with display: run-in]
expected: FAIL
[rendered legend with display: table-header-group; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: table-cell; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: ruby-text; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: block ruby]
expected: FAIL
[rendered legend with display: inline-grid; overflow:hidden]
expected: FAIL
[rendered legend with display: ruby-base; overflow:hidden]
expected: FAIL
[rendered legend with display: ruby-base-container; overflow:hidden]
expected: FAIL
[rendered legend with display: table-column; columns:1]
expected: FAIL
[rendered legend with display: flow-root; columns:1]
expected: FAIL
[rendered legend with display: table-caption; columns:1]
expected: FAIL
[rendered legend with display: flex; columns:1]
expected: FAIL
[rendered legend with display: table-row-group]
expected: FAIL
[rendered legend with display: ruby-text-container; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: grid; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: table-row; columns:1]
expected: FAIL
[rendered legend with display: table-caption; overflow:hidden]
expected: FAIL
[rendered legend with display: table-cell; columns:1]
expected: FAIL
[rendered legend with display: table-header-group]
expected: FAIL
[rendered legend with display: table-caption; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: list-item]
expected: FAIL
[rendered legend with display: list-item; overflow:hidden]
expected: FAIL
[rendered legend with display: ruby-text; columns:1]
expected: FAIL
[rendered legend with display: inline-block; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: ruby; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: table-cell]
expected: FAIL
[rendered legend with display: flex; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: table-column]
expected: FAIL
[rendered legend with display: ruby-text]
expected: FAIL
[rendered legend with display: list-item; columns:1]
expected: FAIL
[rendered legend with display: table; columns:1]
expected: FAIL
[rendered legend with display: table-column-group; overflow:hidden]
expected: FAIL
[rendered legend with display: grid; columns:1]
expected: FAIL
[rendered legend with display: table-column; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: table-footer-group; overflow:hidden]
expected: FAIL
[rendered legend with display: table-row-group; columns:1]
expected: FAIL
[rendered legend with display: run-in; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: inline-block; overflow:hidden]
expected: FAIL
[rendered legend with display: ruby; columns:1]
expected: FAIL
[rendered legend with display: table; overflow:hidden]
expected: FAIL
[rendered legend with display: ruby-text; overflow:hidden]
expected: FAIL
[rendered legend with display: inline-block]
expected: FAIL
[rendered legend with display: ruby-base]
expected: FAIL
[rendered legend with display: table-cell; overflow:hidden]
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,4 +1,5 @@
[iframe_sandbox_popups_escaping-3.html]
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: FAIL
expected: TIMEOUT

View file

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

View file

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

View file

@ -0,0 +1,4 @@
[form-double-submit-2.html]
[preventDefault should allow onclick submit() to succeed]
expected: FAIL

View file

@ -0,0 +1,4 @@
[form-double-submit-3.html]
[<button> should have the same double-submit protection as <input type=submit>]
expected: FAIL

View file

@ -2,57 +2,18 @@
[input type search: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type tel: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type tel: select() a second time (must not fire select)]
expected: FAIL
[textarea: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type text: selectionEnd a second time (must not fire select)]
expected: FAIL
[input type tel: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type search: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type text: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type password: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type tel: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[textarea: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type url: setRangeText() a second time (must not fire select)]
expected: FAIL
[textarea: selectionEnd a second time (must not fire select)]
expected: FAIL
[input type password: select() a second time (must not fire select)]
expected: FAIL
[input type password: selectionStart a second time (must not fire select)]
expected: FAIL
[input type url: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type tel: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type text: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[input type search: selectionEnd a second time (must not fire select)]
expected: FAIL
@ -68,3 +29,33 @@
[input type url: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type tel: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[textarea: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type url: selectionEnd a second time (must not fire select)]
expected: FAIL
[input type password: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[textarea: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type tel: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type url: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type text: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type text: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type search: selectionStart a second time (must not fire select)]
expected: FAIL

View file

@ -0,0 +1,4 @@
[DOMContentLoaded-defer.html]
[The end: DOMContentLoaded and defer scripts]
expected: FAIL

View file

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

View file

@ -0,0 +1,4 @@
[module-static-import-delayed.html]
[document.write in an imported module]
expected: FAIL

View file

@ -1,4 +1,5 @@
[realtimeanalyser-fft-scaling.html]
expected: TIMEOUT
[X 2048-point FFT peak position is not equal to 64. Got 0.]
expected: FAIL

View file

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

View file

@ -0,0 +1,5 @@
[018.html]
expected: TIMEOUT
[origin of the script that invoked the method, javascript:]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[017.html]
expected: TIMEOUT
[origin of the script that invoked the method, about:blank]
expected: TIMEOUT

View file

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

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

@ -2825,13 +2825,6 @@
},
"clipboard-apis": {
"events": {
"copy-event-manual.html": [
"9f9f1950e7cad11da8cc9e8984f130e182d64d64",
[
null,
{}
]
],
"cut-event-manual.html": [
"72c11ec3b98a7839ba6ba22b0340664dcc9782c2",
[
@ -183942,6 +183935,19 @@
{}
]
],
"row-group-order.html": [
"06c0f3bd9651a188c06cfd8a7bf14f07f0ce2c20",
[
null,
[
[
"/css/css-tables/row-group-order-ref.html",
"=="
]
],
{}
]
],
"row-margin-border-padding.html": [
"c6606d941e86f36f12216f28520f6dcb66ef7926",
[
@ -321215,6 +321221,10 @@
"aa3e68e6ab2830a817f8612e240888c2cc6e7a6a",
[]
],
"row-group-order-ref.html": [
"63087671c5fbd5921724df8675bbda13cf0c758c",
[]
],
"row-margin-border-padding-ref.html": [
"68cbcfc9c1ec6aa1fb940f5b26735e3b2fa3587e",
[]
@ -353039,7 +353049,7 @@
[]
],
"html.idl": [
"bb44c1327471ec25b7fefac25758335ea0ae7c51",
"7f2eba2c7aee694e788e9c3f52cdb4f23315730d",
[]
],
"idle-detection.tentative.idl": [
@ -372688,7 +372698,7 @@
]
},
"setup.py": [
"a9cc95f4c1a532b5682de4db367899ad9c5de284",
"fdd8566435a1c8269487b01aab24c123534144b7",
[]
],
"tests": {
@ -374122,7 +374132,7 @@
]
},
"urn-uuid.har": [
"e0cea3699ae53beedde24dc55287b7d4407083dd",
"d821b768a60ec15453077eadaa84b7a385525434",
[]
],
"wbn": {
@ -374249,7 +374259,7 @@
[]
],
"urn-uuid.wbn": [
"a4bd3efc9cc73e1405bad5209631e0e1e1f352b5",
"45db6fefbbe0954affb815a2de1f98abc8ba608e",
[]
]
}
@ -396874,7 +396884,7 @@
]
],
"async-navigator-clipboard-basics.https.html": [
"8fbcd11e7e963240f41e2e1ce6c9a0ae26979d3a",
"61808a52ceb9b6272a6ce495d328a8feaaf9411a",
[
null,
{}
@ -396951,7 +396961,7 @@
]
],
"clipboard-item.https.html": [
"afec778eb99e8605a4c5a1001a2576e1e246b27c",
"50af54ccb670979ab86089f10edbc732e8eb1eed",
[
null,
{}
@ -397002,6 +397012,17 @@
]
]
},
"events": {
"copy-event.html": [
"c8c0593a988066decebb1420c7994ee224d5587c",
[
null,
{
"testdriver": true
}
]
]
},
"feature-policy": {
"clipboard-read": {
"clipboard-read-disabled-by-feature-policy.tentative.https.sub.html": [
@ -484864,7 +484885,7 @@
]
],
"legend-display.html": [
"914547fc6cdde3e464b28eb7cc9737d17305f9af",
"b6c57a67baf06b4fc9043b8140a97e593f80a83f",
[
null,
{}
@ -546104,7 +546125,7 @@
]
],
"urlsearchparams-foreach.any.js": [
"7969a0cb11a2712bbbfc2a42c4856f5576531884",
"ff19643ac220d123be45f01af45fedde8d2d05c1",
[
"url/urlsearchparams-foreach.any.html",
{}
@ -550661,6 +550682,13 @@
{}
]
],
"subframe-from-web-bundle.tentative.html": [
"1e5cdd6943ebdc3b66925177fb17fd4004000680",
[
null,
{}
]
],
"subresource-loading-cross-origin.tentative.html": [
"b0072ddb1f6b19f5571b22ef35892ffd1d6db0a7",
[

View file

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

View file

@ -315,15 +315,15 @@
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL

View file

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

View file

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

View file

@ -5,9 +5,6 @@
[rendered legend with display: ruby-text-container]
expected: FAIL
[rendered legend with display: flow]
expected: FAIL
[rendered legend with display: flow-root]
expected: FAIL
@ -71,3 +68,222 @@
[rendered legend with display: table-column]
expected: FAIL
[rendered legend with display: table; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: inline-grid; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: grid; overflow:hidden]
expected: FAIL
[rendered legend with display: table-column-group; columns:1]
expected: FAIL
[rendered legend with display: ruby-base; columns:1]
expected: FAIL
[rendered legend with display: block ruby; overflow:hidden]
expected: FAIL
[rendered legend with display: table-column; overflow:hidden]
expected: FAIL
[rendered legend with display: inline-block; columns:1]
expected: FAIL
[rendered legend with display: inline-flex; columns:1]
expected: FAIL
[rendered legend with display: table-footer-group; columns:1]
expected: FAIL
[rendered legend with display: inline; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: table-column-group; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: table-row; overflow:hidden]
expected: FAIL
[rendered legend with display: table-row-group; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: ruby-base-container; columns:1]
expected: FAIL
[rendered legend with display: ruby-text-container; columns:1]
expected: FAIL
[rendered legend with display: flow-root; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: ruby-base; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: run-in; overflow:hidden]
expected: FAIL
[rendered legend with display: run-in; columns:1]
expected: FAIL
[rendered legend with display: block ruby; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: inline; overflow:hidden]
expected: FAIL
[rendered legend with display: table-footer-group; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: table-header-group; overflow:hidden]
expected: FAIL
[rendered legend with display: inline-flex; overflow:hidden]
expected: FAIL
[rendered legend with display: ruby; overflow:hidden]
expected: FAIL
[rendered legend with display: list-item; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: table-row; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: flow-root; overflow:hidden]
expected: FAIL
[rendered legend with display: inline-grid; columns:1]
expected: FAIL
[rendered legend with display: inline; columns:1]
expected: FAIL
[rendered legend with display: table-header-group; columns:1]
expected: FAIL
[rendered legend with display: block ruby; columns:1]
expected: FAIL
[rendered legend with display: ruby-base-container; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: flex; overflow:hidden]
expected: FAIL
[rendered legend with display: table-row-group; overflow:hidden]
expected: FAIL
[rendered legend with display: inline-flex; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: ruby-text-container; overflow:hidden]
expected: FAIL
[rendered legend with display: table-header-group; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: table-cell; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: ruby-text; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: block ruby]
expected: FAIL
[rendered legend with display: inline-grid; overflow:hidden]
expected: FAIL
[rendered legend with display: ruby-base; overflow:hidden]
expected: FAIL
[rendered legend with display: ruby-base-container; overflow:hidden]
expected: FAIL
[rendered legend with display: table-column; columns:1]
expected: FAIL
[rendered legend with display: flow-root; columns:1]
expected: FAIL
[rendered legend with display: table-caption; columns:1]
expected: FAIL
[rendered legend with display: flex; columns:1]
expected: FAIL
[rendered legend with display: ruby-text-container; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: grid; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: table-row; columns:1]
expected: FAIL
[rendered legend with display: table-caption; overflow:hidden]
expected: FAIL
[rendered legend with display: table-cell; columns:1]
expected: FAIL
[rendered legend with display: table-caption; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: list-item; overflow:hidden]
expected: FAIL
[rendered legend with display: ruby-text; columns:1]
expected: FAIL
[rendered legend with display: inline-block; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: ruby; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: flex; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: list-item; columns:1]
expected: FAIL
[rendered legend with display: table; columns:1]
expected: FAIL
[rendered legend with display: table-column-group; overflow:hidden]
expected: FAIL
[rendered legend with display: grid; columns:1]
expected: FAIL
[rendered legend with display: table-column; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: table-footer-group; overflow:hidden]
expected: FAIL
[rendered legend with display: table-row-group; columns:1]
expected: FAIL
[rendered legend with display: run-in; overflow:hidden;columns:1]
expected: FAIL
[rendered legend with display: inline-block; overflow:hidden]
expected: FAIL
[rendered legend with display: ruby; columns:1]
expected: FAIL
[rendered legend with display: table; overflow:hidden]
expected: FAIL
[rendered legend with display: ruby-text; overflow:hidden]
expected: FAIL
[rendered legend with display: table-cell; overflow:hidden]
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,5 +1,6 @@
[iframe_sandbox_popups_escaping-3.html]
type: testharness
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: FAIL
expected: TIMEOUT

View file

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

View file

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

View file

@ -0,0 +1,4 @@
[form-double-submit-2.html]
[preventDefault should allow onclick submit() to succeed]
expected: FAIL

View file

@ -0,0 +1,4 @@
[form-double-submit-3.html]
[<button> should have the same double-submit protection as <input type=submit>]
expected: FAIL

View file

@ -2,57 +2,18 @@
[input type search: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type tel: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type tel: select() a second time (must not fire select)]
expected: FAIL
[textarea: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type text: selectionEnd a second time (must not fire select)]
expected: FAIL
[input type tel: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type search: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type text: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type password: setRangeText() a second time (must not fire select)]
expected: FAIL
[input type tel: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[textarea: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type url: setRangeText() a second time (must not fire select)]
expected: FAIL
[textarea: selectionEnd a second time (must not fire select)]
expected: FAIL
[input type password: select() a second time (must not fire select)]
expected: FAIL
[input type password: selectionStart a second time (must not fire select)]
expected: FAIL
[input type url: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type tel: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type text: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[input type search: selectionEnd a second time (must not fire select)]
expected: FAIL
@ -68,3 +29,33 @@
[input type url: setSelectionRange out of range a second time (must not fire select)]
expected: FAIL
[input type tel: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[textarea: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type url: selectionEnd a second time (must not fire select)]
expected: FAIL
[input type password: selectionEnd out of range a second time (must not fire select)]
expected: FAIL
[textarea: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type tel: setSelectionRange() a second time (must not fire select)]
expected: FAIL
[input type url: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type text: selectionDirection a second time (must not fire select)]
expected: FAIL
[input type text: selectionStart out of range a second time (must not fire select)]
expected: FAIL
[input type search: selectionStart a second time (must not fire select)]
expected: FAIL

View file

@ -0,0 +1,4 @@
[DOMContentLoaded-defer.html]
[The end: DOMContentLoaded and defer scripts]
expected: FAIL

View file

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

View file

@ -0,0 +1,4 @@
[module-static-import-delayed.html]
[document.write in an imported module]
expected: FAIL

View file

@ -1,4 +1,5 @@
[realtimeanalyser-fft-scaling.html]
expected: TIMEOUT
[X 2048-point FFT peak position is not equal to 64. Got 0.]
expected: FAIL

View file

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

View file

@ -0,0 +1,5 @@
[018.html]
expected: TIMEOUT
[origin of the script that invoked the method, javascript:]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[017.html]
expected: TIMEOUT
[origin of the script that invoked the method, about:blank]
expected: TIMEOUT

View file

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

View file

@ -46,6 +46,11 @@ promise_test(async t => {
navigator.clipboard.writeText());
}, 'navigator.clipboard.writeText() fails (expect DOMString)');
promise_test(async () => {
const item = new ClipboardItem({'text/plain': 'test'});
await navigator.clipboard.write([item]);
}, 'navigator.clipboard.write({string : DOMString}) succeeds');
promise_test(async () => {
const fetched = await fetch('/clipboard-apis/resources/greenbox.png');
const image = await fetched.blob();
@ -64,6 +69,11 @@ promise_test(async() => {
await navigator.clipboard.write([item]);
}, 'navigator.clipboard.write([text + png] succeeds');
promise_test(async t => {
const item = new ClipboardItem({'image/png': 'not an image'});
await promise_rejects_js(t, TypeError, navigator.clipboard.write([item]));
}, 'navigator.clipboard.write(image/png DOMString) fails');
promise_test(async () => {
const result = await navigator.clipboard.read();
assert_true(result instanceof Object);

View file

@ -89,4 +89,24 @@ promise_test(async t => {
promise_rejects_dom(t, "NotFoundError", item.getType('type not in item'));
promise_rejects_dom(t, "NotFoundError", item.getType('text/plain:subtype'));
}, "getType(DOMString type) rejects correctly when querying for missing type");
promise_test(async () => {
const item =
new ClipboardItem({'text/plain': 'abc', 'not a/real type': 'xxx'});
const blob = await item.getType('text/plain');
assert_equals(blob.type, 'text/plain');
const text = await (new Response(blob)).text();
assert_equals(text, 'abc');
}, "getType(DOMString valid type) converts DOMString to Blob");
promise_test(async () => {
const item =
new ClipboardItem({'text/plain': 'abc', 'not a/real type': 'xxx'});
const blob = await item.getType('not a/real type');
assert_equals(blob.type, 'not a/real type');
const text = await (new Response(blob)).text();
assert_equals(text, 'xxx');
}, "getType(DOMString invalid type) converts DOMString to Blob");
</script>

View file

@ -3,11 +3,23 @@
<link rel="help" href="https://w3c.github.io/clipboard-apis/#clipboard-event-copy">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-actions.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<div id=log></div>
<p>Select and copy any part of this text to continue.
<button id="copy">Trigger copy</button>
<input id="copyTarget" value="this text should be copied">
<script>
setup({explicit_timeout: true});
async_test(t => {
let button = document.getElementById("copy");
button.addEventListener("click", function(e) {
let input = document.getElementById("copyTarget");
input.focus();
input.select();
document.execCommand("copy");
});
document.oncopy = t.step_func_done(event => {
// Nothing can be asserted about the event target until
// https://github.com/w3c/clipboard-apis/issues/70 is resolved.
@ -15,5 +27,7 @@ async_test(t => {
assert_true(event.isTrusted, 'event.isTrusted');
assert_true(event.composed, 'event.composed');
});
test_driver.click(button);
});
</script>

View file

@ -0,0 +1,60 @@
<!doctype html>
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
table {
font: 8px Ahem;
border-collapse: collapse;
}
thead, tbody, tfoot {
border: 10px solid;
}
.first {
border-color: green;
}
.second {
border-color: blue;
}
.third {
border-color: yellow;
}
tbody {
border-color: orange;
}
td {
width: 50px;
height: 50px;
}
</style>
<table>
<tbody class="first">
<tr><td>head 1</td></tr>
</tbody>
<tbody>
<tr><td>body 1</td></tr>
</tbody>
<tbody class="second">
<tr><td>head 2</td></tr>
</tbody>
<tbody>
<tr><td>body 2</td></tr>
</tbody>
<tbody class="third">
<tr><td>head 3</td></tr>
</tbody>
<tbody>
<tr><td>body 3</td></tr>
</tbody>
<tbody class="second">
<tr><td>foot 2</td></tr>
</tbody>
<tbody>
<tr><td>body 4</td></tr>
</tbody>
<tbody class="third">
<tr><td>foot 3</td></tr>
</tbody>
<tbody class="first">
<tr><td>foot 1</td></tr>
</tbody>
</table>

View file

@ -0,0 +1,64 @@
<!doctype html>
<title>CSS Test: Table section ordering</title>
<link rel="author" href="mailto:atotic@chromium.org">
<link rel="help" href="https://www.w3.org/TR/CSS22/tables.html#table-display">
<link rel="match" href="row-group-order-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
table {
font: 8px Ahem;
border-collapse: collapse;
}
thead, tbody, tfoot {
border: 10px solid;
}
.first {
border-color: green;
}
.second {
border-color: blue;
}
.third {
border-color: yellow;
}
tbody {
border-color: orange;
}
td {
width: 50px;
height: 50px;
}
</style>
<table>
<tbody>
<tr><td>body 1</td></tr>
</tbody>
<thead class="first">
<tr><td>head 1</td></tr>
</thead>
<thead class="second">
<tr><td>head 2</td></tr>
</thead>
<tbody>
<tr><td>body 2</td></tr>
</tbody>
<thead class="third">
<tr><td>head 3</td></tr>
</thead>
<tfoot class="first">
<tr><td>foot 1</td></tr>
</tfoot>
<tbody>
<tr><td>body 3</td></tr>
</tbody>
<tfoot class="second">
<tr><td>foot 2</td></tr>
</tfoot>
<tbody>
<tr><td>body 4</td></tr>
</tbody>
<tfoot class="third">
<tr><td>foot 3</td></tr>
</tfoot>
</table>

View file

@ -2,6 +2,9 @@
<title>rendered legend and CSS display</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<style>
legend { width:initial; }
</style>
<fieldset><legend id="ref">x</legend></fieldset>
<fieldset><legend id="test">x</legend></fieldset>
<script>
@ -10,22 +13,28 @@
const testElm = document.querySelector('#test');
const values = ['block', 'table', 'table-row-group', 'table-header-group', 'table-footer-group', 'table-row', 'table-cell',
'table-column-group', 'table-column', 'table-caption', 'list-item', 'flow', 'flow-root','run-in','inline',
'inline-block', 'inline-table', 'ruby', 'ruby-base', 'ruby-text', 'ruby-base-container', 'ruby-text-container',
'inline-block', 'inline-table', 'block ruby', 'ruby', 'ruby-base', 'ruby-text', 'ruby-base-container', 'ruby-text-container',
'grid', 'inline-grid', 'flex', 'inline-flex'];
const extraStyle = ['', 'overflow:hidden', 'columns:1', 'overflow:hidden;columns:1'];
for (const val of values) {
test(() => {
testElm.style.removeProperty('display');
testElm.style.display = val;
const computed = getComputedStyle(testElm);
// Note that computed value is different from the used value.
// E.g., if ruby is not supported, the following assertion will
// fail as the computed value of display will be block.
// If ruby is supported, computed.display will return "ruby",
// but the used value is supposed to be "block".
assert_equals(computed.display, val, `display: ${val} is not supported`);
assert_equals(computed.width, refStyle.width, 'width');
assert_equals(testElm.offsetLeft, refElm.offsetLeft, 'offsetLeft');
}, `rendered legend with display: ${val}`);
for (const style of extraStyle) {
for (const val of values) {
test(() => {
testElm.style.removeProperty('display');
testElm.style = style;
testElm.style.display = val;
const computed = getComputedStyle(testElm);
// Note that computed value is different from the used value.
// E.g., if ruby is not supported, the following assertion will
// fail as the computed value of display will be block.
// If ruby is supported, computed.display will return "ruby",
// but the used value is supposed to be "block ruby".
// Also, 'flow' is serialized as 'block' for legacy reasons.
let expected = val == 'flow' ? 'block' : val;
assert_equals(computed.display, expected, `display: ${val} is not supported`);
assert_equals(computed.width, refStyle.width, 'width');
assert_equals(testElm.offsetLeft, refElm.offsetLeft, 'offsetLeft');
}, `rendered legend with display: ${val}` + (style == '' ? '' : "; " + style));
}
}
</script>

View file

@ -2396,10 +2396,6 @@ interface HTMLMarqueeElement : HTMLElement {
[CEReactions] attribute unsigned long vspace;
[CEReactions] attribute DOMString width;
attribute EventHandler onbounce;
attribute EventHandler onfinish;
attribute EventHandler onstart;
undefined start();
undefined stop();
};

View file

@ -1,7 +1,7 @@
from setuptools import setup
PACKAGE_VERSION = '3.0'
deps = ["six>=1.13.0", "h2==3.0.1"]
deps = ["six>=1.13.0", "h2>=3.0.1"]
setup(name='wptserve',
version=PACKAGE_VERSION,

View file

@ -14,7 +14,7 @@ test(function() {
let a = new URL("http://a.b/c?a=1&b=2&c=3&d=4");
let b = a.searchParams;
var c = [];
for (i of b) {
for (const i of b) {
a.search = "x=1&y=2&z=3";
c.push(i);
}
@ -26,7 +26,7 @@ test(function() {
test(function() {
let a = new URL("http://a.b/c");
let b = a.searchParams;
for (i of b) {
for (const i of b) {
assert_unreached(i);
}
}, "empty");
@ -35,7 +35,7 @@ test(function() {
const url = new URL("http://localhost/query?param0=0&param1=1&param2=2");
const searchParams = url.searchParams;
const seen = [];
for (param of searchParams) {
for (const param of searchParams) {
if (param[0] === 'param0') {
searchParams.delete('param1');
}
@ -50,7 +50,7 @@ test(function() {
const url = new URL("http://localhost/query?param0=0&param1=1&param2=2");
const searchParams = url.searchParams;
const seen = [];
for (param of searchParams) {
for (const param of searchParams) {
if (param[0] === 'param0') {
searchParams.delete('param0');
// 'param1=1' is now in the first slot, so the next iteration will see 'param2=2'.
@ -66,7 +66,7 @@ test(function() {
const url = new URL("http://localhost/query?param0=0&param1=1&param2=2");
const searchParams = url.searchParams;
const seen = [];
for (param of searchParams) {
for (const param of searchParams) {
seen.push(param[0]);
searchParams.delete(param[0]);
}

View file

@ -19,6 +19,25 @@
"text": "window.report_result('OK');"
}
}
},
{
"request": {
"method": "GET",
"url": "urn:uuid:429fcc4e-0696-4bad-b099-ee9175f023ae",
"headers": []
},
"response": {
"status": 200,
"headers": [
{
"name": "Content-type",
"value": "text/html"
}
],
"content": {
"text": "<script> window.parent.postMessage('subframe loaded from WBN: location = ' + location.href, '*'); </script>"
}
}
}
]
}

View file

@ -0,0 +1,35 @@
<!DOCTYPE html>
<title>Subframe loading from Web Bundles</title>
<link
rel="help"
href="https://github.com/WICG/webpackage/blob/master/explainers/subresource-loading.md"
/>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<body>
<script>
promise_test(async () => {
const frame_url = 'urn:uuid:429fcc4e-0696-4bad-b099-ee9175f023ae';
const link = document.createElement('link');
link.rel = 'webbundle';
link.href = '../resources/wbn/urn-uuid.wbn';
link.resources = frame_url;
document.body.appendChild(link);
const message_promisse = new Promise((resolve) => {
window.addEventListener('message', (e) => {
resolve(e.data);
});
});
const iframe = document.createElement('iframe');
iframe.src = frame_url;
document.body.appendChild(iframe);
assert_equals(
await message_promisse,
'subframe loaded from WBN: location = ' + frame_url);
document.body.removeChild(link);
document.body.removeChild(iframe);
}, "Subframe load from Web Bundle");
</script>
</body>