mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Auto merge of #27947 - servo-wpt-sync:wpt_update_14-12-2020, r=servo-wpt-sync
Sync WPT with upstream (14-12-2020) Automated downstream sync of changes from upstream as of 14-12-2020. [no-wpt-sync] r? @servo-wpt-sync
This commit is contained in:
commit
fe51bf8fc8
66 changed files with 502 additions and 140 deletions
|
@ -1,4 +0,0 @@
|
|||
[hit-test-floats-002.html]
|
||||
[Hit test float]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[hit-test-floats-004.html]
|
||||
[Miss float below something else]
|
||||
expected: FAIL
|
||||
|
|
@ -2,6 +2,3 @@
|
|||
[Hit test intersecting scaled box]
|
||||
expected: FAIL
|
||||
|
||||
[Hit test within unscaled box]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[no-transition-from-ua-to-blocking-stylesheet.html]
|
||||
expected: FAIL
|
|
@ -17,6 +17,3 @@
|
|||
[test the top of layer]
|
||||
expected: FAIL
|
||||
|
||||
[test some point of the element: top left corner]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[elementsFromPoint-invalid-cases.html]
|
||||
[The root element is the last element returned for otherwise empty queries within the viewport]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,80 @@
|
|||
[ElementInternals-setFormValue.html]
|
||||
expected: ERROR
|
||||
[Newline normalization - \\n\\r in value]
|
||||
expected: FAIL
|
||||
|
||||
[Single value - name is missing]
|
||||
expected: FAIL
|
||||
|
||||
[Single value - Non-empty name exists]
|
||||
expected: FAIL
|
||||
|
||||
[Null value should submit nothing]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\n in name]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\r\\n in filename]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\r in FormData name]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\r\\n in FormData value]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\r\\n in FormData name]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\n\\r in FormData name]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\n in value]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\r in FormData value]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\n\\r in name]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\r in filename]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\r\\n in name]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\n\\r in FormData value]
|
||||
expected: FAIL
|
||||
|
||||
[setFormValue with an empty FormData should submit nothing]
|
||||
expected: FAIL
|
||||
|
||||
[Single value - empty name exists]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\n in filename]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\n in FormData name]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\r in name]
|
||||
expected: FAIL
|
||||
|
||||
[Multiple values - name content attribute is ignored]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\r in value]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\r\\n in value]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\n in FormData value]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\n\\r in filename]
|
||||
expected: FAIL
|
||||
|
|
@ -312,12 +312,6 @@
|
|||
[<iframe>: separate response Content-Type: text/html;" \\" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;x=" 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
|
||||
|
||||
|
@ -327,3 +321,12 @@
|
|||
[<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/plain;charset=gbk text/html]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -53,3 +53,6 @@
|
|||
[combined text/javascript ]
|
||||
expected: FAIL
|
||||
|
||||
[separate text/javascript x/x]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -11,6 +11,3 @@
|
|||
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
|
||||
expected: FAIL
|
||||
|
||||
[X-Content-Type-Options%3A%20%2Cnosniff]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[traverse_the_history_4.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[traverse_the_history_5.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
[cross-origin-objects-on-new-window.html]
|
||||
expected: TIMEOUT
|
|
@ -1,8 +1,4 @@
|
|||
[embedded-opener-remove-frame.html]
|
||||
expected: TIMEOUT
|
||||
[opener of discarded nested browsing context]
|
||||
expected: FAIL
|
||||
|
||||
[opener of discarded auxiliary browsing context]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -171,6 +171,3 @@
|
|||
[XHTML img usemap="#hash-id"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) IMG usemap="no-hash-name"]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[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: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[iframe_sandbox_popups_nonescaping-1.html]
|
||||
expected: CRASH
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[form-double-submit-3.html]
|
||||
[<button> should have the same double-submit protection as <input type=submit>]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[activation-behavior.window.html]
|
||||
[<a> that is not connected should be followed]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[module-delayed.html]
|
||||
[async document.write in a module]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[module-static-import-delayed.html]
|
||||
[document.write in an imported module]
|
||||
expected: FAIL
|
||||
|
|
@ -3,3 +3,6 @@
|
|||
[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,4 +1,5 @@
|
|||
[realtimeanalyser-fft-scaling.html]
|
||||
expected: TIMEOUT
|
||||
[X 2048-point FFT peak position is not equal to 64. Got 0.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -398,3 +398,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\]\t1.6645447185027924e+26\t9.3139332532882690e-1\t1.6645447185027924e+26\t1.7871555155445501e+26\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 1.6645447185027924e+26 at index of 28696.\n\tMax RelError of 1.7871555155445501e+26 at index of 28696.\n]
|
||||
expected: FAIL
|
||||
|
||||
[X SNR (-529.3507662980993 dB) is not greater than or equal to 65.737. Got -529.3507662980993.]
|
||||
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-4.3575523383884062e+28\t9.3139332532882690e-1\t4.3575523383884062e+28\t4.6785307773705376e+28\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 4.3575523383884062e+28 at index of 28696.\n\tMax RelError of 4.6785307773705376e+28 at index of 28696.\n]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[audiocontext-not-fully-active.html]
|
||||
expected: TIMEOUT
|
||||
[frame in navigated remote-site frame]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[017.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, about:blank]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[018.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, javascript:]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[Worker-constructor.html]
|
||||
expected: ERROR
|
|
@ -279006,7 +279006,7 @@
|
|||
[]
|
||||
],
|
||||
"messages.json": [
|
||||
"8e32e24ca2accb8c2991306fac5d83256273a7ad",
|
||||
"0feb59bd4caad4b5c557b86dadf31192baa0d2d8",
|
||||
[]
|
||||
],
|
||||
"select": {
|
||||
|
@ -351644,7 +351644,7 @@
|
|||
[]
|
||||
],
|
||||
"serial.idl": [
|
||||
"7bca747757345934b076b5f447cf6274483ecbd5",
|
||||
"8612f6f0a2c488b65a3df71e781d975d00481f04",
|
||||
[]
|
||||
],
|
||||
"server-timing.idl": [
|
||||
|
@ -427694,7 +427694,7 @@
|
|||
]
|
||||
],
|
||||
"ElementInternals-setFormValue.html": [
|
||||
"28cf3ec3d0a6117afde014253a9a68f8de0eb7f2",
|
||||
"66ff8841a6966ca2790d486bf5d8208e3fe31195",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
|
@ -486359,7 +486359,7 @@
|
|||
]
|
||||
],
|
||||
"selection.html": [
|
||||
"e216d953cef5ba81067b6e046c8f7ed197c0488c",
|
||||
"04ab7298e35ae5191a7f9d9df2fdb46faf477889",
|
||||
[
|
||||
null,
|
||||
{
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[hit-test-floats-002.html]
|
||||
[Hit test float]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[hit-test-floats-004.html]
|
||||
[Miss float below something else]
|
||||
expected: FAIL
|
||||
|
|
@ -2,6 +2,3 @@
|
|||
[Hit test intersecting scaled box]
|
||||
expected: FAIL
|
||||
|
||||
[Hit test within unscaled box]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[no-transition-from-ua-to-blocking-stylesheet.html]
|
||||
expected: FAIL
|
|
@ -21,6 +21,3 @@
|
|||
[test the top of layer]
|
||||
expected: FAIL
|
||||
|
||||
[test some point of the element: top left corner]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[elementsFromPoint-invalid-cases.html]
|
||||
[The root element is the last element returned for otherwise empty queries within the viewport]
|
||||
expected: FAIL
|
||||
|
|
@ -18,3 +18,63 @@
|
|||
[Single value - empty name exists]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\n\\r in value]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\n in name]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\r\\n in filename]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\r in FormData name]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\r\\n in FormData value]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\r\\n in FormData name]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\n\\r in FormData name]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\n in value]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\r in FormData value]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\n\\r in name]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\r in filename]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\r\\n in name]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\n\\r in FormData value]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\n in filename]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\n in FormData name]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\r in name]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\r in value]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\r\\n in value]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\n in FormData value]
|
||||
expected: FAIL
|
||||
|
||||
[Newline normalization - \\n\\r in filename]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -312,12 +312,6 @@
|
|||
[<iframe>: separate response Content-Type: text/html;" \\" text/plain]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;x=" 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
|
||||
|
||||
|
@ -327,3 +321,12 @@
|
|||
[<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/plain;charset=gbk text/html]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -53,3 +53,6 @@
|
|||
[combined text/javascript ]
|
||||
expected: FAIL
|
||||
|
||||
[separate text/javascript x/x]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -11,6 +11,3 @@
|
|||
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
|
||||
expected: FAIL
|
||||
|
||||
[X-Content-Type-Options%3A%20%2Cnosniff]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[pageload-image-in-popup.html]
|
||||
[The document for a standalone media file should have one child in the body.]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[traverse_the_history_4.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[traverse_the_history_5.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
[cross-origin-objects-on-new-window.html]
|
||||
expected: TIMEOUT
|
|
@ -1,11 +1,7 @@
|
|||
[embedded-opener-remove-frame.html]
|
||||
expected: TIMEOUT
|
||||
[opener and "removed" embedded documents]
|
||||
expected: FAIL
|
||||
|
||||
[opener of discarded nested browsing context]
|
||||
expected: FAIL
|
||||
|
||||
[opener of discarded auxiliary browsing context]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -172,6 +172,3 @@
|
|||
[XHTML img usemap="http://example.org/#garbage-before-hash-id"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (standards) IMG usemap="no-hash-name"]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
[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: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[iframe_sandbox_popups_nonescaping-1.html]
|
||||
type: testharness
|
||||
expected: CRASH
|
||||
expected: TIMEOUT
|
||||
[Check that popups from a sandboxed iframe do not escape the sandbox]
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[form-double-submit-3.html]
|
||||
[<button> should have the same double-submit protection as <input type=submit>]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[activation-behavior.window.html]
|
||||
[<a> that is not connected should be followed]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[module-delayed.html]
|
||||
[async document.write in a module]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[module-static-import-delayed.html]
|
||||
[document.write in an imported module]
|
||||
expected: FAIL
|
||||
|
|
@ -4,3 +4,6 @@
|
|||
[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,4 +1,5 @@
|
|||
[realtimeanalyser-fft-scaling.html]
|
||||
expected: TIMEOUT
|
||||
[X 2048-point FFT peak position is not equal to 64. Got 0.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -626,3 +626,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\]\t1.6645447185027924e+26\t9.3139332532882690e-1\t1.6645447185027924e+26\t1.7871555155445501e+26\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 1.6645447185027924e+26 at index of 28696.\n\tMax RelError of 1.7871555155445501e+26 at index of 28696.\n]
|
||||
expected: FAIL
|
||||
|
||||
[X SNR (-529.3507662980993 dB) is not greater than or equal to 65.737. Got -529.3507662980993.]
|
||||
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-4.3575523383884062e+28\t9.3139332532882690e-1\t4.3575523383884062e+28\t4.6785307773705376e+28\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 4.3575523383884062e+28 at index of 28696.\n\tMax RelError of 4.6785307773705376e+28 at index of 28696.\n]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
[audiocontext-not-fully-active.html]
|
||||
expected: TIMEOUT
|
||||
[frame in navigated remote-site frame]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[017.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, about:blank]
|
||||
expected: TIMEOUT
|
||||
|
5
tests/wpt/metadata/webmessaging/with-ports/018.html.ini
Normal file
5
tests/wpt/metadata/webmessaging/with-ports/018.html.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
[018.html]
|
||||
expected: TIMEOUT
|
||||
[origin of the script that invoked the method, javascript:]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[Worker-constructor.html]
|
||||
expected: ERROR
|
|
@ -1963,7 +1963,7 @@
|
|||
"html/elements/style/scoped-model-novalid.html": "Element \u201cstyle\u201d not allowed as child of element \u201cdiv\u201d in this context. (Suppressing further errors from this subtree.)",
|
||||
"html/elements/style/scoped-multiple-adjacent-novalid.html": "Element \u201cstyle\u201d not allowed as child of element \u201cdiv\u201d in this context. (Suppressing further errors from this subtree.)",
|
||||
"html/elements/style/scoped-novalid.html": "Element \u201cstyle\u201d not allowed as child of element \u201cdiv\u201d in this context. (Suppressing further errors from this subtree.)",
|
||||
"html/elements/style/type-novalid.html": " The only allowed value for the \u201ctype\u201d attribute for the \u201cstyle\u201d element is \u201ctext/css\u201d (with no parameters). (But the attribute is not needed and should be omitted altogether.)",
|
||||
"html/elements/style/type-novalid.html": "The only allowed value for the \u201ctype\u201d attribute for the \u201cstyle\u201d element is \u201ctext/css\u201d (with no parameters). (But the attribute is not needed and should be omitted altogether.)",
|
||||
"html/elements/sub/model-novalid.html": "End tag \u201cp\u201d implied, but there were open elements.",
|
||||
"html/elements/sup/model-novalid.html": "End tag \u201cp\u201d implied, but there were open elements.",
|
||||
"html/elements/table/integrity/Alexis_of_Russia-novalid.html": "The \u201calign\u201d attribute on the \u201ctable\u201d element is obsolete. Use CSS instead.",
|
||||
|
|
|
@ -39,6 +39,25 @@ function submitPromise(t) {
|
|||
});
|
||||
}
|
||||
|
||||
function testSerializedEntry({name, expectedName, value, expectedValue, description}) {
|
||||
promise_test(async t => {
|
||||
$('#container').innerHTML = '<form action="/common/blank.html" target="if1">' +
|
||||
'<my-control></my-control>' +
|
||||
'</form>' +
|
||||
'<iframe name="if1"></iframe>';
|
||||
if (name !== undefined) {
|
||||
$('my-control').setAttribute("name", name);
|
||||
}
|
||||
if (Array.isArray(value)) {
|
||||
$('my-control').setValues(value);
|
||||
} else {
|
||||
$('my-control').value = value;
|
||||
}
|
||||
const query = await submitPromise(t);
|
||||
assert_equals(query, `?${expectedName}=${expectedValue}`);
|
||||
}, description);
|
||||
}
|
||||
|
||||
promise_test(t => {
|
||||
$('#container').innerHTML = '<form action="/common/blank.html" target="if1">' +
|
||||
'<input name=name-pd1 value="value-pd1">' +
|
||||
|
@ -122,4 +141,156 @@ promise_test(t => {
|
|||
assert_equals(query, '?name-pd1=value-pd1');
|
||||
});
|
||||
}, 'setFormValue with an empty FormData should submit nothing');
|
||||
|
||||
testSerializedEntry({
|
||||
name: 'a\nb',
|
||||
value: 'c',
|
||||
expectedName: 'a%0D%0Ab',
|
||||
expectedValue: 'c',
|
||||
description: 'Newline normalization - \\n in name'
|
||||
});
|
||||
|
||||
testSerializedEntry({
|
||||
name: 'a\rb',
|
||||
value: 'c',
|
||||
expectedName: 'a%0D%0Ab',
|
||||
expectedValue: 'c',
|
||||
description: 'Newline normalization - \\r in name'
|
||||
});
|
||||
|
||||
testSerializedEntry({
|
||||
name: 'a\r\nb',
|
||||
value: 'c',
|
||||
expectedName: 'a%0D%0Ab',
|
||||
expectedValue: 'c',
|
||||
description: 'Newline normalization - \\r\\n in name'
|
||||
});
|
||||
|
||||
testSerializedEntry({
|
||||
name: 'a\n\rb',
|
||||
value: 'c',
|
||||
expectedName: 'a%0D%0A%0D%0Ab',
|
||||
expectedValue: 'c',
|
||||
description: 'Newline normalization - \\n\\r in name'
|
||||
});
|
||||
|
||||
testSerializedEntry({
|
||||
name: 'a',
|
||||
value: 'b\nc',
|
||||
expectedName: 'a',
|
||||
expectedValue: 'b%0D%0Ac',
|
||||
description: 'Newline normalization - \\n in value'
|
||||
});
|
||||
|
||||
testSerializedEntry({
|
||||
name: 'a',
|
||||
value: 'b\rc',
|
||||
expectedName: 'a',
|
||||
expectedValue: 'b%0D%0Ac',
|
||||
description: 'Newline normalization - \\r in value'
|
||||
});
|
||||
|
||||
testSerializedEntry({
|
||||
name: 'a',
|
||||
value: 'b\r\nc',
|
||||
expectedName: 'a',
|
||||
expectedValue: 'b%0D%0Ac',
|
||||
description: 'Newline normalization - \\r\\n in value'
|
||||
});
|
||||
|
||||
testSerializedEntry({
|
||||
name: 'a',
|
||||
value: 'b\n\rc',
|
||||
expectedName: 'a',
|
||||
expectedValue: 'b%0D%0A%0D%0Ac',
|
||||
description: 'Newline normalization - \\n\\r in value'
|
||||
});
|
||||
|
||||
testSerializedEntry({
|
||||
name: 'a',
|
||||
value: new File([], "b\nc"),
|
||||
expectedName: 'a',
|
||||
expectedValue: 'b%0D%0Ac',
|
||||
description: 'Newline normalization - \\n in filename'
|
||||
});
|
||||
|
||||
testSerializedEntry({
|
||||
name: 'a',
|
||||
value: new File([], "b\rc"),
|
||||
expectedName: 'a',
|
||||
expectedValue: 'b%0D%0Ac',
|
||||
description: 'Newline normalization - \\r in filename'
|
||||
});
|
||||
|
||||
testSerializedEntry({
|
||||
name: 'a',
|
||||
value: new File([], "b\r\nc"),
|
||||
expectedName: 'a',
|
||||
expectedValue: 'b%0D%0Ac',
|
||||
description: 'Newline normalization - \\r\\n in filename'
|
||||
});
|
||||
|
||||
testSerializedEntry({
|
||||
name: 'a',
|
||||
value: new File([], "b\n\rc"),
|
||||
expectedName: 'a',
|
||||
expectedValue: 'b%0D%0A%0D%0Ac',
|
||||
description: 'Newline normalization - \\n\\r in filename'
|
||||
});
|
||||
|
||||
testSerializedEntry({
|
||||
value: [['a\nb', 'c']],
|
||||
expectedName: 'a%0Ab',
|
||||
expectedValue: 'c',
|
||||
description: 'Newline normalization - \\n in FormData name'
|
||||
});
|
||||
|
||||
testSerializedEntry({
|
||||
value: [['a\rb', 'c']],
|
||||
expectedName: 'a%0Db',
|
||||
expectedValue: 'c',
|
||||
description: 'Newline normalization - \\r in FormData name'
|
||||
});
|
||||
|
||||
testSerializedEntry({
|
||||
value: [['a\r\nb', 'c']],
|
||||
expectedName: 'a%0D%0Ab',
|
||||
expectedValue: 'c',
|
||||
description: 'Newline normalization - \\r\\n in FormData name'
|
||||
});
|
||||
|
||||
testSerializedEntry({
|
||||
value: [['a\n\rb', 'c']],
|
||||
expectedName: 'a%0A%0Db',
|
||||
expectedValue: 'c',
|
||||
description: 'Newline normalization - \\n\\r in FormData name'
|
||||
});
|
||||
|
||||
testSerializedEntry({
|
||||
value: [['a', 'b\nc']],
|
||||
expectedName: 'a',
|
||||
expectedValue: 'b%0Ac',
|
||||
description: 'Newline normalization - \\n in FormData value'
|
||||
});
|
||||
|
||||
testSerializedEntry({
|
||||
value: [['a', 'b\rc']],
|
||||
expectedName: 'a',
|
||||
expectedValue: 'b%0Dc',
|
||||
description: 'Newline normalization - \\r in FormData value'
|
||||
});
|
||||
|
||||
testSerializedEntry({
|
||||
value: [['a', 'b\r\nc']],
|
||||
expectedName: 'a',
|
||||
expectedValue: 'b%0D%0Ac',
|
||||
description: 'Newline normalization - \\r\\n in FormData value'
|
||||
});
|
||||
|
||||
testSerializedEntry({
|
||||
value: [['a', 'b\n\rc']],
|
||||
expectedName: 'a',
|
||||
expectedValue: 'b%0A%0Dc',
|
||||
description: 'Newline normalization - \\n\\r in FormData value'
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -155,10 +155,52 @@
|
|||
|
||||
|
||||
test(function() {
|
||||
var el = createInputElement(sampleText);
|
||||
var el = createTextareaElement(sampleText);
|
||||
assert_in_array(el.selectionDirection, dirs, "SelectionDirection");
|
||||
el.select();
|
||||
assert_in_array(el.selectionDirection, dirs, "SelectionDirection");
|
||||
el.parentNode.removeChild(el);
|
||||
}, "test SelectionDirection for textarea");
|
||||
|
||||
promise_test(async () => {
|
||||
// cause a layout overflow
|
||||
const el = createInputElement(sampleText.repeat(100));
|
||||
el.selectionEnd = 0;
|
||||
await new Promise(requestAnimationFrame);
|
||||
assert_equals(el.scrollLeft, 0);
|
||||
|
||||
el.select();
|
||||
await new Promise(requestAnimationFrame);
|
||||
assert_equals(el.scrollLeft, 0);
|
||||
el.remove();
|
||||
}, `test scrollLeft for input`);
|
||||
|
||||
promise_test(async () => {
|
||||
// cause a layout overflow
|
||||
const el = createInputElement(sampleText.repeat(100));
|
||||
el.scrollLeft = 33;
|
||||
|
||||
el.select();
|
||||
await new Promise(requestAnimationFrame);
|
||||
assert_equals(el.scrollLeft, 33);
|
||||
el.remove();
|
||||
}, `test scrollLeft preservation for input`);
|
||||
|
||||
for (const localName of ["input", "textarea"]) {
|
||||
promise_test(async () => {
|
||||
const container = document.createElement("div");
|
||||
container.style.height = "100px";
|
||||
container.style.overflow = "scroll";
|
||||
const element = document.createElement(localName);
|
||||
element.style.marginTop = "120px";
|
||||
container.append(element);
|
||||
document.body.append(container);
|
||||
|
||||
element.select();
|
||||
await new Promise(requestAnimationFrame);
|
||||
assert_equals(container.scrollTop, 0);
|
||||
|
||||
container.remove();
|
||||
}, `test container.scrollTop for ${localName}`);
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// GENERATED CONTENT - DO NOT EDIT
|
||||
// Content was automatically extracted by Reffy into webref
|
||||
// (https://github.com/w3c/webref)
|
||||
// Source: Serial API (https://wicg.github.io/serial/)
|
||||
// Source: Web Serial API (https://wicg.github.io/serial/)
|
||||
|
||||
[Exposed=Window, SecureContext]
|
||||
partial interface Navigator {
|
||||
|
@ -18,40 +18,67 @@ interface Serial : EventTarget {
|
|||
attribute EventHandler onconnect;
|
||||
attribute EventHandler ondisconnect;
|
||||
Promise<sequence<SerialPort>> getPorts();
|
||||
[Exposed=Window] Promise<SerialPort> requestPort(optional SerialOptions options = {});
|
||||
[Exposed=Window] Promise<SerialPort> requestPort(optional SerialPortRequestOptions options = {});
|
||||
};
|
||||
|
||||
dictionary SerialPortRequestOptions {
|
||||
sequence<SerialPortFilter> filters;
|
||||
};
|
||||
|
||||
dictionary SerialPortFilter {
|
||||
unsigned short usbVendorId;
|
||||
unsigned short usbProductId;
|
||||
};
|
||||
|
||||
[Exposed=(DedicatedWorker,Window), SecureContext]
|
||||
interface SerialPort {
|
||||
Promise<undefined> open(optional SerialOptions options = {});
|
||||
readonly attribute ReadableStream in;
|
||||
readonly attribute WritableStream out;
|
||||
interface SerialPort : EventTarget {
|
||||
attribute EventHandler onconnect;
|
||||
attribute EventHandler ondisconnect;
|
||||
readonly attribute ReadableStream readable;
|
||||
readonly attribute WritableStream writable;
|
||||
|
||||
SerialPortInfo getInfo();
|
||||
|
||||
Promise<undefined> open(SerialOptions options);
|
||||
Promise<undefined> setSignals(optional SerialOutputSignals signals = {});
|
||||
Promise<SerialInputSignals> getSignals();
|
||||
Promise<undefined> close();
|
||||
};
|
||||
|
||||
[Exposed=(DedicatedWorker,Window), SecureContext]
|
||||
interface SerialPortInfo {
|
||||
maplike<DOMString, DOMString?>;
|
||||
dictionary SerialPortInfo {
|
||||
unsigned short usbVendorId;
|
||||
unsigned short usbProductId;
|
||||
};
|
||||
|
||||
dictionary SerialOptions {
|
||||
long baudRate = 9600;
|
||||
octet dataBits = 8;
|
||||
octet stopBits = 1;
|
||||
required [EnforceRange] unsigned long baudRate;
|
||||
[EnforceRange] octet dataBits = 8;
|
||||
[EnforceRange] octet stopBits = 1;
|
||||
ParityType parity = "none";
|
||||
long bufferSize = 255;
|
||||
[EnforceRange] unsigned long bufferSize = 255;
|
||||
FlowControlType flowControl = "none";
|
||||
};
|
||||
|
||||
enum ParityType {
|
||||
"none",
|
||||
"even",
|
||||
"odd",
|
||||
"mark",
|
||||
"space"
|
||||
"odd"
|
||||
};
|
||||
|
||||
enum FlowControlType {
|
||||
"none",
|
||||
"hardware"
|
||||
};
|
||||
|
||||
dictionary SerialOutputSignals {
|
||||
boolean dataTerminalReady;
|
||||
boolean requestToSend;
|
||||
boolean break;
|
||||
};
|
||||
|
||||
dictionary SerialInputSignals {
|
||||
required boolean dataCarrierDetect;
|
||||
required boolean clearToSend;
|
||||
required boolean ringIndicator;
|
||||
required boolean dataSetReady;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue