diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index a3a26374e74..1eadfec9e19 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -251424,6 +251424,16 @@ {} ] ], + "css/css-easing/META.yml": [ + [ + {} + ] + ], + "css/css-easing/testcommon.js": [ + [ + {} + ] + ], "css/css-env/META.yml": [ [ {} @@ -268389,16 +268399,6 @@ {} ] ], - "css/css-timing/META.yml": [ - [ - {} - ] - ], - "css/css-timing/testcommon.js": [ - [ - {} - ] - ], "css/css-transforms/META.yml": [ [ {} @@ -317409,6 +317409,16 @@ {} ] ], + "webrtc-identity/META.yml": [ + [ + {} + ] + ], + "webrtc-identity/identity-helper.sub.js": [ + [ + {} + ] + ], "webrtc-stats/META.yml": [ [ {} @@ -317484,12 +317494,12 @@ {} ] ], - "webrtc/identity-helper.sub.js": [ + "webrtc/protocol/README.txt": [ [ {} ] ], - "webrtc/protocol/README.txt": [ + "webrtc/resources/RTCCertificate-postMessage-iframe.html": [ [ {} ] @@ -335033,6 +335043,54 @@ {} ] ], + "css/CSS2/normal-flow/containing-block-percent-margin-bottom.html": [ + [ + "/css/CSS2/normal-flow/containing-block-percent-margin-bottom.html", + {} + ] + ], + "css/CSS2/normal-flow/containing-block-percent-margin-left.html": [ + [ + "/css/CSS2/normal-flow/containing-block-percent-margin-left.html", + {} + ] + ], + "css/CSS2/normal-flow/containing-block-percent-margin-right.html": [ + [ + "/css/CSS2/normal-flow/containing-block-percent-margin-right.html", + {} + ] + ], + "css/CSS2/normal-flow/containing-block-percent-margin-top.html": [ + [ + "/css/CSS2/normal-flow/containing-block-percent-margin-top.html", + {} + ] + ], + "css/CSS2/normal-flow/containing-block-percent-padding-bottom.html": [ + [ + "/css/CSS2/normal-flow/containing-block-percent-padding-bottom.html", + {} + ] + ], + "css/CSS2/normal-flow/containing-block-percent-padding-left.html": [ + [ + "/css/CSS2/normal-flow/containing-block-percent-padding-left.html", + {} + ] + ], + "css/CSS2/normal-flow/containing-block-percent-padding-right.html": [ + [ + "/css/CSS2/normal-flow/containing-block-percent-padding-right.html", + {} + ] + ], + "css/CSS2/normal-flow/containing-block-percent-padding-top.html": [ + [ + "/css/CSS2/normal-flow/containing-block-percent-padding-top.html", + {} + ] + ], "css/CSS2/normal-flow/unresolvable-max-height.html": [ [ "/css/CSS2/normal-flow/unresolvable-max-height.html", @@ -336405,6 +336463,24 @@ {} ] ], + "css/css-easing/cubic-bezier-timing-functions-output.html": [ + [ + "/css/css-easing/cubic-bezier-timing-functions-output.html", + {} + ] + ], + "css/css-easing/step-timing-functions-output.html": [ + [ + "/css/css-easing/step-timing-functions-output.html", + {} + ] + ], + "css/css-easing/step-timing-functions-syntax.html": [ + [ + "/css/css-easing/step-timing-functions-syntax.html", + {} + ] + ], "css/css-env/at-supports.tentative.html": [ [ "/css/css-env/at-supports.tentative.html", @@ -342041,12 +342117,6 @@ {} ] ], - "css/css-timing/cubic-bezier-timing-functions-output.html": [ - [ - "/css/css-timing/cubic-bezier-timing-functions-output.html", - {} - ] - ], "css/css-timing/frames-timing-functions-output.html": [ [ "/css/css-timing/frames-timing-functions-output.html", @@ -342059,12 +342129,6 @@ {} ] ], - "css/css-timing/step-timing-functions-output.html": [ - [ - "/css/css-timing/step-timing-functions-output.html", - {} - ] - ], "css/css-transforms/2d-rotate-js.html": [ [ "/css/css-transforms/2d-rotate-js.html", @@ -408647,12 +408711,30 @@ {} ] ], + "webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.html": [ + [ + "/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.html", + {} + ] + ], + "webrtc-identity/RTCPeerConnection-peerIdentity.html": [ + [ + "/webrtc-identity/RTCPeerConnection-peerIdentity.html", + {} + ] + ], "webrtc-stats/idlharness.window.js": [ [ "/webrtc-stats/idlharness.window.html", {} ] ], + "webrtc/RTCCertificate-postMessage.html": [ + [ + "/webrtc/RTCCertificate-postMessage.html", + {} + ] + ], "webrtc/RTCCertificate.html": [ [ "/webrtc/RTCCertificate.html", @@ -408835,12 +408917,6 @@ {} ] ], - "webrtc/RTCPeerConnection-getIdentityAssertion.sub.html": [ - [ - "/webrtc/RTCPeerConnection-getIdentityAssertion.sub.html", - {} - ] - ], "webrtc/RTCPeerConnection-getStats.https.html": [ [ "/webrtc/RTCPeerConnection-getStats.https.html", @@ -408883,12 +408959,6 @@ {} ] ], - "webrtc/RTCPeerConnection-peerIdentity.html": [ - [ - "/webrtc/RTCPeerConnection-peerIdentity.html", - {} - ] - ], "webrtc/RTCPeerConnection-remote-track-mute.https.html": [ [ "/webrtc/RTCPeerConnection-remote-track-mute.https.html", @@ -409177,6 +409247,12 @@ {} ] ], + "webrtc/simplecall-no-ssrcs.https.html": [ + [ + "/webrtc/simplecall-no-ssrcs.https.html", + {} + ] + ], "webrtc/simplecall.https.html": [ [ "/webrtc/simplecall.https.html", @@ -441457,7 +441533,7 @@ "testharness" ], "IndexedDB/get-databases.any.js": [ - "f054e0fec2f0543eae7978303ae2a24858bdf245", + "823cfce284b2beed49821825f2794849edda5753", "testharness" ], "IndexedDB/globalscope-indexedDB-SameObject.html": [ @@ -501892,6 +501968,38 @@ "b3a7420c630ad4c84e5593ad48f48f3072a88b98", "visual" ], + "css/CSS2/normal-flow/containing-block-percent-margin-bottom.html": [ + "9dfc1963ac8a3bbccdd317e2b21613d08db21452", + "testharness" + ], + "css/CSS2/normal-flow/containing-block-percent-margin-left.html": [ + "aa077d9ea83656debaca6009e86f0321b8c2872c", + "testharness" + ], + "css/CSS2/normal-flow/containing-block-percent-margin-right.html": [ + "9ae84bd16ca2829ce0606cf69c17cbc76f22355e", + "testharness" + ], + "css/CSS2/normal-flow/containing-block-percent-margin-top.html": [ + "7698f27240ebe2b8f6a98e8c5bfb495ec6b12461", + "testharness" + ], + "css/CSS2/normal-flow/containing-block-percent-padding-bottom.html": [ + "5eea503005da0a38840fc4a708ea37870772feb6", + "testharness" + ], + "css/CSS2/normal-flow/containing-block-percent-padding-left.html": [ + "0f793e715d67c20719b28b64ccf031acb5fe831a", + "testharness" + ], + "css/CSS2/normal-flow/containing-block-percent-padding-right.html": [ + "28fd9590cdf5d30d5dce298ca52e331f64d836ff", + "testharness" + ], + "css/CSS2/normal-flow/containing-block-percent-padding-top.html": [ + "f30ace92e9def67f70bc1b6b6b4ad6e43f1561bd", + "testharness" + ], "css/CSS2/normal-flow/float-percentage-resolution-quirks-mode.html": [ "a3794579f0ea242f9e7faaffcc16de5a3a69cf7c", "reftest" @@ -531281,7 +531389,7 @@ "testharness" ], "css/css-animations/parsing/animation-timing-function-valid.html": [ - "63e2805485bfb1f8db9dfe3ad70979ade7e11cd4", + "7ab823ea1da1535606ac4aad30fb21f423ba6703", "testharness" ], "css/css-animations/pending-style-changes-001.html": [ @@ -538852,6 +538960,26 @@ "08024b52d5fd82e18fc482888164cbe127239329", "support" ], + "css/css-easing/META.yml": [ + "2c412b40f0f1b6059099682bc5c787310e8d2991", + "support" + ], + "css/css-easing/cubic-bezier-timing-functions-output.html": [ + "168f4cd907ec93d84bafcd11b00a7c78878569c8", + "testharness" + ], + "css/css-easing/step-timing-functions-output.html": [ + "978ac25df696dff029614733920a5155d8d96ecf", + "testharness" + ], + "css/css-easing/step-timing-functions-syntax.html": [ + "4e8b21e4413f8000ae584396355ed7df1c44a447", + "testharness" + ], + "css/css-easing/testcommon.js": [ + "9fd25b86507258b900911df892540bdb1ae17cd3", + "support" + ], "css/css-env/META.yml": [ "9d264a62281358545e6e842edb6a56105cb7dd5f", "support" @@ -566680,14 +566808,6 @@ "e1a67bb1dc7d157d4bf57e1af40c039d67001923", "reftest" ], - "css/css-timing/META.yml": [ - "1ee250307b7043a0b1ac28af8e9e28413ab0d75b", - "support" - ], - "css/css-timing/cubic-bezier-timing-functions-output.html": [ - "5c2003b13944256e4ef2bf15a759aa534363da66", - "testharness" - ], "css/css-timing/frames-timing-functions-output.html": [ "40e03286e71f7126bfbbdd50bc74e25c191a4d30", "testharness" @@ -566696,14 +566816,6 @@ "1616bcffa740c20aa73d5af8a84fc4a435baef02", "testharness" ], - "css/css-timing/step-timing-functions-output.html": [ - "9a2aa507c888ee303ee52df2e96c4b4c8ad282c9", - "testharness" - ], - "css/css-timing/testcommon.js": [ - "9fd25b86507258b900911df892540bdb1ae17cd3", - "support" - ], "css/css-transforms/2d-rotate-001.html": [ "3f28db8f4e3e17c8420e0af3a2d33d65766d557f", "reftest" @@ -572297,11 +572409,11 @@ "testharness" ], "css/css-transitions/parsing/transition-timing-function-invalid.html": [ - "936defa6cce5dd7b69bf9344c60add178de6589a", + "00bd2131e0927ba38e633ad7be404b8ec26e51a9", "testharness" ], "css/css-transitions/parsing/transition-timing-function-valid.html": [ - "e11ef0002e43b65e06c8aec7dffab2fe7d48377f", + "2e2c1827bfbef9d4cc58e32ec88da3c7fd614225", "testharness" ], "css/css-transitions/properties-value-001.html": [ @@ -572777,7 +572889,7 @@ "reftest" ], "css/css-transitions/transition-timing-function-001.html": [ - "75665450a1a8ea33b7ef3205755211099fd91490", + "4c9598f3919b84dc79d7c92c76b74b7f950423aa", "testharness" ], "css/css-transitions/transition-timing-function-002.html": [ @@ -625317,7 +625429,7 @@ "support" ], "interfaces/fullscreen.idl": [ - "87f1599750a6e72e8540865ee3a21cab88eac56b", + "491aa7af13e6703023f723cfd6ef41cc6c0e6ace", "support" ], "interfaces/gamepad.idl": [ @@ -625453,7 +625565,7 @@ "support" ], "interfaces/payment-request.idl": [ - "0795c03627da479992512c334e5b395a81c237dc", + "baf9ee36db9c898e500609dcdaf152ccbfbc704a", "support" ], "interfaces/performance-timeline.idl": [ @@ -625965,7 +626077,7 @@ "support" ], "lint.whitelist": [ - "23f20555e8c30784cbf5ba87ae5ec6b81165b81f", + "3de5698c229d7c8b7f32207030540283b9efec63", "support" ], "longtask-timing/META.yml": [ @@ -637689,7 +637801,7 @@ "manual" ], "payment-request/payment-response/retry-method-manual.https.html": [ - "82821a9a39c6c9ce6def2c076e39aa08f00921cc", + "16ed15e54902b93485ee3be7a2635823e8763b06", "manual" ], "payment-request/payment-response/shippingAddress-attribute-manual.https.html": [ @@ -662677,7 +662789,7 @@ "support" ], "tools/wptrunner/requirements.txt": [ - "72672707d6f0eceacb8ab9859b32f10fd4633fce", + "1fde996a78e8941341ea52ed5e19633bc5e6b179", "support" ], "tools/wptrunner/requirements_chrome.txt": [ @@ -666369,7 +666481,7 @@ "testharness" ], "web-animations/timing-model/time-transformations/transformed-progress.html": [ - "839ebe1093e5daf2bd2f309711c6174cb6a38a84", + "960e333c09268f68d23ba2d0208202f8262ec3ef", "testharness" ], "web-animations/timing-model/timelines/document-timelines.html": [ @@ -669096,6 +669208,22 @@ "5fb88073b169cfac1d8353e5e8416bdd46ceab0e", "testharness" ], + "webrtc-identity/META.yml": [ + "900769b9d4334bb38d6413beea6a28235d8c927c", + "support" + ], + "webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.html": [ + "2bd860d901ded78c9635da65413ac63e7dbf4460", + "testharness" + ], + "webrtc-identity/RTCPeerConnection-peerIdentity.html": [ + "64ad212a5ba4e0c6bf5589f4cda3a4c7a508cdc2", + "testharness" + ], + "webrtc-identity/identity-helper.sub.js": [ + "90363662f742fbf1d31634030d2b470e08fe1421", + "support" + ], "webrtc-stats/META.yml": [ "489264f23d6e8c096652620e6e7732a94644353f", "support" @@ -669112,8 +669240,12 @@ "ea2846e97af01817f06343322efab3d941060f4c", "support" ], + "webrtc/RTCCertificate-postMessage.html": [ + "5885f9fb1bbc3e97e5916d07e3df706316c170e8", + "testharness" + ], "webrtc/RTCCertificate.html": [ - "e5f1749eb5bfbccbf769510acda806f2a5eb8dc3", + "a33ba9ae5f2b201e663c5aa70d1984f0687c613a", "testharness" ], "webrtc/RTCConfiguration-bundlePolicy.html": [ @@ -669177,7 +669309,7 @@ "testharness" ], "webrtc/RTCIceCandidate-constructor.html": [ - "974ed0c76cfafb788e865c0b1c71fa19007c55b9", + "9842593a83c5330e0ed19bedac9f6c9908362c41", "testharness" ], "webrtc/RTCIceTransport-extension-helper.js": [ @@ -669197,7 +669329,7 @@ "testharness" ], "webrtc/RTCPeerConnection-addIceCandidate.html": [ - "5e321681336ece75202d9c469227d60da4ceee39", + "1dd1350acd25ea865631c45f7345cb3d06822f3b", "testharness" ], "webrtc/RTCPeerConnection-addTrack.https.html": [ @@ -669244,10 +669376,6 @@ "4fdbdb8dec46de549c077949ed946a7a310e9b74", "testharness" ], - "webrtc/RTCPeerConnection-getIdentityAssertion.sub.html": [ - "2bd860d901ded78c9635da65413ac63e7dbf4460", - "testharness" - ], "webrtc/RTCPeerConnection-getStats.https.html": [ "247402b83be0a2655fa8d4ad43fa166b6459c587", "testharness" @@ -669257,7 +669385,7 @@ "testharness" ], "webrtc/RTCPeerConnection-helper.js": [ - "b13e580998efce83c8bb158bce3d7747ec6f8bd9", + "330ce1992d97a5d3fc825f882fcdaa3f1f4a95bf", "support" ], "webrtc/RTCPeerConnection-iceConnectionState.html": [ @@ -669280,10 +669408,6 @@ "10210129acd598fd959124fbe51462de8a1cdb0b", "testharness" ], - "webrtc/RTCPeerConnection-peerIdentity.html": [ - "64ad212a5ba4e0c6bf5589f4cda3a4c7a508cdc2", - "testharness" - ], "webrtc/RTCPeerConnection-remote-track-mute.https.html": [ "56fe761425096e963589309b828a8a7f7d36a9be", "testharness" @@ -669353,7 +669477,7 @@ "testharness" ], "webrtc/RTCPeerConnectionIceEvent-constructor.html": [ - "07e9736441285536e0549c55b110a562b49276cc", + "7de7fcaeb10ef209ece63ad346f668e1c634c4db", "testharness" ], "webrtc/RTCQuicStream.https.html": [ @@ -669492,10 +669616,6 @@ "d49503e16d6c5de6f7ea991120e7fb2b53bbcfd5", "testharness" ], - "webrtc/identity-helper.sub.js": [ - "90363662f742fbf1d31634030d2b470e08fe1421", - "support" - ], "webrtc/idlharness.https.window.js": [ "3c57a022cabfbedcf4a015024ac88ecd3080faf6", "testharness" @@ -669516,6 +669636,14 @@ "547856f2a271b5c349b529ec7f1fe1acb5a48ef0", "testharness" ], + "webrtc/resources/RTCCertificate-postMessage-iframe.html": [ + "9e52ba0c888a8d500072c1669599d88f64cb22c3", + "support" + ], + "webrtc/simplecall-no-ssrcs.https.html": [ + "266b57663781115154f1ad8ddd2dd69143bc44b9", + "testharness" + ], "webrtc/simplecall.https.html": [ "681c42d4cd855dcf53543a7add231d2665c381a9", "testharness" diff --git a/tests/wpt/metadata/css/css-animations/parsing/animation-timing-function-valid.html.ini b/tests/wpt/metadata/css/css-animations/parsing/animation-timing-function-valid.html.ini index 5b628b31463..063011bfbfc 100644 --- a/tests/wpt/metadata/css/css-animations/parsing/animation-timing-function-valid.html.ini +++ b/tests/wpt/metadata/css/css-animations/parsing/animation-timing-function-valid.html.ini @@ -1,4 +1,13 @@ [animation-timing-function-valid.html] - [e.style['animation-timing-function'\] = "steps(2, end)" should set the property value] + [e.style['animation-timing-function'\] = "steps(2, jump-end)" should set the property value] + expected: FAIL + + [e.style['animation-timing-function'\] = "steps(2, jump-both)" should set the property value] + expected: FAIL + + [e.style['animation-timing-function'\] = "steps(2, jump-none)" should set the property value] + expected: FAIL + + [e.style['animation-timing-function'\] = "steps(2, jump-start)" should set the property value] expected: FAIL diff --git a/tests/wpt/metadata/css/css-transitions/parsing/transition-timing-function-valid.html.ini b/tests/wpt/metadata/css/css-transitions/parsing/transition-timing-function-valid.html.ini index 8ee362d5563..f2ceeaa04ee 100644 --- a/tests/wpt/metadata/css/css-transitions/parsing/transition-timing-function-valid.html.ini +++ b/tests/wpt/metadata/css/css-transitions/parsing/transition-timing-function-valid.html.ini @@ -1,4 +1,13 @@ [transition-timing-function-valid.html] - [e.style['transition-timing-function'\] = "steps(2, end)" should set the property value] + [e.style['transition-timing-function'\] = "steps(2, jump-both)" should set the property value] + expected: FAIL + + [e.style['transition-timing-function'\] = "steps(2, jump-none)" should set the property value] + expected: FAIL + + [e.style['transition-timing-function'\] = "steps(2, jump-start)" should set the property value] + expected: FAIL + + [e.style['transition-timing-function'\] = "steps(2, jump-end)" should set the property value] expected: FAIL diff --git a/tests/wpt/metadata/css/css-transitions/transition-timing-function-001.html.ini b/tests/wpt/metadata/css/css-transitions/transition-timing-function-001.html.ini new file mode 100644 index 00000000000..8f3ebffeca9 --- /dev/null +++ b/tests/wpt/metadata/css/css-transitions/transition-timing-function-001.html.ini @@ -0,0 +1,13 @@ +[transition-timing-function-001.html] + [parse 'steps(3, jump-both)'] + expected: FAIL + + [parse 'steps(3, jump-start)'] + expected: FAIL + + [parse 'steps(3, jump-end)'] + expected: FAIL + + [parse 'steps(3, jump-none)'] + expected: FAIL + diff --git a/tests/wpt/metadata/encoding/single-byte-decoder.html.ini b/tests/wpt/metadata/encoding/single-byte-decoder.html.ini index 58ef77eb506..71e9dfd26e9 100644 --- a/tests/wpt/metadata/encoding/single-byte-decoder.html.ini +++ b/tests/wpt/metadata/encoding/single-byte-decoder.html.ini @@ -509,7 +509,7 @@ [single-byte-decoder.html?XMLHttpRequest] - expected: TIMEOUT + expected: CRASH [ISO-8859-2: iso_8859-2:1987 (XMLHttpRequest)] expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/006.html.ini b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/006.html.ini new file mode 100644 index 00000000000..c8544361068 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/006.html.ini @@ -0,0 +1,4 @@ +[006.html] + [Link with onclick form submit and href navigation ] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini new file mode 100644 index 00000000000..87b07c3e670 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini @@ -0,0 +1,4 @@ +[traverse_the_history_1.html] + [Multiple history traversals from the same task] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_2.html.ini similarity index 71% rename from tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini rename to tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_2.html.ini index 385376c7321..75d75b4cda2 100644 --- a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_2.html.ini @@ -1,4 +1,4 @@ -[traverse_the_history_4.html] +[traverse_the_history_2.html] [Multiple history traversals, last would be aborted] expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change.html.ini index 0f1a214d0ee..29b0025a2ae 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/environment-changes/viewport-change.html.ini @@ -5,29 +5,11 @@ expected: TIMEOUT [picture: source (max-width:500px) valid image, img valid image, resize to wide] - expected: FAIL + expected: TIMEOUT [picture: source (max-width:500px) valid image, img broken image, resize to narrow] expected: TIMEOUT [picture: source (max-width:500px) valid image, img valid image, resize to narrow] - expected: FAIL - - [picture: source (max-width:500px) broken image, img valid image, resize to narrow] - expected: FAIL - - [img (srcset 1 cand) valid image, resize to wide] - expected: FAIL - - [picture: same URL in source (max-width:500px) and img, resize to wide] - expected: FAIL - - [img (srcset 1 cand) valid image, resize to narrow] - expected: FAIL - - [picture: source (max-width:500px) valid image, img broken image, resize to wide] - expected: FAIL - - [picture: same URL in source (max-width:500px) and img, resize to narrow] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/sizes/parse-a-sizes-attribute-quirks-mode.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/sizes/parse-a-sizes-attribute-quirks-mode.html.ini new file mode 100644 index 00000000000..a0e0184eb46 --- /dev/null +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/sizes/parse-a-sizes-attribute-quirks-mode.html.ini @@ -0,0 +1,52 @@ +[parse-a-sizes-attribute-quirks-mode.html] + [ ref sizes="1px" (quirks mode)] + expected: FAIL + + [ ref sizes="1px" (quirks mode)] + expected: FAIL + + [ ref sizes="1px" (quirks mode)] + expected: FAIL + + [ ref sizes="1px" (quirks mode)] + expected: FAIL + + [ ref sizes="1px" (quirks mode)] + expected: FAIL + + [ ref sizes="1px" (quirks mode)] + expected: FAIL + + [ ref sizes="1px" (quirks mode)] + expected: FAIL + + [ ref sizes="1px" (quirks mode)] + expected: FAIL + + [ ref sizes="1px" (quirks mode)] + expected: FAIL + + [ ref sizes="1px" (quirks mode)] + expected: FAIL + + [ ref sizes="1px" (quirks mode)] + expected: FAIL + + [ ref sizes="1px" (quirks mode)] + expected: FAIL + + [ ref sizes="1px" (quirks mode)] + expected: FAIL + + [ ref sizes="1px" (quirks mode)] + expected: FAIL + + [ ref sizes="1px" (quirks mode)] + expected: FAIL + + [ ref sizes="1px" (quirks mode)] + expected: FAIL + + [ ref sizes="1px" (quirks mode)] + expected: FAIL + diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/sizes/parse-a-sizes-attribute-width-1000px.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/sizes/parse-a-sizes-attribute-width-1000px.html.ini new file mode 100644 index 00000000000..c3522eadce0 --- /dev/null +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-img-element/sizes/parse-a-sizes-attribute-width-1000px.html.ini @@ -0,0 +1,52 @@ +[parse-a-sizes-attribute-width-1000px.html] + [ ref sizes="1px" (width:1000px)] + expected: FAIL + + [ ref sizes="1px" (width:1000px)] + expected: FAIL + + [ ref sizes="1px" (width:1000px)] + expected: FAIL + + [ ref sizes="1px" (width:1000px)] + expected: FAIL + + [ ref sizes="1px" (width:1000px)] + expected: FAIL + + [ ref sizes="1px" (width:1000px)] + expected: FAIL + + [ ref sizes="1px" (width:1000px)] + expected: FAIL + + [ ref sizes="1px" (width:1000px)] + expected: FAIL + + [ ref sizes="1px" (width:1000px)] + expected: FAIL + + [ ref sizes="1px" (width:1000px)] + expected: FAIL + + [ ref sizes="1px" (width:1000px)] + expected: FAIL + + [ ref sizes="1px" (width:1000px)] + expected: FAIL + + [ ref sizes="1px" (width:1000px)] + expected: FAIL + + [ ref sizes="1px" (width:1000px)] + expected: FAIL + + [ ref sizes="1px" (width:1000px)] + expected: FAIL + + [ ref sizes="1px" (width:1000px)] + expected: FAIL + + [ ref sizes="1px" (width:1000px)] + expected: FAIL + 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 deleted file mode 100644 index 9e522297c94..00000000000 --- a/tests/wpt/metadata/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini +++ /dev/null @@ -1,7 +0,0 @@ -[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/html/semantics/scripting-1/the-script-element/script-onerror-insertion-point-2.html.ini b/tests/wpt/metadata/html/semantics/scripting-1/the-script-element/script-onerror-insertion-point-2.html.ini deleted file mode 100644 index 178680e5d14..00000000000 --- a/tests/wpt/metadata/html/semantics/scripting-1/the-script-element/script-onerror-insertion-point-2.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[script-onerror-insertion-point-2.html] - expected: TIMEOUT diff --git a/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/opening-the-input-stream/bailout-exception-vs-return-xml.window.js.ini b/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/opening-the-input-stream/bailout-exception-vs-return-xml.window.js.ini index 25f0d603b3d..2314441517b 100644 --- a/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/opening-the-input-stream/bailout-exception-vs-return-xml.window.js.ini +++ b/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/opening-the-input-stream/bailout-exception-vs-return-xml.window.js.ini @@ -9,3 +9,6 @@ [document.open should throw an InvalidStateError with XML document even when the ignore-opens-during-unload counter is greater than 0 (during pagehide event)] expected: FAIL + [document.open should throw an InvalidStateError with XML document even when there is an active parser executing script] + expected: FAIL + diff --git a/tests/wpt/metadata/performance-timeline/webtiming-resolution.any.js.ini b/tests/wpt/metadata/performance-timeline/webtiming-resolution.any.js.ini index 99a24216c88..7725b118e9d 100644 --- a/tests/wpt/metadata/performance-timeline/webtiming-resolution.any.js.ini +++ b/tests/wpt/metadata/performance-timeline/webtiming-resolution.any.js.ini @@ -12,3 +12,6 @@ [Verifies the resolution of entry.startTime is at least 5 microseconds.] expected: TIMEOUT + [Verifies the resolution of performance.now() is at least 5 microseconds.] + expected: FAIL + diff --git a/tests/wpt/metadata/quirks/unitless-length/limited-quirks.html.ini b/tests/wpt/metadata/quirks/unitless-length/no-quirks.html.ini similarity index 99% rename from tests/wpt/metadata/quirks/unitless-length/limited-quirks.html.ini rename to tests/wpt/metadata/quirks/unitless-length/no-quirks.html.ini index c7e9c7434f5..818a429ed39 100644 --- a/tests/wpt/metadata/quirks/unitless-length/limited-quirks.html.ini +++ b/tests/wpt/metadata/quirks/unitless-length/no-quirks.html.ini @@ -1,4 +1,4 @@ -[limited-quirks.html] +[no-quirks.html] [top: -\\31 .5] expected: FAIL diff --git a/tests/wpt/metadata/url/urlencoded-parser.any.js.ini b/tests/wpt/metadata/url/urlencoded-parser.any.js.ini index 4b32802a8f8..e3f54ad9ede 100644 --- a/tests/wpt/metadata/url/urlencoded-parser.any.js.ini +++ b/tests/wpt/metadata/url/urlencoded-parser.any.js.ini @@ -14,6 +14,12 @@ [response.formData() with input: &&&a=b&&&&c=d&] expected: FAIL + [request.formData() with input: &&&a=b&&&&c=d&] + expected: FAIL + + [response.formData() with input: a=b&c=d] + expected: FAIL + [urlencoded-parser.any.worker.html] [request.formData() with input: a&b&c] @@ -22,12 +28,15 @@ [request.formData() with input: a=b&c=d&] expected: FAIL - [request.formData() with input: a=b&c=d] - expected: FAIL - [request.formData() with input: &&&a=b&&&&c=d&] expected: FAIL - [response.formData() with input: a=b&c=d] + [response.formData() with input: a&b&c] + expected: FAIL + + [response.formData() with input: a=b&c=d&] + expected: FAIL + + [response.formData() with input: _charset_=windows-1252&test=%C2x] 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 a56bad443a2..66bd350083b 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,5 +1,4 @@ [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/mozilla/meta/mozilla/paint_timing.html.ini b/tests/wpt/mozilla/meta/mozilla/paint_timing.html.ini new file mode 100644 index 00000000000..14a9e778f39 --- /dev/null +++ b/tests/wpt/mozilla/meta/mozilla/paint_timing.html.ini @@ -0,0 +1,4 @@ +[paint_timing.html] + [Performance entries observer] + expected: FAIL + diff --git a/tests/wpt/web-platform-tests/IndexedDB/get-databases.any.js b/tests/wpt/web-platform-tests/IndexedDB/get-databases.any.js index f054e0fec2f..823cfce284b 100644 --- a/tests/wpt/web-platform-tests/IndexedDB/get-databases.any.js +++ b/tests/wpt/web-platform-tests/IndexedDB/get-databases.any.js @@ -1,20 +1,29 @@ // META: script=support-promises.js promise_test(async testCase => { - // Delete any databases that may not have been cleaned up after - // previous test runs. + assert_true(indexedDB.databases() instanceof Promise, + "databases() should return a promise."); +}, "Ensure that databases() returns a promise."); + +promise_test(async testCase => { + // Delete any databases that may not have been cleaned up after previous test + // runs. await deleteAllDatabases(testCase); const db_name = "TestDatabase"; const db = await createNamedDatabase(testCase, db_name, ()=>{}); - const databases_promise = await indexedDB.databases(); - const expected_result = [ - {"name": db_name, "version": 1}, - ]; - assert_object_equals( - databases_promise, - expected_result, - "Call to databases() did not retrieve the single expected result."); + const databases_result = await indexedDB.databases(); + db.close(); + const expected_result = {"name": db_name, "version": 1}; + assert_equals( + databases_result.length, + 1, + "The result of databases() should contain one result per database."); + assert_true( + databases_result[0].name === expected_result.name + && databases_result[0].version === expected_result.version, + "The result of databases() should be a sequence of the correct names " + + "and versions of all databases for the origin."); }, "Enumerate one database."); promise_test(async testCase => { @@ -28,35 +37,81 @@ promise_test(async testCase => { const db1 = await createNamedDatabase(testCase, db_name1, ()=>{}); const db2 = await createNamedDatabase(testCase, db_name2, ()=>{}); const db3 = await createNamedDatabase(testCase, db_name3, ()=>{}); - const databases_promise = await indexedDB.databases(); + db1.close(); + db2.close(); + db3.close(); + const version_promise = + await migrateNamedDatabase(testCase, db_name2, 2, () => {}); + const databases_result = await indexedDB.databases(); const expected_result = [ {"name": db_name1, "version": 1}, - {"name": db_name2, "version": 1}, + {"name": db_name2, "version": 2}, {"name": db_name3, "version": 1}, ]; - assert_object_equals( - databases_promise, - expected_result, - "Call to databases() did not retrieve the multiple expected results"); + assert_equals( + databases_result.length, + expected_result.length, + "The result of databases() should contain one result per database."); + for ( let i = 0; i < expected_result.length; i += 1 ) { + result = expected_result[i]; + assert_true( + databases_result.some( + e => e.name === result.name && e.version === result.version), + "The result of databases() should be a sequence of the correct names " + + "and versions of all databases for the origin."); + } }, "Enumerate multiple databases."); promise_test(async testCase => { // Add some databases and close their connections. - const db1 = await createNamedDatabase(testCase, "DB1", ()=>{}); - const db2 = await createNamedDatabase(testCase, "DB2", ()=>{}); - db1.onversionchange = () => { db1.close() }; - db2.onversionchange = () => { db2.close() }; + const db1 = await createNamedDatabase(testCase, "DB1", () => {}); + const db2 = await createNamedDatabase(testCase, "DB2", () => {}); + db1.close(); + db2.close(); // Delete any databases that may not have been cleaned up after previous test // runs as well as the two databases made above. await deleteAllDatabases(testCase); // Make sure the databases are no longer returned. - const databases_promise = await indexedDB.databases(); - assert_object_equals( - databases_promise, - [], - "Call to databases() found database it should not have.") + const databases_result = await indexedDB.databases(); + assert_equals( + databases_result.length, + 0, + "The result of databases() should be an empty sequence for the case of " + + "no databases for the origin."); }, "Make sure an empty list is returned for the case of no databases."); -done(); +promise_test(async testCase => { + // Delete any databases that may not have been cleaned up after previous test + // runs as well as the two databases made above. + await deleteAllDatabases(testCase); + + const db1 = await createNamedDatabase(testCase, "DB1", ()=>{}); + const db2 = await createNamedDatabase(testCase, "DB2", async () => { + const databases_result1 = await indexedDB.databases(); + assert_equals( + databases_result1.length, + 1, + "The result of databases() should be only those databases which have " + + "been created at the time of calling, regardless of versionchange " + + "transactions currently running."); + }); + db1.close(); + db2.close(); + const databases_result2 = await indexedDB.databases(); + assert_equals( + databases_result2.length, + 2, + "The result of databases() should include all databases which have " + + "been created at the time of calling."); + await migrateNamedDatabase(testCase, "DB2", 2, async () => { + const databases_result3 = await indexedDB.databases(); + assert_true( + databases_result3[0].version === 1 + && databases_result3[1].version === 1, + "The result of databases() should contain the versions of databases " + + "at the time of calling, regardless of versionchange transactions " + + "currently running."); + }); +}, "Ensure that databases() doesn't pick up changes that haven't commited."); diff --git a/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-margin-bottom.html b/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-margin-bottom.html new file mode 100644 index 00000000000..9dfc1963ac8 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-margin-bottom.html @@ -0,0 +1,19 @@ + + + + +

There should be a blue square below.

+
+
+
+ + + + diff --git a/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-margin-left.html b/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-margin-left.html new file mode 100644 index 00000000000..aa077d9ea83 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-margin-left.html @@ -0,0 +1,18 @@ + + + + +

There should be a blue square below.

+
+
+
+ + + + diff --git a/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-margin-right.html b/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-margin-right.html new file mode 100644 index 00000000000..9ae84bd16ca --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-margin-right.html @@ -0,0 +1,18 @@ + + + + +

There should be a blue square below.

+
+
+
+ + + + diff --git a/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-margin-top.html b/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-margin-top.html new file mode 100644 index 00000000000..7698f27240e --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-margin-top.html @@ -0,0 +1,19 @@ + + + + +

There should be a blue square below.

+
+
+
+ + + + diff --git a/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-padding-bottom.html b/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-padding-bottom.html new file mode 100644 index 00000000000..5eea503005d --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-padding-bottom.html @@ -0,0 +1,18 @@ + + + + +

There should be a blue square below.

+
+
+
+ + + + diff --git a/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-padding-left.html b/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-padding-left.html new file mode 100644 index 00000000000..0f793e715d6 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-padding-left.html @@ -0,0 +1,18 @@ + + + + +

There should be a blue square below.

+
+
+
+ + + + diff --git a/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-padding-right.html b/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-padding-right.html new file mode 100644 index 00000000000..28fd9590cdf --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-padding-right.html @@ -0,0 +1,18 @@ + + + + +

There should be a blue square below.

+
+
+
+ + + + diff --git a/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-padding-top.html b/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-padding-top.html new file mode 100644 index 00000000000..f30ace92e9d --- /dev/null +++ b/tests/wpt/web-platform-tests/css/CSS2/normal-flow/containing-block-percent-padding-top.html @@ -0,0 +1,18 @@ + + + + +

There should be a blue square below.

+
+
+
+ + + + diff --git a/tests/wpt/web-platform-tests/css/css-animations/parsing/animation-timing-function-valid.html b/tests/wpt/web-platform-tests/css/css-animations/parsing/animation-timing-function-valid.html index 63e2805485b..7ab823ea1da 100644 --- a/tests/wpt/web-platform-tests/css/css-animations/parsing/animation-timing-function-valid.html +++ b/tests/wpt/web-platform-tests/css/css-animations/parsing/animation-timing-function-valid.html @@ -23,7 +23,11 @@ test_valid_value("animation-timing-function", "cubic-bezier(0, 0.7, 1, 1.3)"); test_valid_value("animation-timing-function", "steps(4, start)"); -test_valid_value("animation-timing-function", "steps(2, end)"); +test_valid_value("animation-timing-function", "steps(2, end)", "steps(2)"); +test_valid_value("animation-timing-function", "steps(2, jump-start)"); +test_valid_value("animation-timing-function", "steps(2, jump-end)", "steps(2)"); +test_valid_value("animation-timing-function", "steps(2, jump-both)"); +test_valid_value("animation-timing-function", "steps(2, jump-none)"); test_valid_value("animation-timing-function", "linear, ease, linear"); diff --git a/tests/wpt/web-platform-tests/css/css-timing/META.yml b/tests/wpt/web-platform-tests/css/css-easing/META.yml similarity index 52% rename from tests/wpt/web-platform-tests/css/css-timing/META.yml rename to tests/wpt/web-platform-tests/css/css-easing/META.yml index 1ee250307b7..2c412b40f0f 100644 --- a/tests/wpt/web-platform-tests/css/css-timing/META.yml +++ b/tests/wpt/web-platform-tests/css/css-easing/META.yml @@ -1,4 +1,4 @@ -spec: https://drafts.csswg.org/css-timing/ +spec: https://drafts.csswg.org/css-easing/ suggested_reviewers: - birtles - BorisChiou diff --git a/tests/wpt/web-platform-tests/css/css-timing/cubic-bezier-timing-functions-output.html b/tests/wpt/web-platform-tests/css/css-easing/cubic-bezier-timing-functions-output.html similarity index 99% rename from tests/wpt/web-platform-tests/css/css-timing/cubic-bezier-timing-functions-output.html rename to tests/wpt/web-platform-tests/css/css-easing/cubic-bezier-timing-functions-output.html index 5c2003b1394..168f4cd907e 100644 --- a/tests/wpt/web-platform-tests/css/css-timing/cubic-bezier-timing-functions-output.html +++ b/tests/wpt/web-platform-tests/css/css-easing/cubic-bezier-timing-functions-output.html @@ -4,7 +4,7 @@ content="This test checks the output of Cubic Bézier functions" /> Tests for the output of Cubic Bézier timing functions +href="https://drafts.csswg.org/css-easing/#cubic-bezier-timing-functions"> diff --git a/tests/wpt/web-platform-tests/css/css-easing/step-timing-functions-output.html b/tests/wpt/web-platform-tests/css/css-easing/step-timing-functions-output.html new file mode 100644 index 00000000000..978ac25df69 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-easing/step-timing-functions-output.html @@ -0,0 +1,318 @@ + + + +Tests for the output of step timing functions + + + + + +
+ + diff --git a/tests/wpt/web-platform-tests/css/css-easing/step-timing-functions-syntax.html b/tests/wpt/web-platform-tests/css/css-easing/step-timing-functions-syntax.html new file mode 100644 index 00000000000..4e8b21e4413 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-easing/step-timing-functions-syntax.html @@ -0,0 +1,34 @@ + + + +Step timing function syntax tests + + + + + + +
+ + diff --git a/tests/wpt/web-platform-tests/css/css-timing/testcommon.js b/tests/wpt/web-platform-tests/css/css-easing/testcommon.js similarity index 100% rename from tests/wpt/web-platform-tests/css/css-timing/testcommon.js rename to tests/wpt/web-platform-tests/css/css-easing/testcommon.js diff --git a/tests/wpt/web-platform-tests/css/css-timing/step-timing-functions-output.html b/tests/wpt/web-platform-tests/css/css-timing/step-timing-functions-output.html deleted file mode 100644 index 9a2aa507c88..00000000000 --- a/tests/wpt/web-platform-tests/css/css-timing/step-timing-functions-output.html +++ /dev/null @@ -1,141 +0,0 @@ - - - -Tests for the output of step timing functions - - - - - -
- - diff --git a/tests/wpt/web-platform-tests/css/css-transitions/parsing/transition-timing-function-invalid.html b/tests/wpt/web-platform-tests/css/css-transitions/parsing/transition-timing-function-invalid.html index 936defa6cce..00bd2131e09 100644 --- a/tests/wpt/web-platform-tests/css/css-transitions/parsing/transition-timing-function-invalid.html +++ b/tests/wpt/web-platform-tests/css/css-transitions/parsing/transition-timing-function-invalid.html @@ -4,7 +4,7 @@ CSS Animations: parsing transition-timing-function with invalid values - + diff --git a/tests/wpt/web-platform-tests/css/css-transitions/parsing/transition-timing-function-valid.html b/tests/wpt/web-platform-tests/css/css-transitions/parsing/transition-timing-function-valid.html index e11ef0002e4..2e2c1827bfb 100644 --- a/tests/wpt/web-platform-tests/css/css-transitions/parsing/transition-timing-function-valid.html +++ b/tests/wpt/web-platform-tests/css/css-transitions/parsing/transition-timing-function-valid.html @@ -4,7 +4,7 @@ CSS Transitions: parsing transition-timing-function with valid values - + @@ -23,7 +23,11 @@ test_valid_value("transition-timing-function", "cubic-bezier(0, -2, 1, 3)"); test_valid_value("transition-timing-function", "cubic-bezier(0, 0.7, 1, 1.3)"); test_valid_value("transition-timing-function", "steps(4, start)"); -test_valid_value("transition-timing-function", "steps(2, end)"); +test_valid_value("transition-timing-function", "steps(2, end)", "steps(2)"); +test_valid_value("transition-timing-function", "steps(2, jump-start)"); +test_valid_value("transition-timing-function", "steps(2, jump-end)", "steps(2)"); +test_valid_value("transition-timing-function", "steps(2, jump-both)"); +test_valid_value("transition-timing-function", "steps(2, jump-none)"); test_valid_value("transition-timing-function", "linear, ease, linear"); diff --git a/tests/wpt/web-platform-tests/css/css-transitions/transition-timing-function-001.html b/tests/wpt/web-platform-tests/css/css-transitions/transition-timing-function-001.html index 75665450a1a..4c9598f3919 100644 --- a/tests/wpt/web-platform-tests/css/css-transitions/transition-timing-function-001.html +++ b/tests/wpt/web-platform-tests/css/css-transitions/transition-timing-function-001.html @@ -42,12 +42,20 @@ 'steps(3, start)': 'steps(3, start)', 'steps(3, end)': 'steps(3)', 'steps(3)': 'steps(3)', + 'steps(3, jump-start)': 'steps(3, jump-start)', + 'steps(3, jump-end)': 'steps(3)', + 'steps(3, jump-both)': 'steps(3, jump-both)', + 'steps(3, jump-none)': 'steps(3, jump-none)', // invalid 'cubic-bezier(foobar)': defaultValue, 'steps(foobar)': defaultValue, 'steps(3.3, end)': defaultValue, 'steps(3, top)': defaultValue, 'steps(-3, top)': defaultValue, + 'steps(0, jump-start)': defaultValue, + 'steps(0, jump-end)': defaultValue, + 'steps(0, jump-both)': defaultValue, + 'steps(1, jump-none)': defaultValue, // Both x values must be in the range [0, 1] 'cubic-bezier(-0.1, -0.2, -0.3, -0.4)': defaultValue, 'cubic-bezier(1.1, 1.2, 1.3, 1.4)': defaultValue diff --git a/tests/wpt/web-platform-tests/interfaces/fullscreen.idl b/tests/wpt/web-platform-tests/interfaces/fullscreen.idl index 87f1599750a..491aa7af13e 100644 --- a/tests/wpt/web-platform-tests/interfaces/fullscreen.idl +++ b/tests/wpt/web-platform-tests/interfaces/fullscreen.idl @@ -30,6 +30,6 @@ partial interface Document { attribute EventHandler onfullscreenerror; }; -partial interface DocumentOrShadowRoot { +partial interface mixin DocumentOrShadowRoot { [LenientSetter] readonly attribute Element? fullscreenElement; }; diff --git a/tests/wpt/web-platform-tests/interfaces/payment-request.idl b/tests/wpt/web-platform-tests/interfaces/payment-request.idl index 0795c03627d..baf9ee36db9 100644 --- a/tests/wpt/web-platform-tests/interfaces/payment-request.idl +++ b/tests/wpt/web-platform-tests/interfaces/payment-request.idl @@ -153,7 +153,7 @@ interface PaymentResponse : EventTarget { [NewObject] Promise complete(optional PaymentComplete result = "unknown"); [NewObject] - Promise retry(PaymentValidationErrors errorFields); + Promise retry(optional PaymentValidationErrors errorFields); attribute EventHandler onpayerdetailchange; }; diff --git a/tests/wpt/web-platform-tests/lint.whitelist b/tests/wpt/web-platform-tests/lint.whitelist index 23f20555e8c..3de5698c229 100644 --- a/tests/wpt/web-platform-tests/lint.whitelist +++ b/tests/wpt/web-platform-tests/lint.whitelist @@ -760,7 +760,7 @@ MISSING-LINK: css/css-scroll-anchoring/position-change-heuristic.html MISSING-LINK: css/css-scroll-anchoring/start-edge-in-block-layout-direction.html MISSING-LINK: css/css-scroll-anchoring/subtree-exclusion.html MISSING-LINK: css/css-scroll-anchoring/wrapped-text.html -SUPPORT-WRONG-DIR: css/css-timing/testcommon.js +SUPPORT-WRONG-DIR: css/css-easing/testcommon.js MISSING-LINK: css/css-typed-om/CSSMatrixComponent-DOMMatrix-mutable.html MISSING-LINK: css/css-typed-om/declared-styleMap-accepts-inherit.html SUPPORT-WRONG-DIR: css/cssom/stylesheet-same-origin.css diff --git a/tests/wpt/web-platform-tests/payment-request/payment-response/retry-method-manual.https.html b/tests/wpt/web-platform-tests/payment-request/payment-response/retry-method-manual.https.html index 82821a9a39c..16ed15e5490 100644 --- a/tests/wpt/web-platform-tests/payment-request/payment-response/retry-method-manual.https.html +++ b/tests/wpt/web-platform-tests/payment-request/payment-response/retry-method-manual.https.html @@ -28,7 +28,7 @@ function checkCompletedCantRetry(button) { return promise_rejects( t, "InvalidStateError", - response.retry({}), + response.retry(), "response.[[complete]] is true, so rejects with InvalidStateError." ); }, button.textContent.trim()); @@ -38,11 +38,11 @@ function repeatedCallsToRetry(button) { button.disabled = true; promise_test(async t => { const { response } = await getPaymentRequestResponse(); - const retryPromise = response.retry({}); + const retryPromise = response.retry(); await promise_rejects( t, "InvalidStateError", - response.retry({}), + response.retry(), "Calling retry() again rejects with an InvalidStateError" ); await retryPromise; @@ -54,7 +54,7 @@ function callCompleteWhileRetrying(button) { button.disabled = true; promise_test(async t => { const { response } = await getPaymentRequestResponse(); - const retryPromise = response.retry({}); + const retryPromise = response.retry(); await promise_rejects( t, "InvalidStateError", @@ -70,7 +70,7 @@ function callingRequestAbortMustNotAbort(button) { button.disabled = true; promise_test(async t => { const { response, request } = await getPaymentRequestResponse(); - const retryPromise = response.retry({}); + const retryPromise = response.retry(); await promise_rejects( t, "InvalidStateError", @@ -87,12 +87,12 @@ function canRetryMultipleTimes(button) { promise_test(async t => { const { response } = await getPaymentRequestResponse(); assert_equals( - await response.retry({}), + await response.retry(), undefined, "Expected undefined as the resolve value" ); assert_equals( - await response.retry({}), + await response.retry(), undefined, "Expected undefined as the resolve value" ); @@ -100,7 +100,7 @@ function canRetryMultipleTimes(button) { await promise_rejects( t, "InvalidStateError", - response.retry({}), + response.retry(), "Calling retry() after complete() rejects with a InvalidStateError" ); }, button.textContent.trim()); @@ -113,13 +113,13 @@ function userCanAbortARetry(button) { await promise_rejects( t, "AbortError", - response.retry({}), + response.retry(), "The user aborting a retry rejects with a AbortError" ); await promise_rejects( t, "InvalidStateError", - response.retry({}), + response.retry(), "After the user aborts, response [[complete]] is true so retry() must reject with InvalidStateError" ); await promise_rejects( @@ -154,7 +154,7 @@ function abortTheUpdate(button) { resolve(); }; }); - const retryPromise = response.retry({}); + const retryPromise = response.retry(); await shippingChangedPromise; await promise_rejects( t, @@ -175,11 +175,11 @@ function callingRetryReturnsUniquePromise(button){ button.disabled = true; promise_test(async t => { const { response } = await getPaymentRequestResponse(); - const retryPromise = response.retry({}); + const retryPromise = response.retry(); const promises = new Set([ retryPromise, - response.retry({}), - response.retry({}), + response.retry(), + response.retry(), ]); assert_equals(promises.size, 3, "Must have three unique objects"); await retryPromise; diff --git a/tests/wpt/web-platform-tests/tools/wptrunner/requirements.txt b/tests/wpt/web-platform-tests/tools/wptrunner/requirements.txt index 72672707d6f..1fde996a78e 100644 --- a/tests/wpt/web-platform-tests/tools/wptrunner/requirements.txt +++ b/tests/wpt/web-platform-tests/tools/wptrunner/requirements.txt @@ -2,4 +2,4 @@ html5lib == 1.0.1 mozinfo == 0.10 mozlog==3.9 mozdebug==0.1.1 -urllib3[secure]==1.24 +urllib3[secure]==1.24.1 diff --git a/tests/wpt/web-platform-tests/web-animations/timing-model/time-transformations/transformed-progress.html b/tests/wpt/web-platform-tests/web-animations/timing-model/time-transformations/transformed-progress.html index 839ebe1093e..960e333c092 100644 --- a/tests/wpt/web-platform-tests/web-animations/timing-model/time-transformations/transformed-progress.html +++ b/tests/wpt/web-platform-tests/web-animations/timing-model/time-transformations/transformed-progress.html @@ -32,10 +32,9 @@ for (const params of gEasingTests) { }, `Transformed progress for ${params.desc}`); } -// Additional tests for various boundary conditions of step timing functions and -// frames timing functions. +// Additional tests for various boundary conditions of step timing functions. -const gStepAndFramesTimingFunctionTests = [ +const gStepTimingFunctionTests = [ { description: 'Test bounds point of step-start easing', effect: { @@ -255,12 +254,72 @@ const gStepAndFramesTimingFunctionTests = [ ] }, { - description: 'Test bounds point of frames easing', + description: 'Test bounds point of steps(jump-both) easing', effect: { delay: 1000, duration: 1000, fill: 'both', - easing: 'frames(2)' + easing: 'steps(2, jump-both)' + }, + conditions: [ + { currentTime: 0, progress: 0 }, + { currentTime: 999, progress: 0 }, + { currentTime: 1000, progress: 1/3 }, + { currentTime: 1499, progress: 1/3 }, + { currentTime: 1500, progress: 2/3 }, + { currentTime: 2000, progress: 1 } + ] + }, + { + description: 'Test bounds point of steps(jump-both) easing ' + + 'with iterationStart and delay', + effect: { + duration: 1000, + fill: 'both', + delay: 1000, + iterationStart: 0.5, + easing: 'steps(2, jump-both)' + }, + conditions: [ + { currentTime: 0, progress: 1/3 }, + { currentTime: 999, progress: 1/3 }, + { currentTime: 1000, progress: 2/3 }, + { currentTime: 1499, progress: 2/3 }, + { currentTime: 1500, progress: 1/3 }, + { currentTime: 1999, progress: 1/3 }, + { currentTime: 2000, progress: 2/3 }, + { currentTime: 2500, progress: 2/3 } + ] + }, + { + description: 'Test bounds point of steps(jump-both) easing ' + + 'with iterationStart not at a transition point', + effect: { + delay: 1000, + duration: 1000, + fill: 'both', + iterationStart: 0.75, + easing: 'steps(2, jump-both)' + }, + conditions: [ + { currentTime: 0, progress: 2/3 }, + { currentTime: 999, progress: 2/3 }, + { currentTime: 1000, progress: 2/3 }, + { currentTime: 1249, progress: 2/3 }, + { currentTime: 1250, progress: 1/3 }, + { currentTime: 1749, progress: 1/3 }, + { currentTime: 1750, progress: 2/3 }, + { currentTime: 2000, progress: 2/3 }, + { currentTime: 2500, progress: 2/3 } + ] + }, + { + description: 'Test bounds point of steps(jump-none) easing', + effect: { + delay: 1000, + duration: 1000, + fill: 'both', + easing: 'steps(2, jump-none)' }, conditions: [ { currentTime: 0, progress: 0 }, @@ -271,27 +330,51 @@ const gStepAndFramesTimingFunctionTests = [ ] }, { - description: 'Test bounds point of frames easing ' + + description: 'Test bounds point of steps(jump-none) easing ' + 'with iterationStart and delay', effect: { - delay: 1000, duration: 1000, fill: 'both', + delay: 1000, iterationStart: 0.5, - easing: 'frames(2)' + easing: 'steps(2, jump-none)' }, conditions: [ - { currentTime: 0, progress: 1 }, + { currentTime: 0, progress: 0 }, + { currentTime: 999, progress: 0 }, { currentTime: 1000, progress: 1 }, { currentTime: 1499, progress: 1 }, { currentTime: 1500, progress: 0 }, { currentTime: 1999, progress: 0 }, - { currentTime: 2000, progress: 1 } + { currentTime: 2000, progress: 1 }, + { currentTime: 2500, progress: 1 } ] - } + }, + { + description: 'Test bounds point of steps(jump-none) easing ' + + 'with iterationStart not at a transition point', + effect: { + delay: 1000, + duration: 1000, + fill: 'both', + iterationStart: 0.75, + easing: 'steps(2, jump-none)' + }, + conditions: [ + { currentTime: 0, progress: 1 }, + { currentTime: 999, progress: 1 }, + { currentTime: 1000, progress: 1 }, + { currentTime: 1249, progress: 1 }, + { currentTime: 1250, progress: 0 }, + { currentTime: 1749, progress: 0 }, + { currentTime: 1750, progress: 1 }, + { currentTime: 2000, progress: 1 }, + { currentTime: 2500, progress: 1 } + ] + }, ]; -for (const options of gStepAndFramesTimingFunctionTests) { +for (const options of gStepTimingFunctionTests) { test(t => { const target = createDiv(t); const animation = target.animate(null, options.effect); diff --git a/tests/wpt/web-platform-tests/webrtc-identity/META.yml b/tests/wpt/web-platform-tests/webrtc-identity/META.yml new file mode 100644 index 00000000000..900769b9d43 --- /dev/null +++ b/tests/wpt/web-platform-tests/webrtc-identity/META.yml @@ -0,0 +1,3 @@ +spec: https://github.com/w3c/webrtc-identity +suggested_reviewers: + - martinthomson diff --git a/tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-getIdentityAssertion.sub.html b/tests/wpt/web-platform-tests/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.html similarity index 100% rename from tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-getIdentityAssertion.sub.html rename to tests/wpt/web-platform-tests/webrtc-identity/RTCPeerConnection-getIdentityAssertion.sub.html diff --git a/tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-peerIdentity.html b/tests/wpt/web-platform-tests/webrtc-identity/RTCPeerConnection-peerIdentity.html similarity index 100% rename from tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-peerIdentity.html rename to tests/wpt/web-platform-tests/webrtc-identity/RTCPeerConnection-peerIdentity.html diff --git a/tests/wpt/web-platform-tests/webrtc/identity-helper.sub.js b/tests/wpt/web-platform-tests/webrtc-identity/identity-helper.sub.js similarity index 100% rename from tests/wpt/web-platform-tests/webrtc/identity-helper.sub.js rename to tests/wpt/web-platform-tests/webrtc-identity/identity-helper.sub.js diff --git a/tests/wpt/web-platform-tests/webrtc/RTCCertificate-postMessage.html b/tests/wpt/web-platform-tests/webrtc/RTCCertificate-postMessage.html new file mode 100644 index 00000000000..5885f9fb1bb --- /dev/null +++ b/tests/wpt/web-platform-tests/webrtc/RTCCertificate-postMessage.html @@ -0,0 +1,77 @@ + + +RTCCertificate persistent Tests + + + + + + diff --git a/tests/wpt/web-platform-tests/webrtc/RTCCertificate.html b/tests/wpt/web-platform-tests/webrtc/RTCCertificate.html index e5f1749eb5b..a33ba9ae5f2 100644 --- a/tests/wpt/web-platform-tests/webrtc/RTCCertificate.html +++ b/tests/wpt/web-platform-tests/webrtc/RTCCertificate.html @@ -6,8 +6,8 @@ diff --git a/tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate.html b/tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate.html index 5e321681336..1dd1350acd2 100644 --- a/tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate.html +++ b/tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate.html @@ -5,32 +5,6 @@ diff --git a/tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-helper.js b/tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-helper.js index b13e580998e..330ce1992d9 100644 --- a/tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-helper.js +++ b/tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-helper.js @@ -358,7 +358,7 @@ const trackFactories = { */ canCreate(requested) { const supported = { - audio: !!window.MediaStreamAudioDestinationNode, + audio: !!window.AudioContext && !!window.MediaStreamAudioDestinationNode, video: !!HTMLCanvasElement.prototype.captureStream }; diff --git a/tests/wpt/web-platform-tests/webrtc/RTCPeerConnectionIceEvent-constructor.html b/tests/wpt/web-platform-tests/webrtc/RTCPeerConnectionIceEvent-constructor.html index 07e97364412..7de7fcaeb10 100644 --- a/tests/wpt/web-platform-tests/webrtc/RTCPeerConnectionIceEvent-constructor.html +++ b/tests/wpt/web-platform-tests/webrtc/RTCPeerConnectionIceEvent-constructor.html @@ -92,11 +92,11 @@ both the sdpMid and sdpMLineIndex dictionary members are null, throw a TypeError const candidate = ""; const sdpMid = "sdpMid"; const sdpMLineIndex = 1; -const ufrag = ""; +const usernameFragment = ""; const url = "foo.bar"; test(() => { - const iceCandidate = new RTCIceCandidate({ candidate, sdpMid, sdpMLineIndex, ufrag }); + const iceCandidate = new RTCIceCandidate({ candidate, sdpMid, sdpMLineIndex, usernameFragment }); const event = new RTCPeerConnectionIceEvent("type", { candidate: iceCandidate, url, @@ -108,33 +108,10 @@ test(() => { }, "RTCPeerConnectionIceEvent with RTCIceCandidate"); test(() => { - const plain = { candidate, sdpMid, sdpMLineIndex, ufrag }; + const plain = { candidate, sdpMid, sdpMLineIndex, usernameFragment }; assert_throws(new TypeError(), () => new RTCPeerConnectionIceEvent("type", { candidate: plain })); }, "RTCPeerConnectionIceEvent with non RTCIceCandidate object throws"); -/* -This will remain commented out until https://github.com/w3c/webrtc-pc/issues/1232 -is resolved. - -test(() => { - // When firing an RTCPeerConnectionIceEvent event that contains a RTCIceCandidate - // object, it must include values for both sdpMid and sdpMLineIndex. - - assert_throws(new TypeError(), () => { - new RTCPeerConnectionIceEvent("type", { - candidate: new RTCIceCandidate({ candidate, sdpMid, ufrag }) - }); - }); - - assert_throws(new TypeError(), () => { - new RTCPeerConnectionIceEvent("type", { - candidate: new RTCIceCandidate({ candidate, sdpMLineIndex, ufrag }) - }); - }); - -}, "RTCIceCandidate must include values for both sdpMid and sdpMLineIndex"); -*/ - test(() => { const event = new RTCPeerConnectionIceEvent("type", { candidate: null, @@ -145,4 +122,5 @@ test(() => { assert_true(event.bubbles); assert_true(event.cancelable); }, "RTCPeerConnectionIceEvent bubbles and cancelable"); + diff --git a/tests/wpt/web-platform-tests/webrtc/resources/RTCCertificate-postMessage-iframe.html b/tests/wpt/web-platform-tests/webrtc/resources/RTCCertificate-postMessage-iframe.html new file mode 100644 index 00000000000..9e52ba0c888 --- /dev/null +++ b/tests/wpt/web-platform-tests/webrtc/resources/RTCCertificate-postMessage-iframe.html @@ -0,0 +1,9 @@ + + diff --git a/tests/wpt/web-platform-tests/webrtc/simplecall-no-ssrcs.https.html b/tests/wpt/web-platform-tests/webrtc/simplecall-no-ssrcs.https.html new file mode 100644 index 00000000000..266b5766378 --- /dev/null +++ b/tests/wpt/web-platform-tests/webrtc/simplecall-no-ssrcs.https.html @@ -0,0 +1,122 @@ + + + + + RTCPeerConnection Connection Test + + + +
+
+ + +
+ + + + + + + +