mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Update web-platform-tests to revision 06e520971307b41e2f2a0317a35d125bd9483263
This commit is contained in:
parent
ec09417358
commit
465b88905c
83 changed files with 422 additions and 220 deletions
|
@ -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
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[hit-test-floats-002.html]
|
||||
[Hit test float]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[hit-test-floats-003.html]
|
||||
[Miss float below something else]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[hit-test-floats-004.html]
|
||||
[Miss float below something else]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[hit-test-floats-005.html]
|
||||
[Miss clipped float]
|
||||
expected: FAIL
|
||||
|
|
@ -2,6 +2,3 @@
|
|||
[Hit test intersecting scaled box]
|
||||
expected: FAIL
|
||||
|
||||
[Hit test within unscaled box]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -14,18 +14,3 @@
|
|||
[<li>Outside 1</li>]
|
||||
expected: FAIL
|
||||
|
||||
[<li>Image Inside 2</li>]
|
||||
expected: FAIL
|
||||
|
||||
[<li>Image Inside 1</li>]
|
||||
expected: FAIL
|
||||
|
||||
[<li>Inside 1</li>]
|
||||
expected: FAIL
|
||||
|
||||
[<li>Inside 2</li>]
|
||||
expected: FAIL
|
||||
|
||||
[<li>Inside 3</li>]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -2,3 +2,6 @@
|
|||
[elementsFromPoint on the root document for points in iframe elements]
|
||||
expected: FAIL
|
||||
|
||||
[elementsFromPoint on inner documents]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[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 @@
|
|||
[matchMedia-display-none-iframe.html]
|
||||
expected: ERROR
|
|
@ -312,21 +312,18 @@
|
|||
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/plain */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
|
||||
[<iframe>: combined response Content-Type: */* text/html]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -56,6 +56,6 @@
|
|||
[separate text/javascript x/x]
|
||||
expected: FAIL
|
||||
|
||||
[separate text/javascript ]
|
||||
[separate text/javascript error]
|
||||
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_3.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,5 +0,0 @@
|
|||
[creating_browsing_context_test_01.html]
|
||||
expected: TIMEOUT
|
||||
[first argument: absolute url]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,17 +1,16 @@
|
|||
[supported-elements.html]
|
||||
expected: TIMEOUT
|
||||
[Contenteditable element should support autofocus]
|
||||
expected: FAIL
|
||||
|
||||
[Host element with delegatesFocus including no focusable descendants should be skipped]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[Element with tabindex should support autofocus]
|
||||
expected: FAIL
|
||||
|
||||
[Area element should support autofocus]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[Host element with delegatesFocus should support autofocus]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[iframe_sandbox_popups_nonescaping-3.html]
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[form-double-submit.html]
|
||||
[default submit action should supersede onclick submit()]
|
||||
expected: FAIL
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[script-onerror-insertion-point-2.html]
|
||||
expected: TIMEOUT
|
|
@ -0,0 +1,4 @@
|
|||
[iframe_005.html]
|
||||
[document.write external script into iframe write back into parent]
|
||||
expected: FAIL
|
||||
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[promise-rejection-events.html]
|
||||
expected: TIMEOUT
|
||||
[delayed handling: delaying handling rejected promise created from createImageBitmap will cause both events to fire]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[unhandledrejection: from createImageBitmap which is UA triggered]
|
||||
expected: FAIL
|
||||
|
|
|
@ -314,3 +314,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-7.5334283148184919e-18\t9.3139332532882690e-1\t9.3139332532882690e-1\t1.0000000000000000e+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.3139332532882690e-1 at index of 28696.\n\tMax RelError of 1.0000000000000000e+0 at index of 28696.\n]
|
||||
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\]\t-2.8028513009320214e+33\t9.3139332532882690e-1\t2.8028513009320214e+33\t3.0093100569971117e+33\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 2.8028513009320214e+33 at index of 28696.\n\tMax RelError of 3.0093100569971117e+33 at index of 28696.\n]
|
||||
expected: FAIL
|
||||
|
||||
[X SNR (-625.5179152127479 dB) is not greater than or equal to 65.737. Got -625.5179152127479.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[audiocontext-not-fully-active.html]
|
||||
expected: TIMEOUT
|
||||
[frame in navigated remote-site frame]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
[017.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, about:blank]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
[import-in-moduleworker.html]
|
||||
expected: ERROR
|
||||
[Base URL in module dedicated workers: import]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
[sharedworker-in-worker.html]
|
||||
expected: ERROR
|
||||
[Base URL in workers: new SharedWorker()]
|
||||
expected: FAIL
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[Worker-constructor.html]
|
||||
expected: ERROR
|
|
@ -0,0 +1,2 @@
|
|||
[send-timeout-events.htm]
|
||||
expected: TIMEOUT
|
|
@ -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
|
||||
|
|
|
@ -668,6 +668,13 @@
|
|||
null,
|
||||
{}
|
||||
]
|
||||
],
|
||||
"svg-unused-filter-on-clippath-mutated-crash.html": [
|
||||
"060b2547de59dfb14835532e52747bee8cc5fdc3",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
|
@ -14110,13 +14117,6 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"hover-002-manual.html": [
|
||||
"50859c5cfb80f1f82c453adad72643009347d7c2",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
]
|
||||
],
|
||||
"old-tests": {
|
||||
"css3-modsel-159.xml": [
|
||||
"3504398dbcf20f70f35c2842b75922cc8e6d7056",
|
||||
|
@ -256410,7 +256410,7 @@
|
|||
},
|
||||
"support": {
|
||||
".azure-pipelines.yml": [
|
||||
"412822c7edb5980cc02968a75802e912702c8707",
|
||||
"3422d9701435860fa51e8773bfa97d206417212e",
|
||||
[]
|
||||
],
|
||||
".codecov.yml": [
|
||||
|
@ -256541,7 +256541,7 @@
|
|||
"file": {
|
||||
"resources": {
|
||||
"echo-content-escaped.py": [
|
||||
"bdbbc0f1ea56591a48a8e06e9a39491a8d49aea6",
|
||||
"de6b2558ece6e4d3882b460a06ded24b482df204",
|
||||
[]
|
||||
]
|
||||
}
|
||||
|
@ -278661,6 +278661,10 @@
|
|||
"6502444407f59e6ea08da63c8dcdb22978e5ae83",
|
||||
[]
|
||||
],
|
||||
"frame-src-sandboxed-allowed.html.headers": [
|
||||
"ec9e8deb5991e9950c705a1ac17201faa5e9fc9d",
|
||||
[]
|
||||
],
|
||||
"support": {
|
||||
"frame.html": [
|
||||
"50be42958744b8a9213d84847fbf0413ae20f3b6",
|
||||
|
@ -350613,7 +350617,7 @@
|
|||
[]
|
||||
],
|
||||
"web-nfc.idl": [
|
||||
"bdf0324d96d692c17bbf10b0974ace38faf33318",
|
||||
"ea78e0af2f02f1d8984b5d363c59c92dbeb60c19",
|
||||
[]
|
||||
],
|
||||
"web-otp.idl": [
|
||||
|
@ -361245,7 +361249,7 @@
|
|||
[]
|
||||
],
|
||||
"install_python.yml": [
|
||||
"6585239bc8ccd9654df1880423c7611e6dbbea62",
|
||||
"6257172021d5a8a043469f93800d9ed8f79efc78",
|
||||
[]
|
||||
],
|
||||
"install_safari.yml": [
|
||||
|
@ -361334,7 +361338,7 @@
|
|||
[]
|
||||
],
|
||||
"taskcluster-run.py": [
|
||||
"49a7d163385628320be85d6e61c27c41314d7f89",
|
||||
"356022034b1448e07dbfb6af71a70c6cdf86bc43",
|
||||
[]
|
||||
],
|
||||
"tc": {
|
||||
|
@ -367894,7 +367898,7 @@
|
|||
]
|
||||
},
|
||||
"requirements.txt": [
|
||||
"7c134b89b9583f9f0584450f20e9665cb80e6445",
|
||||
"77c1ea50e90bc2ccff510173fbc892190b616b1d",
|
||||
[]
|
||||
],
|
||||
"requirements_android_webview.txt": [
|
||||
|
@ -367926,7 +367930,7 @@
|
|||
[]
|
||||
],
|
||||
"requirements_firefox.txt": [
|
||||
"373466dae07e95943d91f330832bf82dc118f0d7",
|
||||
"622c34dcb038347db4f58fa3c69f00ffd0c3e280",
|
||||
[]
|
||||
],
|
||||
"requirements_ie.txt": [
|
||||
|
@ -394766,6 +394770,13 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"frame-src-sandboxed-allowed.html": [
|
||||
"419a14458b759084ec1a9dd3e037a279149fe073",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
]
|
||||
],
|
||||
"frame-src-self-unique-origin.html": [
|
||||
"947b11e063de776b4d9afffb91e1667460d9099f",
|
||||
[
|
||||
|
@ -425317,6 +425328,15 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"hover-002.html": [
|
||||
"02cee99bf6cd161eb95806854cb12e39504a359e",
|
||||
[
|
||||
null,
|
||||
{
|
||||
"testdriver": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"i18n": {
|
||||
"css3-selectors-lang-001.html": [
|
||||
"e88f20a02471e324ee5d5900add484142cbf5ce8",
|
||||
|
@ -507854,7 +507874,7 @@
|
|||
]
|
||||
],
|
||||
"pointerevent_auxclick_is_a_pointerevent.html": [
|
||||
"8c25125a4f0dee674a122cda94d23fab873c8a10",
|
||||
"000d0df764e53f8d1cfa629ebfcccfb768a7a4bf",
|
||||
[
|
||||
null,
|
||||
{
|
||||
|
@ -507908,7 +507928,7 @@
|
|||
]
|
||||
],
|
||||
"pointerevent_click_is_a_pointerevent.html": [
|
||||
"ba20919ebe061efedaf38896246fb7aecfecd811",
|
||||
"dfea148898e4eed29f25e9bf04067a6e7e251b25",
|
||||
[
|
||||
null,
|
||||
{
|
||||
|
@ -507933,7 +507953,7 @@
|
|||
]
|
||||
],
|
||||
"pointerevent_contextmenu_is_a_pointerevent.html": [
|
||||
"4f5b2434b40054913b094ed2fcb11d4a36390008",
|
||||
"8a820834a3a2bd193604ea668a812204f07aeac4",
|
||||
[
|
||||
null,
|
||||
{
|
||||
|
@ -542825,7 +542845,7 @@
|
|||
]
|
||||
],
|
||||
"idlharness.https.window.js": [
|
||||
"d9ce83e2a1f9dfa47bdbb0421c7e9b8826b91d66",
|
||||
"e2000abce8da4e44e793b0f935340b1348033cef",
|
||||
[
|
||||
"web-nfc/idlharness.https.window.html",
|
||||
{
|
||||
|
@ -544987,7 +545007,7 @@
|
|||
]
|
||||
],
|
||||
"video-decoder.any.js": [
|
||||
"e667a5642e76a6bb58cd608ebf2c1428c70b208a",
|
||||
"2dd85ad955b7321167b9809007d1badea5780555",
|
||||
[
|
||||
"webcodecs/video-decoder.any.html",
|
||||
{
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[hit-test-floats-002.html]
|
||||
[Hit test float]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[hit-test-floats-003.html]
|
||||
[Miss float below something else]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[hit-test-floats-004.html]
|
||||
[Miss float below something else]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[hit-test-floats-005.html]
|
||||
[Miss clipped float]
|
||||
expected: FAIL
|
||||
|
|
@ -2,6 +2,3 @@
|
|||
[Hit test intersecting scaled box]
|
||||
expected: FAIL
|
||||
|
||||
[Hit test within unscaled box]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[elementFromPoint-float-in-relative.html]
|
||||
[elementFromPoint-float-in-relative]
|
||||
expected: FAIL
|
||||
|
|
@ -14,12 +14,3 @@
|
|||
[<li>Outside 3</li>]
|
||||
expected: FAIL
|
||||
|
||||
[<li>Inside 1</li>]
|
||||
expected: FAIL
|
||||
|
||||
[<li>Inside 2</li>]
|
||||
expected: FAIL
|
||||
|
||||
[<li>Inside 3</li>]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -2,3 +2,6 @@
|
|||
[elementsFromPoint on the root document for points in iframe elements]
|
||||
expected: FAIL
|
||||
|
||||
[elementsFromPoint on inner documents]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[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 @@
|
|||
[matchMedia-display-none-iframe.html]
|
||||
expected: ERROR
|
|
@ -312,21 +312,18 @@
|
|||
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/plain */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
|
||||
[<iframe>: combined response Content-Type: */* text/html]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -56,6 +56,6 @@
|
|||
[separate text/javascript x/x]
|
||||
expected: FAIL
|
||||
|
||||
[separate text/javascript ]
|
||||
[separate text/javascript error]
|
||||
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_3.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,5 +0,0 @@
|
|||
[creating_browsing_context_test_01.html]
|
||||
expected: TIMEOUT
|
||||
[first argument: absolute url]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
[embedded-opener-remove-frame.html]
|
||||
expected: CRASH
|
||||
[opener and "removed" embedded documents]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[supported-elements.html]
|
||||
expected: TIMEOUT
|
||||
[Contenteditable element should support autofocus]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -7,11 +6,11 @@
|
|||
expected: FAIL
|
||||
|
||||
[Host element with delegatesFocus including no focusable descendants should be skipped]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[Area element should support autofocus]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
[Host element with delegatesFocus should support autofocus]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[iframe_sandbox_popups_nonescaping-3.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||
expected: NOTRUN
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[form-double-submit.html]
|
||||
[default submit action should supersede onclick submit()]
|
||||
expected: FAIL
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[script-onerror-insertion-point-2.html]
|
||||
expected: TIMEOUT
|
|
@ -0,0 +1,4 @@
|
|||
[iframe_005.html]
|
||||
[document.write external script into iframe write back into parent]
|
||||
expected: FAIL
|
||||
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[promise-rejection-events.html]
|
||||
expected: TIMEOUT
|
||||
[delayed handling: delaying handling rejected promise created from createImageBitmap will cause both events to fire]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[unhandledrejection: from createImageBitmap which is UA triggered]
|
||||
expected: FAIL
|
||||
|
|
|
@ -542,3 +542,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-7.5334283148184919e-18\t9.3139332532882690e-1\t9.3139332532882690e-1\t1.0000000000000000e+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.3139332532882690e-1 at index of 28696.\n\tMax RelError of 1.0000000000000000e+0 at index of 28696.\n]
|
||||
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\]\t-2.8028513009320214e+33\t9.3139332532882690e-1\t2.8028513009320214e+33\t3.0093100569971117e+33\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 2.8028513009320214e+33 at index of 28696.\n\tMax RelError of 3.0093100569971117e+33 at index of 28696.\n]
|
||||
expected: FAIL
|
||||
|
||||
[X SNR (-625.5179152127479 dB) is not greater than or equal to 65.737. Got -625.5179152127479.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[audiocontext-not-fully-active.html]
|
||||
expected: TIMEOUT
|
||||
[frame in navigated remote-site frame]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
[017.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, about:blank]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
[import-in-moduleworker.html]
|
||||
expected: ERROR
|
||||
[Base URL in module dedicated workers: import]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[sharedworker-in-worker.html]
|
||||
expected: ERROR
|
||||
[Base URL in workers: new SharedWorker()]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[Worker-constructor.html]
|
||||
expected: ERROR
|
2
tests/wpt/metadata/xhr/send-timeout-events.htm.ini
Normal file
2
tests/wpt/metadata/xhr/send-timeout-events.htm.ini
Normal file
|
@ -0,0 +1,2 @@
|
|||
[send-timeout-events.htm]
|
||||
expected: TIMEOUT
|
|
@ -41,7 +41,7 @@ jobs:
|
|||
steps:
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: '2.7.x'
|
||||
versionSpec: '3.8.x'
|
||||
- template: tools/ci/azure/affected_tests.yml
|
||||
parameters:
|
||||
artifactName: 'safari-preview-affected-tests'
|
||||
|
@ -58,7 +58,7 @@ jobs:
|
|||
steps:
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: '2.7.x'
|
||||
versionSpec: '3.8.x'
|
||||
- template: tools/ci/azure/affected_tests.yml
|
||||
parameters:
|
||||
checkoutCommit: 'HEAD^1'
|
||||
|
@ -601,7 +601,7 @@ jobs:
|
|||
steps:
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: '2.7.x'
|
||||
versionSpec: '3.8.x'
|
||||
- template: tools/ci/azure/checkout.yml
|
||||
- template: tools/ci/azure/pip_install.yml
|
||||
parameters:
|
||||
|
@ -639,7 +639,7 @@ jobs:
|
|||
steps:
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: '2.7.x'
|
||||
versionSpec: '3.8.x'
|
||||
- template: tools/ci/azure/checkout.yml
|
||||
- template: tools/ci/azure/pip_install.yml
|
||||
parameters:
|
||||
|
|
|
@ -5,6 +5,8 @@ from wptserve.utils import isomorphic_encode
|
|||
# As a convenience, CRLF newlines are left as is.
|
||||
|
||||
def escape_byte(byte):
|
||||
# Iterating over a 'bytes' type gives ints, so convert to bytes.
|
||||
byte = bytes([byte])
|
||||
if b"\0" <= byte <= b"\x1F" or byte >= b"\x7F":
|
||||
return b"\\x%02x" % ord(byte)
|
||||
if byte == b"\\":
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Frame-src: 'self' matches even if the parent's origin is unique.</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
var t = async_test('SubframeLoaded');
|
||||
|
||||
window.addEventListener('securitypolicyviolation', t.step_func(function(e) {
|
||||
if (e.violatedDirective === "frame-src") {
|
||||
assert_unreached('unexpected securitypolicyviolation');
|
||||
t.done();
|
||||
}
|
||||
}));
|
||||
|
||||
window.addEventListener("message", t.step_func(function(event) {
|
||||
assert_equals(event.data, "PASS", 'unexpected message: ' + event.data);
|
||||
t.done();
|
||||
}));
|
||||
|
||||
f = document.createElement("iframe");
|
||||
f.src = "/content-security-policy/support/postmessage-pass.html";
|
||||
document.body.appendChild(f);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,4 @@
|
|||
Expires: Mon, 26 Jul 1997 05:00:00 GMT
|
||||
Cache-Control: no-store, no-cache, must-revalidate
|
||||
Pragma: no-cache
|
||||
Content-Security-Policy: frame-src 'self'; sandbox allow-scripts
|
|
@ -0,0 +1,23 @@
|
|||
<!doctype html>
|
||||
<html class='test-wait'>
|
||||
<title>Mutating a filter primitive in a filter that isn't used doesn't crash</title>
|
||||
<link rel='help' href='https://drafts.fxtf.org/filter-effects/#FilterProperty'>
|
||||
<link rel='bookmark' href='https://crbug.com/1151610'>
|
||||
<script src='/common/rendering-utils.js'></script>
|
||||
<svg>
|
||||
<filter id='f'>
|
||||
<feDiffuseLighting id='dl' lighting-color='currentcolor'/>
|
||||
</filter>
|
||||
<clipPath id='c' filter='url(#f)'>
|
||||
<rect width='100' height='100'/>
|
||||
</clipPath>
|
||||
<rect width='500' height='500' fill='green' clip-path='url(#c)'/>
|
||||
</svg>
|
||||
<script>
|
||||
waitForAtLeastOneFrame().then(() => {
|
||||
var primitive = document.getElementById('dl');
|
||||
primitive.parentNode.appendChild(primitive);
|
||||
primitive.setAttribute('lighting-color', 'blue');
|
||||
document.documentElement.classList.remove('test-wait');
|
||||
});
|
||||
</script>
|
|
@ -5,6 +5,9 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/selectors/#the-hover-pseudo">
|
||||
<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>
|
||||
<style>
|
||||
.affected:hover { color: green }
|
||||
#hoveredContents { display: contents }
|
||||
|
@ -14,6 +17,12 @@
|
|||
<div id="hovered2">Hover me - should become green</div>
|
||||
</div>
|
||||
<script>
|
||||
function mouseMoveToTarget(selector) {
|
||||
let target = document.querySelector(selector);
|
||||
return new test_driver.Actions().pointerMove(0, 0, {origin: target})
|
||||
.send();
|
||||
}
|
||||
|
||||
function testElementGreen(test, element) {
|
||||
element.addEventListener("mouseover", test.step_func(event => {
|
||||
assert_equals(getComputedStyle(element).color, "rgb(0, 128, 0)");
|
||||
|
@ -30,4 +39,9 @@
|
|||
|
||||
async_test(t => { testElementGreen(t, hovered); }, "Hover #hovered element should make it go green");
|
||||
async_test(t => { testElementGreen(t, hovered2); }, "Hover #hoveredContents child should make it go green");
|
||||
|
||||
mouseMoveToTarget("#hovered").then(() => {
|
||||
mouseMoveToTarget("#hovered2");
|
||||
});
|
||||
|
||||
</script>
|
|
@ -43,14 +43,6 @@ dictionary NDEFRecordInit {
|
|||
|
||||
typedef (DOMString or BufferSource or NDEFMessageInit) NDEFMessageSource;
|
||||
|
||||
[SecureContext, Exposed=Window]
|
||||
interface NDEFWriter {
|
||||
constructor();
|
||||
|
||||
Promise<undefined> write(NDEFMessageSource message,
|
||||
optional NDEFWriteOptions options={});
|
||||
};
|
||||
|
||||
[SecureContext, Exposed=Window]
|
||||
interface NDEFReader : EventTarget {
|
||||
constructor();
|
||||
|
@ -59,6 +51,8 @@ interface NDEFReader : EventTarget {
|
|||
attribute EventHandler onreadingerror;
|
||||
|
||||
Promise<undefined> scan(optional NDEFScanOptions options={});
|
||||
Promise<undefined> write(NDEFMessageSource message,
|
||||
optional NDEFWriteOptions options={});
|
||||
};
|
||||
|
||||
[SecureContext, Exposed=Window]
|
||||
|
|
|
@ -10,17 +10,47 @@
|
|||
<input id="target" style="margin: 20px">
|
||||
|
||||
<script>
|
||||
'use strict';
|
||||
let auxclickTest = async_test("auxclick is a PointerEvent");
|
||||
let target = document.getElementById("target");
|
||||
'use strict';
|
||||
let target = document.getElementById("target");
|
||||
let pointerId = 0;
|
||||
let pointerType = "";
|
||||
|
||||
target.addEventListener("auxclick", auxclickTest.step_func((e)=>{
|
||||
target.addEventListener("pointerdown", (e)=>{
|
||||
pointerId = e.pointerId;
|
||||
pointerType = e.pointerType;
|
||||
});
|
||||
|
||||
function testFunction(test){
|
||||
return test.step_func(e=>{
|
||||
assert_equals(e.constructor, window.PointerEvent, "auxclick should use a PointerEvent constructor");
|
||||
assert_true(e instanceof PointerEvent, "auxclick should be a PointerEvent");
|
||||
}));
|
||||
let eventWatcher = new EventWatcher(auxclickTest, target, ["auxclick"]);
|
||||
let actions = new test_driver.Actions();
|
||||
actions = actions.pointerMove(0,0, {origin:target})
|
||||
.pointerDown({button:actions.ButtonType.MIDDLE})
|
||||
.pointerUp({button:actions.ButtonType.MIDDLE});
|
||||
Promise.all([eventWatcher.wait_for("auxclick"), actions.send()]).then(()=>auxclickTest.done());
|
||||
assert_equals(e.pointerId, pointerId, "auxclick's pointerId should match the pointerId of the pointer event that triggers it");
|
||||
assert_equals(e.pointerType, pointerType, "axclick's pointerType should match the pointerType of the pointer event that triggers it");
|
||||
});
|
||||
}
|
||||
|
||||
function run_test(pointerType){
|
||||
promise_test((test) => new Promise((resolve, reject) => {
|
||||
const testPointer = "TestPointer";
|
||||
let auxclickFunc = testFunction(test);
|
||||
test.add_cleanup(() => {
|
||||
target.removeEventListener("auxclick", auxclickFunc);
|
||||
pointerId = 0;
|
||||
pointerType = "";
|
||||
});
|
||||
target.addEventListener("auxclick", auxclickFunc);
|
||||
let eventWatcher = new EventWatcher(test, target, ["auxclick"]);
|
||||
let actions = new test_driver.Actions();
|
||||
actions = actions
|
||||
.addPointer(testPointer, pointerType)
|
||||
.pointerMove(0,0, {origin:target, sourceName:testPointer})
|
||||
.pointerDown({button:actions.ButtonType.MIDDLE, sourceName:testPointer})
|
||||
.pointerUp({button:actions.ButtonType.MIDDLE, sourceName:testPointer});
|
||||
Promise.all([eventWatcher.wait_for("auxclick"), actions.send()]).then(()=>resolve());
|
||||
}), "auxclick using " + pointerType + " is a PointerEvent");
|
||||
}
|
||||
|
||||
run_test("mouse");
|
||||
run_test("pen");
|
||||
// TODO(crbug.com/1150441): Add test for auxclick from touch.Note: Calling run_test("touch") here times out.
|
||||
</script>
|
||||
|
|
|
@ -4,18 +4,53 @@
|
|||
<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>
|
||||
|
||||
<input id="target" style="margin: 20px">
|
||||
|
||||
<script>
|
||||
'use strict';
|
||||
let clickTest = async_test("click is a PointerEvent");
|
||||
let target = document.getElementById("target");
|
||||
'use strict';
|
||||
let target = document.getElementById("target");
|
||||
let pointerId = 0;
|
||||
let pointerType = "";
|
||||
|
||||
target.addEventListener("click", clickTest.step_func((e)=>{
|
||||
target.addEventListener("pointerdown", (e)=>{
|
||||
pointerId = e.pointerId;
|
||||
pointerType = e.pointerType;
|
||||
});
|
||||
|
||||
function testFunction(test){
|
||||
return test.step_func(e=>{
|
||||
assert_equals(e.constructor, window.PointerEvent, "click should use a PointerEvent constructor");
|
||||
assert_true(e instanceof PointerEvent, "click should be a PointerEvent");
|
||||
}));
|
||||
let eventWatcher = new EventWatcher(clickTest, target, ["click"]);
|
||||
Promise.all([eventWatcher.wait_for("click"), test_driver.click(target)]).then(()=>clickTest.done());
|
||||
assert_equals(e.pointerId, pointerId, "click's pointerId should match the pointerId of the pointer event that triggers it");
|
||||
assert_equals(e.pointerType, pointerType, "click's pointerType should match the pointerType of the pointer event that triggers it");
|
||||
});
|
||||
}
|
||||
|
||||
function run_test(pointerType){
|
||||
promise_test((test) => new Promise((resolve, reject) => {
|
||||
const testPointer = "TestPointer";
|
||||
let clickFunc = testFunction(test);
|
||||
test.add_cleanup(() => {
|
||||
target.removeEventListener("click", clickFunc);
|
||||
pointerId = 0;
|
||||
pointerType = "";
|
||||
});
|
||||
target.addEventListener("click", clickFunc);
|
||||
let eventWatcher = new EventWatcher(test, target, ["click"]);
|
||||
let actions = new test_driver.Actions();
|
||||
actions = actions
|
||||
.addPointer(testPointer, pointerType)
|
||||
.pointerMove(0,0, {origin:target, sourceName:testPointer})
|
||||
.pointerDown({sourceName:testPointer})
|
||||
.pointerUp({sourceName:testPointer});
|
||||
Promise.all([eventWatcher.wait_for("click"), actions.send()]).then(()=>resolve());
|
||||
}), "click using " + pointerType + " is a PointerEvent");
|
||||
}
|
||||
|
||||
run_test("mouse");
|
||||
run_test("pen");
|
||||
// TODO(crbug.com/1150593): Add wpt test for touch (reuse run_test)
|
||||
</script>
|
||||
|
|
|
@ -10,17 +10,20 @@
|
|||
<input id="target" style="margin: 20px">
|
||||
|
||||
<script>
|
||||
'use strict';
|
||||
let contextmenuTest = async_test("contextmenu is a PointerEvent");
|
||||
let target = document.getElementById("target");
|
||||
'use strict';
|
||||
let contextmenuTest = async_test("contextmenu is a PointerEvent");
|
||||
let target = document.getElementById("target");
|
||||
|
||||
target.addEventListener("contextmenu", contextmenuTest.step_func((e)=>{
|
||||
assert_true(e instanceof PointerEvent, "contextmenu should be a PointerEvent");
|
||||
}));
|
||||
let eventWatcher = new EventWatcher(contextmenuTest, target, ["contextmenu"]);
|
||||
let actions = new test_driver.Actions();
|
||||
actions = actions.pointerMove(0,0, {origin:target})
|
||||
.pointerDown({button:actions.ButtonType.RIGHT})
|
||||
.pointerUp({button:actions.ButtonType.RIGHT});
|
||||
Promise.all([eventWatcher.wait_for("contextmenu"), actions.send()]).then(()=>contextmenuTest.done());
|
||||
target.addEventListener("contextmenu", contextmenuTest.step_func((e)=>{
|
||||
assert_equals(e.constructor, window.PointerEvent, "contextmenu should use a PointerEvent constructor");
|
||||
assert_true(e instanceof PointerEvent, "contextmenu should be a PointerEvent");
|
||||
// TODO(crbug.com/1150441,crbug.com/1150442): Test pointerId, pointerType are properly populated from the pointer event stream
|
||||
}));
|
||||
|
||||
let eventWatcher = new EventWatcher(contextmenuTest, target, ["contextmenu"]);
|
||||
let actions = new test_driver.Actions();
|
||||
actions = actions.pointerMove(0,0, {origin:target})
|
||||
.pointerDown({button:actions.ButtonType.RIGHT})
|
||||
.pointerUp({button:actions.ButtonType.RIGHT});
|
||||
Promise.all([eventWatcher.wait_for("contextmenu"), actions.send()]).then(()=>contextmenuTest.done());
|
||||
</script>
|
||||
|
|
|
@ -1,15 +1,36 @@
|
|||
steps:
|
||||
- powershell: |
|
||||
Start-BitsTransfer -Source https://www.python.org/ftp/python/2.7.15/python-2.7.15.amd64.msi -Destination python.msi
|
||||
$hash = (Get-FileHash python.msi).Hash.ToLower()
|
||||
$expectedHash = "5e85f3c4c209de98480acbf2ba2e71a907fd5567a838ad4b6748c76deb286ad7"
|
||||
$pythonPath = 'C:\Python38'
|
||||
$pythonInstallerLogPath = 'python_installer.log'
|
||||
$installArgs = "/passive /log $pythonInstallerLogPath TargetDir=$pythonPath"
|
||||
|
||||
Write-Host "Downloading python installer exe"
|
||||
$downloadPath = 'python_installer.exe'
|
||||
Start-BitsTransfer -Source https://www.python.org/ftp/python/3.8.5/python-3.8.5-amd64.exe -Destination $downloadPath
|
||||
$hash = (Get-FileHash $downloadPath).Hash.ToLower()
|
||||
$expectedHash = "cd427c7b17337d7c13761ca20877d2d8be661bd30415ddc17072a31a65a91b64"
|
||||
if ($hash.Equals($expectedHash)) {
|
||||
Write-Host "python.msi hash verified"
|
||||
Write-Host "$downloadPath hash verified"
|
||||
} else {
|
||||
Throw "python.msi hash mismatch, got $hash, expected $expectedHash"
|
||||
Throw "$downloadPath hash mismatch, got $hash, expected $expectedHash"
|
||||
}
|
||||
msiexec /i python.msi TARGETDIR=C:\Python27 /q
|
||||
Write-Host "##vso[task.prependpath]C:\Python27"
|
||||
Write-Host "##vso[task.prependpath]C:\Python27\Scripts"
|
||||
|
||||
if (Test-Path -LiteralPath $pythonPath) {
|
||||
Write-Host "$pythonPath already exists, uninstall it"
|
||||
$uninstallArgs = $installArgs + " /uninstall /quiet"
|
||||
$p = Start-Process -FilePath $downloadPath -Verb RunAs -ArgumentList $uninstallArgs -PassThru -Wait
|
||||
Write-Host "Uninstall finished. Exit code was: $($p.ExitCode)"
|
||||
}
|
||||
|
||||
Write-Host "Running $downloadPath with args $installArgs"
|
||||
$p = Start-Process -FilePath $downloadPath -Verb RunAs -ArgumentList $installArgs -PassThru -Wait
|
||||
Write-Host "$downloadPath finished. Exit code was: $($p.ExitCode)"
|
||||
|
||||
Write-Host "Adding Python dirs to path"
|
||||
Write-Host "##vso[task.prependpath]C:\Python38"
|
||||
Write-Host "##vso[task.prependpath]C:\Python38\Scripts"
|
||||
|
||||
Write-Host "Dumping install log file:"
|
||||
Get-Content -Path "python_installer.log"
|
||||
displayName: 'Install Python (Windows)'
|
||||
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
|
||||
|
|
|
@ -62,7 +62,7 @@ def main(product, channel, commit_range, wpt_args):
|
|||
)
|
||||
logger.addHandler(handler)
|
||||
|
||||
subprocess.call(['python', './wpt', 'manifest-download'])
|
||||
subprocess.call(['python3', './wpt', 'manifest-download'])
|
||||
|
||||
if commit_range:
|
||||
logger.info(
|
||||
|
@ -88,7 +88,7 @@ def main(product, channel, commit_range, wpt_args):
|
|||
if product == "servo" and "--test-type=wdspec" in wpt_args:
|
||||
wpt_args = [item for item in wpt_args if not item.startswith("--processes")]
|
||||
|
||||
command = ["python", "./wpt", "run"] + wpt_args + [product]
|
||||
command = ["python3", "./wpt", "run"] + wpt_args + [product]
|
||||
|
||||
logger.info("Executing command: %s" % " ".join(command))
|
||||
with open("/home/test/artifacts/checkrun.md", "a") as f:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
html5lib==1.1
|
||||
mozinfo==1.2.1 # https://bugzilla.mozilla.org/show_bug.cgi?id=1621226
|
||||
mozlog==6.1
|
||||
mozlog==7.0.1
|
||||
mozdebug==0.2
|
||||
# Pillow 7 requires Python 3
|
||||
pillow==6.2.2; python_version <= '2.7' # pyup: <7.0
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
marionette_driver==3.1.0
|
||||
mozcrash==2.0.0
|
||||
mozinstall==2.0.0
|
||||
mozinstall==2.0.1
|
||||
mozleak==0.2
|
||||
moznetwork==1.1.0
|
||||
mozprocess==1.2.1
|
||||
mozprofile==2.5.0
|
||||
mozrunner==8.0.0
|
||||
mozrunner==8.0.3
|
||||
mozversion==2.3.0
|
||||
psutil==5.7.3
|
||||
|
|
|
@ -21,7 +21,6 @@ idl_test(
|
|||
['html', 'dom', 'WebIDL'],
|
||||
idl_array => {
|
||||
idl_array.add_objects({
|
||||
NDEFWriter: ['new NDEFWriter();'],
|
||||
NDEFReader: ['new NDEFReader();'],
|
||||
NDEFRecord: [`new NDEFRecord(${JSON.stringify(record)});`],
|
||||
NDEFMessage: [`new NDEFMessage(${JSON.stringify(message)});`],
|
||||
|
|
|
@ -113,10 +113,18 @@ promise_test(async t => {
|
|||
promise_test(async t => {
|
||||
let buffer = await vp9.buffer();
|
||||
|
||||
let outputs_before_reset = 0;
|
||||
let outputs_after_reset = 0;
|
||||
|
||||
let decoder = new VideoDecoder({
|
||||
// Pre-reset() chunks will all have timestamp=0, while post-reset() chunks
|
||||
// will all have timestamp=1.
|
||||
output(frame) {
|
||||
t.step(() => {
|
||||
assert_unreached("reset() should prevent this output from arriving");
|
||||
if (frame.timestamp == 0)
|
||||
outputs_before_reset++;
|
||||
else
|
||||
outputs_after_reset++;
|
||||
});
|
||||
},
|
||||
error(e) {
|
||||
|
@ -126,19 +134,40 @@ promise_test(async t => {
|
|||
|
||||
decoder.configure({codec: vp9.codec});
|
||||
|
||||
decoder.decode(new EncodedVideoChunk({
|
||||
type:'key',
|
||||
timestamp:0,
|
||||
data: view(buffer, vp9.frames[0])
|
||||
}));
|
||||
for (let i = 0; i < 100; i++) {
|
||||
decoder.decode(new EncodedVideoChunk({
|
||||
type:'key',
|
||||
timestamp:0,
|
||||
data: view(buffer, vp9.frames[0])
|
||||
}));
|
||||
}
|
||||
|
||||
let flushPromise = decoder.flush();
|
||||
assert_greater_than(decoder.decodeQueueSize, 0);
|
||||
|
||||
// Wait for the first frame to be decoded.
|
||||
await t.step_wait(() => outputs_before_reset > 0,
|
||||
"Decoded outputs started coming", 10000, 1);
|
||||
|
||||
let saved_outputs_before_reset = outputs_before_reset;
|
||||
assert_greater_than(saved_outputs_before_reset, 0);
|
||||
assert_less_than(saved_outputs_before_reset, 100);
|
||||
|
||||
decoder.reset()
|
||||
|
||||
assert_equals(decoder.decodeQueueSize, 0);
|
||||
|
||||
await promise_rejects_exactly(t, undefined, flushPromise);
|
||||
decoder.configure({codec: vp9.codec});
|
||||
|
||||
for (let i = 0; i < 5; i++) {
|
||||
decoder.decode(new EncodedVideoChunk({
|
||||
type:'key',
|
||||
timestamp:1,
|
||||
data: view(buffer, vp9.frames[0])
|
||||
}));
|
||||
}
|
||||
await decoder.flush();
|
||||
assert_equals(outputs_after_reset, 5);
|
||||
assert_equals(saved_outputs_before_reset, outputs_before_reset);
|
||||
assert_equals(decoder.decodeQueueSize, 0);
|
||||
|
||||
endAfterEventLoopTurn();
|
||||
}, 'Verify reset() suppresses output and rejects flush');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue