diff options
46 files changed, 721 insertions, 199 deletions
diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index f5ac825eb8d..0674499a11c 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -113925,6 +113925,42 @@ {} ] ], + "css/css-contain/contain-size-replaced-004.html": [ + [ + "css/css-contain/contain-size-replaced-004.html", + [ + [ + "/css/css-contain/contain-size-replaced-004-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-contain/contain-size-replaced-005.html": [ + [ + "css/css-contain/contain-size-replaced-005.html", + [ + [ + "/css/css-contain/contain-size-replaced-005-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-contain/contain-size-replaced-006.html": [ + [ + "css/css-contain/contain-size-replaced-006.html", + [ + [ + "/css/css-contain/contain-size-replaced-006-ref.html", + "==" + ] + ], + {} + ] + ], "css/css-contain/contain-size-scrollbars-001.html": [ [ "css/css-contain/contain-size-scrollbars-001.html", @@ -121725,6 +121761,18 @@ {} ] ], + "css/css-flexbox/percentage-heights-006.html": [ + [ + "css/css-flexbox/percentage-heights-006.html", + [ + [ + "/css/reference/ref-filled-green-100px-square.xht", + "==" + ] + ], + {} + ] + ], "css/css-flexbox/percentage-size-subitems-001.html": [ [ "css/css-flexbox/percentage-size-subitems-001.html", @@ -244230,6 +244278,15 @@ "css/css-contain/contain-size-replaced-003-ref.html": [ [] ], + "css/css-contain/contain-size-replaced-004-ref.html": [ + [] + ], + "css/css-contain/contain-size-replaced-005-ref.html": [ + [] + ], + "css/css-contain/contain-size-replaced-006-ref.html": [ + [] + ], "css/css-contain/contain-style-counters-ref.html": [ [] ], @@ -316067,18 +316124,6 @@ {} ] ], - "css/css-lists/list-and-margin-collapse-003.html": [ - [ - "css/css-lists/list-and-margin-collapse-003.html", - {} - ] - ], - "css/css-lists/list-and-margin-collapse-004.html": [ - [ - "css/css-lists/list-and-margin-collapse-004.html", - {} - ] - ], "css/css-lists/list-and-writing-mode-001.html": [ [ "css/css-lists/list-and-writing-mode-001.html", @@ -406349,6 +406394,12 @@ {} ] ], + "webaudio/the-audio-api/the-audioparam-interface/set-target-conv.html": [ + [ + "webaudio/the-audio-api/the-audioparam-interface/set-target-conv.html", + {} + ] + ], "webaudio/the-audio-api/the-audioparam-interface/setTargetAtTime-after-event-within-block.html": [ [ "webaudio/the-audio-api/the-audioparam-interface/setTargetAtTime-after-event-within-block.html", @@ -408335,9 +408386,9 @@ {} ] ], - "webrtc/RTCPeerConnection-onicecandidateerror.html": [ + "webrtc/RTCPeerConnection-onicecandidateerror.https.html": [ [ - "webrtc/RTCPeerConnection-onicecandidateerror.html", + "webrtc/RTCPeerConnection-onicecandidateerror.https.html", {} ] ], @@ -540796,6 +540847,30 @@ "8cb8a8f28a1ea5c9abc0fb0bbb5d7b5805aa3b87", "reftest" ], + "css/css-contain/contain-size-replaced-004-ref.html": [ + "eba5e8cb9a81b14895af3e6a9b5b2f425e23d74a", + "support" + ], + "css/css-contain/contain-size-replaced-004.html": [ + "511edadc4f8f1130802b2c179448bad6e7552593", + "reftest" + ], + "css/css-contain/contain-size-replaced-005-ref.html": [ + "a5328c79ac60e24fc05f8c8027247ad9fb8d619c", + "support" + ], + "css/css-contain/contain-size-replaced-005.html": [ + "e889dcc903cc47f4fc59cd65ab313912b8d6e72c", + "reftest" + ], + "css/css-contain/contain-size-replaced-006-ref.html": [ + "2f638d7fe428efe8f326a1ba34337853243d6937", + "support" + ], + "css/css-contain/contain-size-replaced-006.html": [ + "dccb799ea87433e0442539e11c3a5934e4b59e2e", + "reftest" + ], "css/css-contain/contain-size-scrollbars-001.html": [ "26f0d81da8ceac6df92325bf33d15d01c0d3d432", "reftest" @@ -546616,6 +546691,10 @@ "5f3cfeec7e026ed3100c6af37ccc12ad9a5c5258", "reftest" ], + "css/css-flexbox/percentage-heights-006.html": [ + "5633dba3bdb63188d5ce10112d22b69bb5eb21a3", + "reftest" + ], "css/css-flexbox/percentage-size-subitems-001.html": [ "70f3953052a3a770c6cd15ee169607a00fc452b0", "reftest" @@ -556669,7 +556748,7 @@ "reftest" ], "css/css-grid/animation/grid-template-columns-interpolation.html": [ - "e42a4243543dc43a876724ce1f74a2c1d496c077", + "5da3dea6cca6fba44717efc4dcafb4a258f97679", "testharness" ], "css/css-grid/animation/grid-template-rows-001-ref.html": [ @@ -556681,7 +556760,7 @@ "reftest" ], "css/css-grid/animation/grid-template-rows-interpolation.html": [ - "3c650395df082f0240b88f5868fc10ec04960d53", + "c1ff70c49ec1e77ba0e794c7537ae90cd503498e", "testharness" ], "css/css-grid/grid-definition/fr-unit-with-percentage.html": [ @@ -559024,14 +559103,6 @@ "ef110ca17ce04b458100ca9c7b61f71cbc7b3b67", "testharness" ], - "css/css-lists/list-and-margin-collapse-003.html": [ - "78dcbc6cd4503c2dac6122809f498fbd772c3bc1", - "testharness" - ], - "css/css-lists/list-and-margin-collapse-004.html": [ - "4a92f8becf204f03e865218b9d82060f83a8cf7e", - "testharness" - ], "css/css-lists/list-and-writing-mode-001.html": [ "df54e8fb0df8146f896c2abd136d63d930d92d1c", "testharness" @@ -641397,7 +641468,7 @@ "support" ], "interfaces/speech-api.idl": [ - "563d64cd3b7c01b7ad237fd16d1db57657931cd6", + "2ed9c2ce8b81756091267843bbe55708c6ecc86c", "support" ], "interfaces/storage.idl": [ @@ -655329,7 +655400,7 @@ "testharness" ], "pointerlock/movementX_Y_basic.html": [ - "b09d896ecfb90eea17c294c77582ba53b07283da", + "a317130190ae46a59b89d63ac2c9717c12a8fbc5", "testharness" ], "pointerlock/movementX_Y_no-jumps-manual.html": [ @@ -682921,7 +682992,7 @@ "support" ], "url/resources/setters_tests.json": [ - "db23d9247328009772b3cdc9eb161f9787304857", + "0b4f6b67387c22879b1f2a03ed4d5d3c1d440d26", "support" ], "url/resources/toascii.json": [ @@ -685824,6 +685895,10 @@ "bbda190f099e4e08c686bb7d2b063e753ba0f606", "support" ], + "webaudio/the-audio-api/the-audioparam-interface/set-target-conv.html": [ + "2ed076cccf758caaec1c381e89254b10ff7cd7d5", + "testharness" + ], "webaudio/the-audio-api/the-audioparam-interface/setTargetAtTime-after-event-within-block.html": [ "827aeeabd47962ca52ff187f770cce3deb58d077", "testharness" @@ -688248,8 +688323,8 @@ "2fd33ca541148ca6a7be5f5624e303795c7c458d", "testharness" ], - "webrtc/RTCPeerConnection-onicecandidateerror.html": [ - "e06c219483eee479d3b4afe8c470c8d63953132c", + "webrtc/RTCPeerConnection-onicecandidateerror.https.html": [ + "1bbb30bd575794ea5bb12bc192262a4127a6c308", "testharness" ], "webrtc/RTCPeerConnection-onnegotiationneeded.html": [ diff --git a/tests/wpt/metadata/css/css-flexbox/percentage-heights-006.html.ini b/tests/wpt/metadata/css/css-flexbox/percentage-heights-006.html.ini new file mode 100644 index 00000000000..52dd6f54795 --- /dev/null +++ b/tests/wpt/metadata/css/css-flexbox/percentage-heights-006.html.ini @@ -0,0 +1,2 @@ +[percentage-heights-006.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-transitions/properties-value-001.html.ini b/tests/wpt/metadata/css/css-transitions/properties-value-001.html.ini index 130c0181e43..a426a9dffbc 100644 --- a/tests/wpt/metadata/css/css-transitions/properties-value-001.html.ini +++ b/tests/wpt/metadata/css/css-transitions/properties-value-001.html.ini @@ -1079,3 +1079,9 @@ [text-indent percentage(%) / values] expected: FAIL + [margin-right length(in) / values] + expected: FAIL + + [margin-right length(cm) / values] + expected: FAIL + diff --git a/tests/wpt/metadata/css/css-transitions/properties-value-inherit-001.html.ini b/tests/wpt/metadata/css/css-transitions/properties-value-inherit-001.html.ini index 5d20389c8e9..7f17425c4aa 100644 --- a/tests/wpt/metadata/css/css-transitions/properties-value-inherit-001.html.ini +++ b/tests/wpt/metadata/css/css-transitions/properties-value-inherit-001.html.ini @@ -56,3 +56,6 @@ [background-position length(px) / events] expected: FAIL + [font-size length(em) / events] + expected: FAIL + diff --git a/tests/wpt/metadata/css/cssom-view/matchMedia-display-none-iframe.html.ini b/tests/wpt/metadata/css/cssom-view/matchMedia-display-none-iframe.html.ini deleted file mode 100644 index e6e1f29e274..00000000000 --- a/tests/wpt/metadata/css/cssom-view/matchMedia-display-none-iframe.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[matchMedia-display-none-iframe.html] - expected: ERROR diff --git a/tests/wpt/metadata/fetch/content-type/response.window.js.ini b/tests/wpt/metadata/fetch/content-type/response.window.js.ini index 5f4df6b4ebe..bb5d08a24ad 100644 --- a/tests/wpt/metadata/fetch/content-type/response.window.js.ini +++ b/tests/wpt/metadata/fetch/content-type/response.window.js.ini @@ -315,24 +315,27 @@ [<iframe>: separate 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] expected: FAIL [<iframe>: combined response Content-Type: text/html */*] expected: FAIL - [<iframe>: separate response Content-Type: text/plain */*] + [<iframe>: separate response Content-Type: text/html */*;charset=gbk] expected: FAIL - [<iframe>: separate response Content-Type: text/html */*;charset=gbk] + [<iframe>: combined response Content-Type: text/html */*;charset=gbk] expected: FAIL - [<iframe>: separate response Content-Type: text/html;" text/plain] + [<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html] expected: FAIL - [<iframe>: combined response Content-Type: text/html */*;charset=gbk] + [<iframe>: separate response Content-Type: text/html;x=" text/plain] + expected: FAIL + + [<iframe>: combined response Content-Type: text/html;x=" text/plain] + expected: FAIL + + [<iframe>: separate response Content-Type: text/plain */*;charset=gbk] expected: FAIL diff --git a/tests/wpt/metadata/fetch/content-type/script.window.js.ini b/tests/wpt/metadata/fetch/content-type/script.window.js.ini index b2ffc8abf78..279734168dc 100644 --- a/tests/wpt/metadata/fetch/content-type/script.window.js.ini +++ b/tests/wpt/metadata/fetch/content-type/script.window.js.ini @@ -56,6 +56,6 @@ [separate text/javascript x/x] expected: FAIL - [separate text/javascript error] + [separate text/javascript;charset=windows-1252 text/javascript] expected: FAIL diff --git a/tests/wpt/metadata/fetch/nosniff/parsing-nosniff.window.js.ini b/tests/wpt/metadata/fetch/nosniff/parsing-nosniff.window.js.ini index d4ba399b762..536384f36e1 100644 --- a/tests/wpt/metadata/fetch/nosniff/parsing-nosniff.window.js.ini +++ b/tests/wpt/metadata/fetch/nosniff/parsing-nosniff.window.js.ini @@ -11,6 +11,6 @@ [X-Content-Type-Options%3A%20nosniff%0C] expected: FAIL - [X-Content-Type-Options%3A%20'NosniFF'] + [X-Content-Type-Options%3A%20%2Cnosniff] expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_3.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_3.html.ini new file mode 100644 index 00000000000..51f8272a6de --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_3.html.ini @@ -0,0 +1,4 @@ +[traverse_the_history_3.html] + [Multiple history traversals, last would be aborted] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-innerwidth-innerheight.html.ini b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-innerwidth-innerheight.html.ini index bf50d59df41..e02f179ec25 100644 --- a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-innerwidth-innerheight.html.ini +++ b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-innerwidth-innerheight.html.ini @@ -1,5 +1,24 @@ [open-features-negative-innerwidth-innerheight.html] type: testharness + expected: TIMEOUT [HTML: window.open `features`: negative values for legacy `innerwidth`, `innerheight`] expected: FAIL + [features "innerheight=-404.5" should NOT set "height=404"] + expected: TIMEOUT + + [features "innerwidth=-404.5" should NOT set "width=404"] + expected: TIMEOUT + + [features "innerwidth=-404" should NOT set "width=404"] + expected: TIMEOUT + + [features "innerheight=-404e1" should NOT set "height=404"] + expected: TIMEOUT + + [features "innerheight=-404" should NOT set "height=404"] + expected: TIMEOUT + + [features "innerwidth=-404e1" should NOT set "width=404"] + expected: TIMEOUT + diff --git a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-screenx-screeny.html.ini b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-screenx-screeny.html.ini index e150c9d848f..23eefb8eaf9 100644 --- a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-screenx-screeny.html.ini +++ b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-screenx-screeny.html.ini @@ -1,5 +1,24 @@ [open-features-negative-screenx-screeny.html] type: testharness + expected: TIMEOUT [HTML: window.open `features`: negative values for legacy `screenx`, `screeny`] expected: FAIL + [features "screenx=-204" should NOT set "left=204"] + expected: TIMEOUT + + [features "screeny=-204" should NOT set "top=204"] + expected: TIMEOUT + + [features "screeny=-204.5" should NOT set "top=204"] + expected: TIMEOUT + + [features "screeny=-0" should NOT set "top=204"] + expected: TIMEOUT + + [features "screenx=-0" should NOT set "left=204"] + expected: TIMEOUT + + [features "screenx=-204.5" should NOT set "left=204"] + expected: TIMEOUT + diff --git a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-top-left.html.ini b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-top-left.html.ini index ad8840fbb68..940516ddd33 100644 --- a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-top-left.html.ini +++ b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-top-left.html.ini @@ -1,5 +1,24 @@ [open-features-negative-top-left.html] type: testharness + expected: TIMEOUT [HTML: window.open `features`: negative values for `top`, `left`] expected: FAIL + [features "top=-204" should NOT set "top=204"] + expected: TIMEOUT + + [features "top=-204.5" should NOT set "top=204"] + expected: TIMEOUT + + [features "left=-204" should NOT set "left=204"] + expected: TIMEOUT + + [features "top=-0" should NOT set "top=204"] + expected: TIMEOUT + + [features "left=-204.5" should NOT set "left=204"] + expected: TIMEOUT + + [features "left=-0" should NOT set "left=204"] + expected: TIMEOUT + diff --git a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-width-height.html.ini b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-width-height.html.ini index d1ed9088b2b..9027336b453 100644 --- a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-width-height.html.ini +++ b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-negative-width-height.html.ini @@ -1,5 +1,24 @@ [open-features-negative-width-height.html] type: testharness + expected: TIMEOUT [HTML: window.open `features`: negative values for `width`, `height`] expected: FAIL + [features "height=-404" should NOT set "height=404"] + expected: TIMEOUT + + [features "height=-404e1" should NOT set "height=404"] + expected: TIMEOUT + + [features "height=-404.5" should NOT set "height=404"] + expected: TIMEOUT + + [features "width=-404" should NOT set "width=404"] + expected: TIMEOUT + + [features "width=-404e1" should NOT set "width=404"] + expected: TIMEOUT + + [features "width=-404.5" should NOT set "width=404"] + expected: TIMEOUT + diff --git a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-height.html.ini b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-height.html.ini index a70e9dbad4d..4e44584b123 100644 --- a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-height.html.ini +++ b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-height.html.ini @@ -1,32 +1,48 @@ [open-features-non-integer-height.html] type: testharness + expected: TIMEOUT [HTML: window.open `features`: non-integer values for feature `height`] expected: FAIL [features "height=405*3" should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "height=405.32" should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "height=405e1" should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "height=405/5" should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "height=405^4" should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "height=405.5" should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "height=405e-1" should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "height=405 " should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "height=405LLl" should set "height=405"] - expected: FAIL + expected: TIMEOUT + + [features "height=/404" should NOT set "height=404"] + expected: TIMEOUT + + [top=0,left=0,width=401,: absence of feature "height" should be treated same as "height=0"] + expected: TIMEOUT + + [top=0,left=0: absence of feature "height" should be treated same as "height=0"] + expected: TIMEOUT + + [features "height=_404" should NOT set "height=404"] + expected: TIMEOUT + + [features "height=L404" should NOT set "height=404"] + expected: TIMEOUT diff --git a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-innerheight.html.ini b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-innerheight.html.ini index 779531b4a98..fcaeae5336d 100644 --- a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-innerheight.html.ini +++ b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-innerheight.html.ini @@ -1,32 +1,42 @@ [open-features-non-integer-innerheight.html] type: testharness + expected: TIMEOUT [HTML: window.open `features`: non-integer values for legacy feature `innerheight`] expected: FAIL [features "innerheight=405e-1" should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "innerheight=405LLl" should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "innerheight=405^4" should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "innerheight=405e1" should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "innerheight=405 " should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "innerheight=405/5" should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "innerheight=405.32" should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "innerheight=405.5" should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "innerheight=405*3" should set "height=405"] - expected: FAIL + expected: TIMEOUT + + [features "innerheight=_404" should NOT set "height=404"] + expected: TIMEOUT + + [features "innerheight=L404" should NOT set "height=404"] + expected: TIMEOUT + + [features "innerheight=/404" should NOT set "height=404"] + expected: TIMEOUT diff --git a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-innerwidth.html.ini b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-innerwidth.html.ini index 7a1b258d52e..42327fedd27 100644 --- a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-innerwidth.html.ini +++ b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-innerwidth.html.ini @@ -1,32 +1,42 @@ [open-features-non-integer-innerwidth.html] type: testharness + expected: TIMEOUT [HTML: window.open `features`: non-integer values for legacy feature `innerwidth`] expected: FAIL [features "innerwidth=405e-1" should set "width=405"] - expected: FAIL + expected: TIMEOUT [features "innerwidth=405*3" should set "width=405"] - expected: FAIL + expected: TIMEOUT [features "innerwidth=405.5" should set "width=405"] - expected: FAIL + expected: TIMEOUT [features "innerwidth=405e1" should set "width=405"] - expected: FAIL + expected: TIMEOUT [features "innerwidth=405.32" should set "width=405"] - expected: FAIL + expected: TIMEOUT [features "innerwidth=405 " should set "width=405"] - expected: FAIL + expected: TIMEOUT [features "innerwidth=405LLl" should set "width=405"] - expected: FAIL + expected: TIMEOUT [features "innerwidth=405/5" should set "width=405"] - expected: FAIL + expected: TIMEOUT [features "innerwidth=405^4" should set "width=405"] - expected: FAIL + expected: TIMEOUT + + [features "innerwidth=/404" should NOT set "width=404"] + expected: TIMEOUT + + [features "innerwidth=_404" should NOT set "width=404"] + expected: TIMEOUT + + [features "innerwidth=L404" should NOT set "width=404"] + expected: TIMEOUT diff --git a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-left.html.ini b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-left.html.ini index caba4124f0b..a8e4fe06618 100644 --- a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-left.html.ini +++ b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-left.html.ini @@ -1,32 +1,42 @@ [open-features-non-integer-left.html] type: testharness + expected: TIMEOUT [HTML: window.open `features`: non-integer values for feature `left`] expected: FAIL [features "left=105e1" should set "left=105"] - expected: FAIL + expected: TIMEOUT [features "left=105 " should set "left=105"] - expected: FAIL + expected: TIMEOUT [features "left=105/5" should set "left=105"] - expected: FAIL + expected: TIMEOUT [features "left=105e-1" should set "left=105"] - expected: FAIL + expected: TIMEOUT [features "left=105^4" should set "left=105"] - expected: FAIL + expected: TIMEOUT [features "left=105LLl" should set "left=105"] - expected: FAIL + expected: TIMEOUT [features "left=105.32" should set "left=105"] - expected: FAIL + expected: TIMEOUT [features "left=105*3" should set "left=105"] - expected: FAIL + expected: TIMEOUT [features "left=105.5" should set "left=105"] - expected: FAIL + expected: TIMEOUT + + [features "left=L104" should NOT set "left=104"] + expected: TIMEOUT + + [features "left=/104" should NOT set "left=104"] + expected: TIMEOUT + + [features "left=_104" should NOT set "left=104"] + expected: TIMEOUT diff --git a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-screenx.html.ini b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-screenx.html.ini index 9ace8a4cbdb..64a08faf0e6 100644 --- a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-screenx.html.ini +++ b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-screenx.html.ini @@ -1,32 +1,42 @@ [open-features-non-integer-screenx.html] type: testharness + expected: TIMEOUT [HTML: window.open `features`: non-integer values for legacy feature `screenx`] expected: FAIL [features "screenx=105.5" should set "left=105"] - expected: FAIL + expected: TIMEOUT [features "screenx=105e1" should set "left=105"] - expected: FAIL + expected: TIMEOUT [features "screenx=105 " should set "left=105"] - expected: FAIL + expected: TIMEOUT [features "screenx=105*3" should set "left=105"] - expected: FAIL + expected: TIMEOUT [features "screenx=105e-1" should set "left=105"] - expected: FAIL + expected: TIMEOUT [features "screenx=105^4" should set "left=105"] - expected: FAIL + expected: TIMEOUT [features "screenx=105LLl" should set "left=105"] - expected: FAIL + expected: TIMEOUT [features "screenx=105/5" should set "left=105"] - expected: FAIL + expected: TIMEOUT [features "screenx=105.32" should set "left=105"] - expected: FAIL + expected: TIMEOUT + + [features "screenx=_104" should NOT set "left=104"] + expected: TIMEOUT + + [features "screenx=L104" should NOT set "left=104"] + expected: TIMEOUT + + [features "screenx=/104" should NOT set "left=104"] + expected: TIMEOUT diff --git a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-screeny.html.ini b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-screeny.html.ini index a82bd0f981a..4f22ef4ef29 100644 --- a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-screeny.html.ini +++ b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-screeny.html.ini @@ -1,32 +1,42 @@ [open-features-non-integer-screeny.html] type: testharness + expected: TIMEOUT [HTML: window.open `features`: non-integer values for legacy feature `screeny`] expected: FAIL [features "screeny=405^4" should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "screeny=405e-1" should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "screeny=405LLl" should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "screeny=405e1" should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "screeny=405 " should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "screeny=405/5" should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "screeny=405*3" should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "screeny=405.32" should set "height=405"] - expected: FAIL + expected: TIMEOUT [features "screeny=405.5" should set "height=405"] - expected: FAIL + expected: TIMEOUT + + [features "screeny=_404" should NOT set "height=404"] + expected: TIMEOUT + + [features "screeny=L404" should NOT set "height=404"] + expected: TIMEOUT + + [features "screeny=/404" should NOT set "height=404"] + expected: TIMEOUT diff --git a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-top.html.ini b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-top.html.ini index 10f617db69e..8540f53d8d6 100644 --- a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-top.html.ini +++ b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-top.html.ini @@ -1,32 +1,42 @@ [open-features-non-integer-top.html] type: testharness + expected: TIMEOUT [HTML: window.open `features`: non-integer values for feature `top`] expected: FAIL [features "top=105/5" should set "top=105"] - expected: FAIL + expected: TIMEOUT [features "top=105*3" should set "top=105"] - expected: FAIL + expected: TIMEOUT [features "top=105LLl" should set "top=105"] - expected: FAIL + expected: TIMEOUT [features "top=105e-1" should set "top=105"] - expected: FAIL + expected: TIMEOUT [features "top=105.32" should set "top=105"] - expected: FAIL + expected: TIMEOUT [features "top=105e1" should set "top=105"] - expected: FAIL + expected: TIMEOUT [features "top=105 " should set "top=105"] - expected: FAIL + expected: TIMEOUT [features "top=105^4" should set "top=105"] - expected: FAIL + expected: TIMEOUT [features "top=105.5" should set "top=105"] - expected: FAIL + expected: TIMEOUT + + [features "top=/104" should NOT set "top=104"] + expected: TIMEOUT + + [features "top=_104" should NOT set "top=104"] + expected: TIMEOUT + + [features "top=L104" should NOT set "top=104"] + expected: TIMEOUT diff --git a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-width.html.ini b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-width.html.ini index 28f93ee71b5..9d841e61bc0 100644 --- a/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-width.html.ini +++ b/tests/wpt/metadata/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-width.html.ini @@ -1,32 +1,48 @@ [open-features-non-integer-width.html] type: testharness + expected: TIMEOUT [HTML: window.open `features`: non-integer values for feature `width`] expected: FAIL [features "width=405^4" should set "width=405"] - expected: FAIL + expected: TIMEOUT [features "width=405.5" should set "width=405"] - expected: FAIL + expected: TIMEOUT [features "width=405e1" should set "width=405"] - expected: FAIL + expected: TIMEOUT [features "width=405 " should set "width=405"] - expected: FAIL + expected: TIMEOUT [features "width=405.32" should set "width=405"] - expected: FAIL + expected: TIMEOUT [features "width=405LLl" should set "width=405"] - expected: FAIL + expected: TIMEOUT [features "width=405*3" should set "width=405"] - expected: FAIL + expected: TIMEOUT [features "width=405e-1" should set "width=405"] - expected: FAIL + expected: TIMEOUT [features "width=405/5" should set "width=405"] - expected: FAIL + expected: TIMEOUT + + [top=0,left=0: absence of feature "width" should be treated same as "width=0"] + expected: TIMEOUT + + [features "width=_404" should NOT set "width=404"] + expected: TIMEOUT + + [top=0,left=0,height=401,: absence of feature "width" should be treated same as "width=0"] + expected: TIMEOUT + + [features "width=/404" should NOT set "width=404"] + expected: TIMEOUT + + [features "width=L404" should NOT set "width=404"] + expected: TIMEOUT diff --git a/tests/wpt/metadata/html/semantics/forms/form-submission-0/form-submission-algorithm.html.ini b/tests/wpt/metadata/html/semantics/forms/form-submission-0/form-submission-algorithm.html.ini index 127392316de..702af61a3c4 100644 --- a/tests/wpt/metadata/html/semantics/forms/form-submission-0/form-submission-algorithm.html.ini +++ b/tests/wpt/metadata/html/semantics/forms/form-submission-0/form-submission-algorithm.html.ini @@ -1,7 +1,11 @@ [form-submission-algorithm.html] + expected: TIMEOUT [If form's firing submission events is true, then return; 'submit' event] expected: FAIL [If form's firing submission events is true, then return; 'invalid' event] expected: FAIL + [Cannot navigate (after constructing the entry list)] + expected: TIMEOUT + diff --git a/tests/wpt/metadata/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini b/tests/wpt/metadata/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini new file mode 100644 index 00000000000..9e522297c94 --- /dev/null +++ b/tests/wpt/metadata/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini @@ -0,0 +1,7 @@ +[toggleEvent.html] + [Calling open twice on 'details' fires only one toggle event] + expected: FAIL + + [Setting open=true to opened 'details' element should not fire a toggle event at the 'details' element] + expected: FAIL + diff --git a/tests/wpt/metadata/resource-timing/resource_TAO_origin.htm.ini b/tests/wpt/metadata/resource-timing/resource_TAO_origin.htm.ini index 5a549d938b6..5c59982f790 100644 --- a/tests/wpt/metadata/resource-timing/resource_TAO_origin.htm.ini +++ b/tests/wpt/metadata/resource-timing/resource_TAO_origin.htm.ini @@ -11,3 +11,6 @@ [The iframe should have one resource timing entry.] expected: FAIL + [responseEnd should not be 0 in timing-allow cross-origin request.] + expected: FAIL + diff --git a/tests/wpt/metadata/resource-timing/resource_TAO_zero.htm.ini b/tests/wpt/metadata/resource-timing/resource_TAO_zero.htm.ini index 494f0d4a752..aa36a14c6a6 100644 --- a/tests/wpt/metadata/resource-timing/resource_TAO_zero.htm.ini +++ b/tests/wpt/metadata/resource-timing/resource_TAO_zero.htm.ini @@ -20,3 +20,6 @@ [domainLookupStart should be 0 in cross-origin request.] expected: FAIL + [responseEnd should be greater than 0 in cross-origin request.] + expected: FAIL + diff --git a/tests/wpt/metadata/url/url-setters.html.ini b/tests/wpt/metadata/url/url-setters.html.ini index b33b1118516..0e3dd0c62f9 100644 --- a/tests/wpt/metadata/url/url-setters.html.ini +++ b/tests/wpt/metadata/url/url-setters.html.ini @@ -1047,3 +1047,9 @@ [<a>: Setting <a://example.net>.protocol = 'bé' Non-ASCII is rejected] expected: FAIL + [<area>: Setting <data:text/plain,Stuff>.host = 'example.net' Cannot-be-a-base means no host] + expected: FAIL + + [<area>: Setting <data:text/plain,Stuff>.hostname = 'example.net' Cannot-be-a-base means no host] + expected: FAIL + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini index 66bd350083b..a56bad443a2 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini @@ -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 diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sub-sample-buffer-stitching.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sub-sample-buffer-stitching.html.ini index 5babc864bfd..ee9c504145a 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sub-sample-buffer-stitching.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sub-sample-buffer-stitching.html.ini @@ -170,3 +170,6 @@ [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[30\]\t9.4836157560348511e-1\t9.5236867666244507e-1\t4.0071010589599609e-3\t4.2075103446311962e-3\t3.8985999999999999e-3\n\t[31\]\t9.2646563053131104e-1\t9.3139332532882690e-1\t4.9276947975158691e-3\t5.2906700783754857e-3\t3.8985999999999999e-3\n\t[32\]\t9.0087991952896118e-1\t9.0675884485244751e-1\t5.8789253234863281e-3\t6.4834496590358351e-3\t3.8985999999999999e-3\n\t[33\]\t8.7170630693435669e-1\t8.7856203317642212e-1\t6.8557262420654297e-3\t7.8033490899654511e-3\t3.8985999999999999e-3\n\t[34\]\t8.3906102180480957e-1\t8.4691369533538818e-1\t7.8526735305786133e-3\t9.2721059699818163e-3\t3.8985999999999999e-3\n\t...and 31037 more errors.\n\tMax AbsError of 8.8099737698276448e+8 at index of 39267.\n\t[39267\]\t8.8099737600000000e+8\t-9.8276454210281372e-1\t8.8099737698276448e+8\t8.9644806994939113e+8\t3.8985999999999999e-3\n\tMax RelError of 1.7257971997243075e+9 at index of 20238.\n\t[20238\]\t8.2104729600000000e+8\t-4.7574958205223083e-1\t8.2104729647574961e+8\t1.7257971997243075e+9\t3.8985999999999999e-3\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[30\]\t9.4836157560348511e-1\t9.5236867666244507e-1\t4.0071010589599609e-3\t4.2075103446311962e-3\t3.8985999999999999e-3\n\t[31\]\t9.2646563053131104e-1\t9.3139332532882690e-1\t4.9276947975158691e-3\t5.2906700783754857e-3\t3.8985999999999999e-3\n\t[32\]\t9.0087991952896118e-1\t9.0675884485244751e-1\t5.8789253234863281e-3\t6.4834496590358351e-3\t3.8985999999999999e-3\n\t[33\]\t8.7170630693435669e-1\t8.7856203317642212e-1\t6.8557262420654297e-3\t7.8033490899654511e-3\t3.8985999999999999e-3\n\t[34\]\t8.3906102180480957e-1\t8.4691369533538818e-1\t7.8526735305786133e-3\t9.2721059699818163e-3\t3.8985999999999999e-3\n\t...and 31037 more errors.\n\tMax AbsError of 9.8276454210281350e-1 at index of 39267.\n\t[39267\]\t-2.5252847366376632e-16\t-9.8276454210281372e-1\t9.8276454210281350e-1\t9.9999999999999978e-1\t3.8985999999999999e-3\n\tMax RelError of 3.3137802965303198e+0 at index of 1253.\n\t[1253\]\t-4.3022233992815018e-2\t-9.9732093513011932e-3\t3.3049024641513824e-2\t3.3137802965303198e+0\t3.8985999999999999e-3\n] + expected: FAIL + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/set-target-conv.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/set-target-conv.html.ini new file mode 100644 index 00000000000..f6f20255f49 --- /dev/null +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/set-target-conv.html.ini @@ -0,0 +1,5 @@ +[set-target-conv.html] + expected: ERROR + [X src = new ConstantSourceNode(context) incorrectly threw ReferenceError: "ConstantSourceNode is not defined".] + expected: FAIL + diff --git a/tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini b/tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini new file mode 100644 index 00000000000..80f9a4f15b8 --- /dev/null +++ b/tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini @@ -0,0 +1,2 @@ +[Worker-constructor.html] + expected: ERROR diff --git a/tests/wpt/web-platform-tests/css/css-contain/contain-size-replaced-004-ref.html b/tests/wpt/web-platform-tests/css/css-contain/contain-size-replaced-004-ref.html new file mode 100644 index 00000000000..eba5e8cb9a8 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-contain/contain-size-replaced-004-ref.html @@ -0,0 +1,25 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Containment Reference: Size containment replaced elements intrinsic size</title> +<style> + body > div, video, audio, img, canvas, svg, iframe { + border: 3px solid orange; + contain: size; + margin-bottom: 15px; + width: 0px; + height: 0px; + float: left; + clear: both; + } +</style> +<div>abc</div> +<video></video><br> +<video controls></video><br> +<img src="../support/60x60-green.png"><br> +<picture> +<source srcset="../support/60x60-green.png"> + <img> +</picture><br> +<canvas></canvas><br> +<svg></svg><br> +<iframe></iframe> diff --git a/tests/wpt/web-platform-tests/css/css-contain/contain-size-replaced-004.html b/tests/wpt/web-platform-tests/css/css-contain/contain-size-replaced-004.html new file mode 100644 index 00000000000..511edadc4f8 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-contain/contain-size-replaced-004.html @@ -0,0 +1,28 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Containment Test: Size containment replaced elements intrinsic size</title> +<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size"> +<link rel="match" href="contain-size-replaced-004-ref.html"> +<meta name=assert content="This test checks that intrinsic size of replaced elements with 'contain: size' is zero."> +<style> + body > div, video, audio, img, canvas, svg, iframe { + border: 3px solid orange; + contain: size; + margin-bottom: 15px; + width: min-content; + height: min-content; + float: left; + clear: both; + } +</style> +<div>abc</div> +<video></video><br> +<video controls></video><br> +<img src="../support/60x60-green.png"><br> +<picture> +<source srcset="../support/60x60-green.png"> + <img> +</picture><br> +<canvas></canvas><br> +<svg></svg><br> +<iframe></iframe> diff --git a/tests/wpt/web-platform-tests/css/css-contain/contain-size-replaced-005-ref.html b/tests/wpt/web-platform-tests/css/css-contain/contain-size-replaced-005-ref.html new file mode 100644 index 00000000000..a5328c79ac6 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-contain/contain-size-replaced-005-ref.html @@ -0,0 +1,26 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Containment Reference: Size containment replaced elements intrinsic size</title> +<style> + body > div, video, audio, img, canvas, svg, iframe { + position: absolute; + border: 3px solid orange; + contain: size; + margin-bottom: 15px; + width: 0px; + height: 0px; + float: left; + clear: both; + } +</style> +<div>abc</div> +<video></video><br> +<video controls></video><br> +<img src="../support/60x60-green.png"><br> +<picture> +<source srcset="../support/60x60-green.png"> + <img> +</picture><br> +<canvas></canvas><br> +<svg></svg><br> +<iframe></iframe> diff --git a/tests/wpt/web-platform-tests/css/css-contain/contain-size-replaced-005.html b/tests/wpt/web-platform-tests/css/css-contain/contain-size-replaced-005.html new file mode 100644 index 00000000000..e889dcc903c --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-contain/contain-size-replaced-005.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Containment Test: Size containment replaced elements intrinsic size</title> +<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size"> +<link rel="match" href="contain-size-replaced-005-ref.html"> +<meta name=assert content="This test checks that intrinsic size of out-of-flow replaced elements with 'contain: size' is zero."> +<style> + body > div, video, audio, img, canvas, svg, iframe { + position: absolute; + border: 3px solid orange; + contain: size; + margin-bottom: 15px; + width: min-content; + height: min-content; + float: left; + clear: both; + } +</style> +<div>abc</div> +<video></video><br> +<video controls></video><br> +<img src="../support/60x60-green.png"><br> +<picture> +<source srcset="../support/60x60-green.png"> + <img> +</picture><br> +<canvas></canvas><br> +<svg></svg><br> +<iframe></iframe> diff --git a/tests/wpt/web-platform-tests/css/css-contain/contain-size-replaced-006-ref.html b/tests/wpt/web-platform-tests/css/css-contain/contain-size-replaced-006-ref.html new file mode 100644 index 00000000000..2f638d7fe42 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-contain/contain-size-replaced-006-ref.html @@ -0,0 +1,25 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Containment Reference: Size containment replaced elements intrinsic size</title> +<style> + body > div, video, audio, img, canvas, svg, iframe { + border: 3px solid orange; + contain: size; + margin-bottom: 15px; + width: 25px; + height: 35px; + float: left; + clear: both; + } +</style> +<div>abc</div> +<video></video><br> +<video controls></video><br> +<img src="../support/60x60-green.png"><br> +<picture> +<source srcset="../support/60x60-green.png"> + <img> +</picture><br> +<canvas></canvas><br> +<svg></svg><br> +<iframe></iframe> diff --git a/tests/wpt/web-platform-tests/css/css-contain/contain-size-replaced-006.html b/tests/wpt/web-platform-tests/css/css-contain/contain-size-replaced-006.html new file mode 100644 index 00000000000..dccb799ea87 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-contain/contain-size-replaced-006.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Containment Test: Size containment replaced elements intrinsic size</title> +<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size"> +<link rel="match" href="contain-size-replaced-006-ref.html"> +<meta name=assert content="This test checks that min-width/min-height of replaced elements with 'contain: size' works."> +<style> + body > div, video, audio, img, canvas, svg, iframe { + border: 3px solid orange; + contain: size; + margin-bottom: 15px; + min-width: 25px; + min-height: 35px; + width: min-content; + height: min-content; + float: left; + clear: both; + } +</style> +<div>abc</div> +<video></video><br> +<video controls></video><br> +<img src="../support/60x60-green.png"><br> +<picture> +<source srcset="../support/60x60-green.png"> + <img> +</picture><br> +<canvas></canvas><br> +<svg></svg><br> +<iframe></iframe> diff --git a/tests/wpt/web-platform-tests/css/css-flexbox/percentage-heights-006.html b/tests/wpt/web-platform-tests/css/css-flexbox/percentage-heights-006.html new file mode 100644 index 00000000000..5633dba3bdb --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-flexbox/percentage-heights-006.html @@ -0,0 +1,43 @@ +<!DOCTYPE html> +<title>Definite cross sizes</title> +<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org"> +<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#definite-sizes"> +<link rel="match" href="../reference/ref-filled-green-100px-square.xht" /> +<meta name="flags" content="" /> +<meta name="assert" content="In a column flexbox, the height of a fully inflexible item with fixed flex-basis is definite, and percent children resolve against the flex basis, not the specified height." /> + +<style> +x-flexbox { + display: flex; + flex-direction: column; +} + +x-item { + height: 0px; + flex: 0 0 100px; +} + +x-item>div { + width: 100px; + height: 100%; + background: green; +} + +#reference-overlapped-red { + position: absolute; + background-color: red; + width: 100px; + height: 100px; + z-index: -1; +} +</style> + +<p>Test passes if there is a filled green square and <strong>no red</strong>.</p> + +<div id="reference-overlapped-red"></div> + +<x-flexbox> + <x-item> + <div></div> + </x-item> +</x-flexbox> diff --git a/tests/wpt/web-platform-tests/css/css-grid/animation/grid-template-columns-interpolation.html b/tests/wpt/web-platform-tests/css/css-grid/animation/grid-template-columns-interpolation.html index e42a4243543..5da3dea6cca 100644 --- a/tests/wpt/web-platform-tests/css/css-grid/animation/grid-template-columns-interpolation.html +++ b/tests/wpt/web-platform-tests/css/css-grid/animation/grid-template-columns-interpolation.html @@ -118,6 +118,7 @@ ]); // Exercise <track-list> (with <track-repeat>) + // https://drafts.csswg.org/css-grid/#repeat-interpolation test_no_interpolation({ property: 'grid-template-columns', from: "1fr repeat(2, 2fr 30px) 1fr", @@ -130,18 +131,11 @@ to: "2fr repeat(3, 3fr 40px) 2fr" }); - test_interpolation({ + test_no_interpolation({ property: 'grid-template-columns', from: "repeat(2, 2fr 30px)", to: "repeat(4, 40px)" - }, [ - {at: -1, expect: "2fr 20px 2fr 20px"}, - {at: 0, expect: "repeat(2, 2fr 30px)"}, - {at: 0.4, expect: "2fr 34px 2fr 34px"}, - {at: 0.6, expect: "40px 36px 40px 36px"}, - {at: 1, expect: "repeat(4, 40px)"}, - {at: 2, expect: "40px 50px 40px 50px"} - ]); + }); test_interpolation({ property: 'grid-template-columns', diff --git a/tests/wpt/web-platform-tests/css/css-grid/animation/grid-template-rows-interpolation.html b/tests/wpt/web-platform-tests/css/css-grid/animation/grid-template-rows-interpolation.html index 3c650395df0..c1ff70c49ec 100644 --- a/tests/wpt/web-platform-tests/css/css-grid/animation/grid-template-rows-interpolation.html +++ b/tests/wpt/web-platform-tests/css/css-grid/animation/grid-template-rows-interpolation.html @@ -118,6 +118,7 @@ ]); // Exercise <track-list> (with <track-repeat>) + // https://drafts.csswg.org/css-grid/#repeat-interpolation test_no_interpolation({ property: 'grid-template-rows', from: "1fr repeat(2, 2fr 30px) 1fr", @@ -130,18 +131,12 @@ to: "2fr repeat(3, 3fr 40px) 2fr" }); - test_interpolation({ + // See https://github.com/w3c/csswg-drafts/issues/3503 + test_no_interpolation({ property: 'grid-template-rows', from: "repeat(2, 2fr 30px)", to: "repeat(4, 40px)" - }, [ - {at: -1, expect: "2fr 20px 2fr 20px"}, - {at: 0, expect: "repeat(2, 2fr 30px)"}, - {at: 0.4, expect: "2fr 34px 2fr 34px"}, - {at: 0.6, expect: "40px 36px 40px 36px"}, - {at: 1, expect: "repeat(4, 40px)"}, - {at: 2, expect: "40px 50px 40px 50px"} - ]); + }); test_interpolation({ property: 'grid-template-rows', diff --git a/tests/wpt/web-platform-tests/css/css-lists/list-and-margin-collapse-003.html b/tests/wpt/web-platform-tests/css/css-lists/list-and-margin-collapse-003.html deleted file mode 100644 index 78dcbc6cd45..00000000000 --- a/tests/wpt/web-platform-tests/css/css-lists/list-and-margin-collapse-003.html +++ /dev/null @@ -1,39 +0,0 @@ -<!DOCTYPE html> -<meta charset="utf-8"> -<title>CSS Lists: test the margin collapse of marker</title> -<link rel=help href="https://www.w3.org/TR/CSS22/generate.html#lists"> -<link rel="help" href="http://crbug.com/969741"> - -<script src="/resources/testharness.js"></script> -<script src="/resources/testharnessreport.js"></script> - -<style type="text/css"> -.checkbox{ - -moz-appearance: checkbox; - -webkit-appearance: checkbox; - height: 0px; -} -</style> - -<div id="log"></div> - -<div id="target_with_marker" style="overflow:hidden; width:100px;"> - <div style="margin-bottom:100px;"></div> - <div style="display:list-item; margin-left:100px; height:0px;"><div class="checkbox"></div></div> - <div style="margin-top:100px;"></div> -</div> - -<div id="target_without_marker" style="overflow:hidden; width:100px;"> - <div style="margin-bottom:100px;"></div> - <div style="display:list-item; margin-left:100px; list-style:none;"><div class="checkbox"></div></div> - <div style="margin-top:100px;"></div> -</div> - -<script> -test(function() { - var height_with_marker = document.getElementById("target_with_marker").clientHeight; - assert_equals(height_with_marker, 200, "Should not allow margin-collapsing through if list is with marker."); - var height_without_marker = document.getElementById("target_without_marker").clientHeight; - assert_equals(height_without_marker, 100, "Should allow margin-collapsing through if list is without marker."); -}, "list and margin collapse"); -</script> diff --git a/tests/wpt/web-platform-tests/css/css-lists/list-and-margin-collapse-004.html b/tests/wpt/web-platform-tests/css/css-lists/list-and-margin-collapse-004.html deleted file mode 100644 index 4a92f8becf2..00000000000 --- a/tests/wpt/web-platform-tests/css/css-lists/list-and-margin-collapse-004.html +++ /dev/null @@ -1,23 +0,0 @@ -<!DOCTYPE html> -<title>Test if it doesn't crash when resolving BFC block-offset abort</title> -<link rel=help href="https://www.w3.org/TR/CSS22/generate.html#lists"> -<link rel="help" href="http://crbug.com/969741"> - -<script src="/resources/testharness.js"></script> -<script src="/resources/testharnessreport.js"></script> -<style type="text/css"> -#checkbox{ - -moz-appearance: checkbox; - -webkit-appearance: checkbox; - height: 0px; -} -</style> -<body> - <div style="float: left; width: 100px; height: 100px;"></div> - <div style="display: list-item;"> - <div id="checkbox"></div> - </div> -<script> -test(() => {}, "Layout should not crash"); -</script> -</body> diff --git a/tests/wpt/web-platform-tests/interfaces/speech-api.idl b/tests/wpt/web-platform-tests/interfaces/speech-api.idl index 563d64cd3b7..2ed9c2ce8b8 100644 --- a/tests/wpt/web-platform-tests/interfaces/speech-api.idl +++ b/tests/wpt/web-platform-tests/interfaces/speech-api.idl @@ -90,7 +90,7 @@ dictionary SpeechRecognitionEventInit : EventInit { }; // The object representing a speech grammar -[Exposed=Window, Constructor] +[Exposed=Window] interface SpeechGrammar { attribute DOMString src; attribute float weight; diff --git a/tests/wpt/web-platform-tests/pointerlock/movementX_Y_basic.html b/tests/wpt/web-platform-tests/pointerlock/movementX_Y_basic.html index b09d896ecfb..a317130190a 100644 --- a/tests/wpt/web-platform-tests/pointerlock/movementX_Y_basic.html +++ b/tests/wpt/web-platform-tests/pointerlock/movementX_Y_basic.html @@ -128,8 +128,8 @@ } function run_test() { - x = window.innerWidth / 2; - y = window.innerHeight / 2; + x = Math.round(window.innerWidth / 2); + y = Math.round(window.innerHeight / 2); var actions = new test_driver.Actions(); actions.pointerMove(x, y) .pointerDown() diff --git a/tests/wpt/web-platform-tests/url/resources/setters_tests.json b/tests/wpt/web-platform-tests/url/resources/setters_tests.json index db23d924732..0b4f6b67387 100644 --- a/tests/wpt/web-platform-tests/url/resources/setters_tests.json +++ b/tests/wpt/web-platform-tests/url/resources/setters_tests.json @@ -597,7 +597,7 @@ } }, { - "comment": "Cannot-be-a-base means no password", + "comment": "Cannot-be-a-base means no host", "href": "data:text/plain,Stuff", "new_value": "example.net", "expected": { @@ -1074,7 +1074,7 @@ } }, { - "comment": "Cannot-be-a-base means no password", + "comment": "Cannot-be-a-base means no host", "href": "data:text/plain,Stuff", "new_value": "example.net", "expected": { diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/set-target-conv.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/set-target-conv.html new file mode 100644 index 00000000000..2ed076cccf7 --- /dev/null +++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-audioparam-interface/set-target-conv.html @@ -0,0 +1,93 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> + <head> + <title>Test convergence of setTargetAtTime</title> + <script src="/resources/testharness.js"></script> + <script src="/resources/testharnessreport.js"></script> + <script src="/webaudio/resources/audit.js"></script> + <script src='/webaudio/resources/audio-param.js'></script> + </head> + + <body> + <script> + let audit = Audit.createTaskRunner(); + + audit.define( + {task: 'setTargetAtTime', label: 'convergence handled correctly'}, + (task, should) => { + // Two channels: + // 0 - actual result + // 1 - expected result + const context = new OfflineAudioContext( + {numberOfChannels: 2, sampleRate: 8000, length: 8000}); + + const merger = new ChannelMergerNode( + context, {numberOfChannels: context.destination.channelCount}); + merger.connect(context.destination); + + // Construct test source that will have tha AudioParams being tested + // to verify that the AudioParams are working correctly. + let src; + + should( + () => src = new ConstantSourceNode(context), + 'src = new ConstantSourceNode(context)') + .notThrow(); + + src.connect(merger, 0, 0); + src.offset.setValueAtTime(1, 0); + + const timeConstant = 0.01; + + // testTime must be at least 10*timeConstant. Also, this must not + // lie on a render boundary. + const testTime = 0.15; + const rampEnd = testTime + 0.001; + + should( + () => src.offset.setTargetAtTime(0.5, 0.01, timeConstant), + `src.offset.setTargetAtTime(0.5, 0.01, ${timeConstant})`) + .notThrow(); + should( + () => src.offset.setValueAtTime(0.5, testTime), + `src.offset.setValueAtTime(0.5, ${testTime})`) + .notThrow(); + should( + () => src.offset.linearRampToValueAtTime(1, rampEnd), + `src.offset.linearRampToValueAtTime(1, ${rampEnd})`) + .notThrow(); + + // The reference node that will generate the expected output. We do + // the same automations, except we don't apply the setTarget + // automation. + const refSrc = new ConstantSourceNode(context); + refSrc.connect(merger, 0, 1); + + refSrc.offset.setValueAtTime(0.5, 0); + refSrc.offset.setValueAtTime(0.5, testTime); + refSrc.offset.linearRampToValueAtTime(1, rampEnd); + + src.start(); + refSrc.start(); + + context.startRendering() + .then(audio => { + const actual = audio.getChannelData(0); + const expected = audio.getChannelData(1); + + // Just verify that the actual output matches the expected + // starting a little bit before testTime. + let testFrame = + Math.floor(testTime * context.sampleRate) - 128; + should(actual.slice(testFrame), `output[${testFrame}:]`) + .beCloseToArray( + expected.slice(testFrame), + {relativeThreshold: 4.1724e-6}); + }) + .then(() => task.done()); + }); + + audit.run(); + </script> + </body> +</html> diff --git a/tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-onicecandidateerror.html b/tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-onicecandidateerror.https.html index e06c219483e..1bbb30bd575 100644 --- a/tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-onicecandidateerror.html +++ b/tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-onicecandidateerror.https.html @@ -23,8 +23,11 @@ promise_test(async t => { assert_true(event.hostCandidate.includes(":"), "hostCandidate"); assert_true(event.url.includes("123"), "url"); }); - const offerOptions = {offerToReceiveAudio: 1}; - await pc.setLocalDescription(await pc.createOffer(offerOptions)); + const stream = await getNoiseStream({audio:true}); + t.add_cleanup(() => stream.getTracks().forEach(track => track.stop())); + pc.addTrack(stream.getAudioTracks()[0], stream); + + await pc.setLocalDescription(await pc.createOffer()); await onErrorPromise; }, 'Surfacing onicecandidateerror'); |