diff --git a/tests/wpt/metadata/FileAPI/url/url-with-fetch.any.js.ini b/tests/wpt/metadata/FileAPI/url/url-with-fetch.any.js.ini index 947e223fb28f..3b874fc17488 100644 --- a/tests/wpt/metadata/FileAPI/url/url-with-fetch.any.js.ini +++ b/tests/wpt/metadata/FileAPI/url/url-with-fetch.any.js.ini @@ -34,3 +34,6 @@ [Revoke blob URL after creating Request, will fetch] expected: FAIL + [Revoke blob URL after calling fetch, fetch should succeed] + expected: FAIL + diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 934e7b0de013..e6d7c8291ce5 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -165279,6 +165279,18 @@ {} ] ], + "css/css-ui/appearance-textfield-001.html": [ + [ + "css/css-ui/appearance-textfield-001.html", + [ + [ + "/css/css-ui/appearance-textfield-001-ref.html", + "==" + ] + ], + {} + ] + ], "css/css-ui/box-sizing-001.html": [ [ "css/css-ui/box-sizing-001.html", @@ -166395,6 +166407,18 @@ {} ] ], + "css/css-ui/webkit-appearance-textfield-001.html": [ + [ + "css/css-ui/webkit-appearance-textfield-001.html", + [ + [ + "/css/css-ui/appearance-textfield-001-ref.html", + "==" + ] + ], + {} + ] + ], "css/css-values/angle-units-001.html": [ [ "css/css-values/angle-units-001.html", @@ -211138,7 +211162,13 @@ ".gitattributes": [ [] ], - ".github/main.workflow": [ + ".github/workflows/pull_request.yml": [ + [] + ], + ".github/workflows/push-build-publish-documentation-website.yml": [ + [] + ], + ".github/workflows/push-build-release-manifest.yml": [ [] ], ".gitignore": [ @@ -257329,6 +257359,9 @@ "css/css-ui/appearance-auto-ref.html": [ [] ], + "css/css-ui/appearance-textfield-001-ref.html": [ + [] + ], "css/css-ui/reference/box-sizing-001-ref.html": [ [] ], @@ -272062,6 +272095,9 @@ "html/semantics/embedded-content/the-iframe-element/support/iframe-that-tries-to-navigate-parent-and-sends-result-to-grandparent.html": [ [] ], + "html/semantics/embedded-content/the-iframe-element/support/iframe-tried-to-be-navigated-by-history.html": [ + [] + ], "html/semantics/embedded-content/the-iframe-element/support/iframe-tried-to-be-navigated-by-its-child.html": [ [] ], @@ -278713,6 +278749,9 @@ "resources/test/tests/unit/exceptional-cases.html": [ [] ], + "resources/test/tests/unit/format-value.html": [ + [] + ], "resources/test/tests/unit/late-test.html": [ [] ], @@ -286963,6 +287002,9 @@ "websockets/cookies/support/set-cookie.py": [ [] ], + "websockets/cookies/support/websocket-cookies-helper.sub.js": [ + [] + ], "websockets/handlers/basic_auth_wsh.py": [ [] ], @@ -287023,6 +287065,9 @@ "websockets/handlers/set-cookie_wsh.py": [ [] ], + "websockets/handlers/set-cookies-samesite_wsh.py": [ + [] + ], "websockets/handlers/simple_handshake_wsh.py": [ [] ], @@ -310279,153 +310324,153 @@ } ] ], - "cookies/samesite/fetch.html": [ + "cookies/samesite/fetch.https.html": [ [ - "cookies/samesite/fetch.html", + "cookies/samesite/fetch.https.html", { "timeout": "long" } ], [ - "cookies/samesite/fetch.html?samesite-by-default-cookies.tentative", + "cookies/samesite/fetch.https.html?legacy-samesite", { "timeout": "long" } ] ], - "cookies/samesite/form-get-blank-reload.html": [ + "cookies/samesite/form-get-blank-reload.https.html": [ [ - "cookies/samesite/form-get-blank-reload.html", + "cookies/samesite/form-get-blank-reload.https.html", {} ], [ - "cookies/samesite/form-get-blank-reload.html?samesite-by-default-cookies.tentative", + "cookies/samesite/form-get-blank-reload.https.html?legacy-samesite", {} ] ], - "cookies/samesite/form-get-blank.html": [ + "cookies/samesite/form-get-blank.https.html": [ [ - "cookies/samesite/form-get-blank.html", + "cookies/samesite/form-get-blank.https.html", { "timeout": "long" } ], [ - "cookies/samesite/form-get-blank.html?samesite-by-default-cookies.tentative", + "cookies/samesite/form-get-blank.https.html?legacy-samesite", { "timeout": "long" } ] ], - "cookies/samesite/form-post-blank-reload.html": [ + "cookies/samesite/form-post-blank-reload.https.html": [ [ - "cookies/samesite/form-post-blank-reload.html", + "cookies/samesite/form-post-blank-reload.https.html", {} ], [ - "cookies/samesite/form-post-blank-reload.html?samesite-by-default-cookies.tentative", + "cookies/samesite/form-post-blank-reload.https.html?legacy-samesite", {} ] ], - "cookies/samesite/form-post-blank.html": [ + "cookies/samesite/form-post-blank.https.html": [ [ - "cookies/samesite/form-post-blank.html", + "cookies/samesite/form-post-blank.https.html", { "timeout": "long" } ], [ - "cookies/samesite/form-post-blank.html?samesite-by-default-cookies.tentative", + "cookies/samesite/form-post-blank.https.html?legacy-samesite", { "timeout": "long" } ] ], - "cookies/samesite/iframe-reload.html": [ + "cookies/samesite/iframe-reload.https.html": [ [ - "cookies/samesite/iframe-reload.html", + "cookies/samesite/iframe-reload.https.html", { "timeout": "long" } ], [ - "cookies/samesite/iframe-reload.html?samesite-by-default-cookies.tentative", + "cookies/samesite/iframe-reload.https.html?legacy-samesite", { "timeout": "long" } ] ], - "cookies/samesite/iframe.html": [ + "cookies/samesite/iframe.https.html": [ [ - "cookies/samesite/iframe.html", + "cookies/samesite/iframe.https.html", { "timeout": "long" } ], [ - "cookies/samesite/iframe.html?samesite-by-default-cookies.tentative", + "cookies/samesite/iframe.https.html?legacy-samesite", { "timeout": "long" } ] ], - "cookies/samesite/img.html": [ + "cookies/samesite/img.https.html": [ [ - "cookies/samesite/img.html", + "cookies/samesite/img.https.html", { "timeout": "long" } ], [ - "cookies/samesite/img.html?samesite-by-default-cookies.tentative", + "cookies/samesite/img.https.html?legacy-samesite", { "timeout": "long" } ] ], - "cookies/samesite/setcookie-lax.html": [ + "cookies/samesite/setcookie-lax.https.html": [ [ - "cookies/samesite/setcookie-lax.html", + "cookies/samesite/setcookie-lax.https.html", {} ], [ - "cookies/samesite/setcookie-lax.html?samesite-by-default-cookies.tentative", + "cookies/samesite/setcookie-lax.https.html?legacy-samesite", {} ] ], - "cookies/samesite/setcookie-navigation.html": [ + "cookies/samesite/setcookie-navigation.https.html": [ [ - "cookies/samesite/setcookie-navigation.html", + "cookies/samesite/setcookie-navigation.https.html", { "timeout": "long" } ], [ - "cookies/samesite/setcookie-navigation.html?samesite-by-default-cookies.tentative", + "cookies/samesite/setcookie-navigation.https.html?legacy-samesite", { "timeout": "long" } ] ], - "cookies/samesite/window-open-reload.html": [ + "cookies/samesite/window-open-reload.https.html": [ [ - "cookies/samesite/window-open-reload.html", + "cookies/samesite/window-open-reload.https.html", {} ], [ - "cookies/samesite/window-open-reload.html?samesite-by-default-cookies.tentative", + "cookies/samesite/window-open-reload.https.html?legacy-samesite", {} ] ], - "cookies/samesite/window-open.html": [ + "cookies/samesite/window-open.https.html": [ [ - "cookies/samesite/window-open.html", + "cookies/samesite/window-open.https.html", { "timeout": "long" } ], [ - "cookies/samesite/window-open.html?samesite-by-default-cookies.tentative", + "cookies/samesite/window-open.https.html?legacy-samesite", { "timeout": "long" } @@ -312504,6 +312549,12 @@ {} ] ], + "css/css-box/parsing/visibility-computed.html": [ + [ + "css/css-box/parsing/visibility-computed.html", + {} + ] + ], "css/css-box/parsing/visibility-invalid.html": [ [ "css/css-box/parsing/visibility-invalid.html", @@ -316902,6 +316953,24 @@ {} ] ], + "css/css-logical/parsing/inset-computed.html": [ + [ + "css/css-logical/parsing/inset-computed.html", + {} + ] + ], + "css/css-logical/parsing/inset-invalid.html": [ + [ + "css/css-logical/parsing/inset-invalid.html", + {} + ] + ], + "css/css-logical/parsing/inset-valid.html": [ + [ + "css/css-logical/parsing/inset-valid.html", + {} + ] + ], "css/css-logical/parsing/margin-block-inline-invalid.html": [ [ "css/css-logical/parsing/margin-block-inline-invalid.html", @@ -332219,6 +332288,12 @@ {} ] ], + "element-timing/first-letter-background.html": [ + [ + "element-timing/first-letter-background.html", + {} + ] + ], "element-timing/fixed-id-identifier.html": [ [ "element-timing/fixed-id-identifier.html", @@ -353649,6 +353724,24 @@ {} ] ], + "html/semantics/embedded-content/the-iframe-element/iframe_sandbox_navigate_history_go_back-2.html": [ + [ + "html/semantics/embedded-content/the-iframe-element/iframe_sandbox_navigate_history_go_back-2.html", + {} + ] + ], + "html/semantics/embedded-content/the-iframe-element/iframe_sandbox_navigate_history_go_back.html": [ + [ + "html/semantics/embedded-content/the-iframe-element/iframe_sandbox_navigate_history_go_back.html", + {} + ] + ], + "html/semantics/embedded-content/the-iframe-element/iframe_sandbox_navigate_history_go_forward.html": [ + [ + "html/semantics/embedded-content/the-iframe-element/iframe_sandbox_navigate_history_go_forward.html", + {} + ] + ], "html/semantics/embedded-content/the-iframe-element/iframe_sandbox_navigate_itself.html": [ [ "html/semantics/embedded-content/the-iframe-element/iframe_sandbox_navigate_itself.html", @@ -399352,6 +399445,156 @@ {} ] ], + "svg/animations/animVal-basics.html": [ + [ + "svg/animations/animVal-basics.html", + {} + ] + ], + "svg/animations/animate-marker-orient-from-angle-to-auto.html": [ + [ + "svg/animations/animate-marker-orient-from-angle-to-auto.html", + {} + ] + ], + "svg/animations/animate-marker-orient-from-auto-to-auto-start-reverse.html": [ + [ + "svg/animations/animate-marker-orient-from-auto-to-auto-start-reverse.html", + {} + ] + ], + "svg/animations/animate-marker-orient-to-angle.html": [ + [ + "svg/animations/animate-marker-orient-to-angle.html", + {} + ] + ], + "svg/animations/animate-number-calcMode-discrete-keyTimes.html": [ + [ + "svg/animations/animate-number-calcMode-discrete-keyTimes.html", + {} + ] + ], + "svg/animations/animate-number-calcMode-discrete.html": [ + [ + "svg/animations/animate-number-calcMode-discrete.html", + {} + ] + ], + "svg/animations/animate-path-animation-Cc-Ss.html": [ + [ + "svg/animations/animate-path-animation-Cc-Ss.html", + {} + ] + ], + "svg/animations/animate-path-animation-Ll-Vv-Hh.html": [ + [ + "svg/animations/animate-path-animation-Ll-Vv-Hh.html", + {} + ] + ], + "svg/animations/animate-path-animation-Mm-Aa-Z.html": [ + [ + "svg/animations/animate-path-animation-Mm-Aa-Z.html", + {} + ] + ], + "svg/animations/animate-path-animation-Qq-Tt.html": [ + [ + "svg/animations/animate-path-animation-Qq-Tt.html", + {} + ] + ], + "svg/animations/animate-path-animation-cC-sS-inverse.html": [ + [ + "svg/animations/animate-path-animation-cC-sS-inverse.html", + {} + ] + ], + "svg/animations/animate-path-animation-lL-vV-hH-inverse.html": [ + [ + "svg/animations/animate-path-animation-lL-vV-hH-inverse.html", + {} + ] + ], + "svg/animations/animate-path-animation-mM-aA-Z-inverse.html": [ + [ + "svg/animations/animate-path-animation-mM-aA-Z-inverse.html", + {} + ] + ], + "svg/animations/animate-path-animation-qQ-tT-inverse.html": [ + [ + "svg/animations/animate-path-animation-qQ-tT-inverse.html", + {} + ] + ], + "svg/animations/animate-path-to-animation.html": [ + [ + "svg/animations/animate-path-to-animation.html", + {} + ] + ], + "svg/animations/animateMotion-fill-freeze.html": [ + [ + "svg/animations/animateMotion-fill-freeze.html", + {} + ] + ], + "svg/animations/animateMotion-fill-remove.html": [ + [ + "svg/animations/animateMotion-fill-remove.html", + {} + ] + ], + "svg/animations/animateMotion-multiple.html": [ + [ + "svg/animations/animateMotion-multiple.html", + {} + ] + ], + "svg/animations/animateMotion-still.html": [ + [ + "svg/animations/animateMotion-still.html", + {} + ] + ], + "svg/animations/animateTransform-pattern-transform.html": [ + [ + "svg/animations/animateTransform-pattern-transform.html", + {} + ] + ], + "svg/animations/attributeTypes.html": [ + [ + "svg/animations/attributeTypes.html", + {} + ] + ], + "svg/animations/change-css-property-while-animating-fill-freeze.html": [ + [ + "svg/animations/change-css-property-while-animating-fill-freeze.html", + {} + ] + ], + "svg/animations/change-css-property-while-animating-fill-remove.html": [ + [ + "svg/animations/change-css-property-while-animating-fill-remove.html", + {} + ] + ], + "svg/animations/change-target-while-animating-SVG-property.html": [ + [ + "svg/animations/change-target-while-animating-SVG-property.html", + {} + ] + ], + "svg/animations/cyclic-syncbase.html": [ + [ + "svg/animations/cyclic-syncbase.html", + {} + ] + ], "svg/animations/discard-on-discard.html": [ [ "svg/animations/discard-on-discard.html", @@ -411752,6 +411995,12 @@ } ] ], + "websockets/cookies/third-party-cookie-accepted.https.html": [ + [ + "websockets/cookies/third-party-cookie-accepted.https.html", + {} + ] + ], "websockets/eventhandlers.any.js": [ [ "websockets/eventhandlers.any.html", @@ -414272,6 +414521,12 @@ {} ] ], + "webxr/xrSession_visibilityState.https.html": [ + [ + "webxr/xrSession_visibilityState.https.html", + {} + ] + ], "webxr/xrStationaryReferenceSpace_floorlevel_updates.https.html": [ [ "webxr/xrStationaryReferenceSpace_floorlevel_updates.https.html", @@ -439895,8 +440150,16 @@ "5c11e4e33a723cc9023fbc314c966294236c3ca4", "support" ], - ".github/main.workflow": [ - "20a0f33256d791dcb59a057b319fadd2b58bd663", + ".github/workflows/pull_request.yml": [ + "0bedfe3d42ceadc2ffd32d8c66b9c38c120ab9ca", + "support" + ], + ".github/workflows/push-build-publish-documentation-website.yml": [ + "de226d173fb300dd07e4ff5855b3fa2b7325434b", + "support" + ], + ".github/workflows/push-build-release-manifest.yml": [ + "6c97a2f7b9f952a41df100a9982e31617498347b", "support" ], ".gitignore": [ @@ -446116,7 +446379,7 @@ "support" ], "README.md": [ - "919676ee21356e5c6b0efb3c88957a7baa3289bb", + "3abdf15ca2bea2db47cb958f05f586e238a42ee0", "support" ], "WebCryptoAPI/META.yml": [ @@ -474384,7 +474647,7 @@ "testharness" ], "cookies/resources/cookie-helper.sub.js": [ - "f0ca5d6d245489f1bd01d9e917e922685dc0c51e", + "668d0afdba47f2e03257498cc391fc80277ad5f5", "support" ], "cookies/resources/drop.py": [ @@ -474440,7 +474703,7 @@ "support" ], "cookies/resources/setSameSite.py": [ - "fdf7e7193b4847a7f9af264bccf66fc1e2d28a04", + "c2045f7dce1de44d75b52909b1c5572a6cf3a99f", "support" ], "cookies/resources/setSameSiteNone.py": [ @@ -474459,36 +474722,36 @@ "18cf0516e64ec2c416b013b232d4247b5647b22c", "testharness" ], - "cookies/samesite/fetch.html": [ - "6f1d92a6f548b51a38c804a7d3d0da8e8f0c7132", + "cookies/samesite/fetch.https.html": [ + "4daf357004a71cea5b0e58a44bf8919d96ad7ce8", "testharness" ], - "cookies/samesite/form-get-blank-reload.html": [ - "5fa8ab975debf22b75abc8220685907690653159", + "cookies/samesite/form-get-blank-reload.https.html": [ + "026254549729cd4b5acc1f0c59833c55aa4e56e2", "testharness" ], - "cookies/samesite/form-get-blank.html": [ - "47fc9fa34f72544e131a376e7b0a1a6cc02c060d", + "cookies/samesite/form-get-blank.https.html": [ + "61af99967292abe8249f81d9fcd098c1f51273d7", "testharness" ], - "cookies/samesite/form-post-blank-reload.html": [ - "5098dfb4b03f5407faa36a95f4ffe9a5c351a264", + "cookies/samesite/form-post-blank-reload.https.html": [ + "69f720efc5bb129b08beaafeb9bdae2c00239cd2", "testharness" ], - "cookies/samesite/form-post-blank.html": [ - "75d6024c75cda60a0d8f7cd28e39e9e3cc3a86fa", + "cookies/samesite/form-post-blank.https.html": [ + "4ffd522b322e158baf7d1877aa5485dc010159b1", "testharness" ], - "cookies/samesite/iframe-reload.html": [ - "11d34bb9fcc179f6a745666d4f9d8677168bcdbf", + "cookies/samesite/iframe-reload.https.html": [ + "9bfbdfd64186848df1b7b7165b5799d54c7dc8f7", "testharness" ], - "cookies/samesite/iframe.html": [ - "4cce83081e6b571d5ecfeb03220baff0b9da4327", + "cookies/samesite/iframe.https.html": [ + "446b8c50c004a5c6599b73052ba870dac4aa70a9", "testharness" ], - "cookies/samesite/img.html": [ - "071c24fb30ef2666651bb9f00f2504db8a709090", + "cookies/samesite/img.https.html": [ + "bf76216e804a36a063308f691e6e48093ae3186f", "testharness" ], "cookies/samesite/resources/echo-cookies.html": [ @@ -474496,27 +474759,27 @@ "support" ], "cookies/samesite/resources/navigate.html": [ - "ef40642a5d467ff66c64792e16191e499c7d5c8c", + "7d0f87d49439088dc78883e85cfc5c6bcc291d4e", "support" ], "cookies/samesite/resources/puppet.html": [ - "9f4f8e2242c71f8e79ed3424dcbca0c76426b095", + "6d36132d3a89abea2f707e520e83a41590dac67a", "support" ], - "cookies/samesite/setcookie-lax.html": [ - "04b2ce264c846b5952c038d9db744c2a341563fa", + "cookies/samesite/setcookie-lax.https.html": [ + "0c09577373fd9c7ace1218577209d6d8dd9e1e09", "testharness" ], - "cookies/samesite/setcookie-navigation.html": [ - "3663aa28a209f2ff4221b5d89e055a6e09bfe1bf", + "cookies/samesite/setcookie-navigation.https.html": [ + "0c6140c403252771ec2a86ed53dad0d799c54635", "testharness" ], - "cookies/samesite/window-open-reload.html": [ - "d8bc112344cff5198b39c1e57986ba746f4e4d64", + "cookies/samesite/window-open-reload.https.html": [ + "9c30bd5ca6760c23803fcf951cd772d8a8b39a1d", "testharness" ], - "cookies/samesite/window-open.html": [ - "b7dc8361ec2f4d5b54ec1ba9a9e228a8e721c108", + "cookies/samesite/window-open.https.html": [ + "fe2318acc43d857e0a7890d77b95a80f5b060863", "testharness" ], "cookies/secure/set-from-dom.https.sub.html": [ @@ -539516,7 +539779,7 @@ "testharness" ], "css/css-box/inheritance.html": [ - "22443bf9a94e169a8fce1bd6cfeeead4a12b0ba3", + "d18106faf6926c229c6470a90a6f17355bc99474", "testharness" ], "css/css-box/parsing/clear-computed.html": [ @@ -539611,6 +539874,10 @@ "ba3c3a7fd4aabdf998fbc39bbd9aee429d9ac564", "testharness" ], + "css/css-box/parsing/visibility-computed.html": [ + "f6d4c3f8e55f879e132435e267f824d33bf8f8d8", + "testharness" + ], "css/css-box/parsing/visibility-invalid.html": [ "73e611b2b80bc8645fd057d8922663573daf6978", "testharness" @@ -560083,6 +560350,18 @@ "b08975251d841bda035d1490a32be0543b6d984e", "testharness" ], + "css/css-logical/parsing/inset-computed.html": [ + "8a08830bd4514d657ddcfbeafb1c6916d3612dc3", + "testharness" + ], + "css/css-logical/parsing/inset-invalid.html": [ + "604b801c76040a5058612fd19c75ee66107081ed", + "testharness" + ], + "css/css-logical/parsing/inset-valid.html": [ + "2d8f937f075b0d0fbde677e15266f47af5fec3f8", + "testharness" + ], "css/css-logical/parsing/margin-block-inline-invalid.html": [ "a1e0cbf3885b6518266eba0ef23d40f53a0c5c20", "testharness" @@ -586579,6 +586858,14 @@ "5c55ff9fbf6fd993aaf51114c175414a9ec8fe0b", "reftest" ], + "css/css-ui/appearance-textfield-001-ref.html": [ + "5304352e6bafd1d25436babfc2afc0ba1aa26fa3", + "support" + ], + "css/css-ui/appearance-textfield-001.html": [ + "f2ca6fc6ac752085ef9bbf3593b94097a8c47c81", + "reftest" + ], "css/css-ui/box-sizing-001.html": [ "545403f535d2f33993558bde9086e8798c04c11f", "reftest" @@ -589179,6 +589466,10 @@ "cf3a15f4db6c9745de687cb38f593132d5ddf2f8", "reftest" ], + "css/css-ui/webkit-appearance-textfield-001.html": [ + "058e1be83bbf924d949f6b9665e456dbb932d388", + "reftest" + ], "css/css-values/META.yml": [ "a22882a9996b14afa942d3403fa1a873f526073a", "support" @@ -612352,7 +612643,7 @@ "support" ], "docs/reviewing-tests/index.md": [ - "47deed0d6197ab5925b5f69b9fa028bd0f13cb12", + "2f6ee822fcc480e2c1e519c6d236ac58082f9e2e", "support" ], "docs/reviewing-tests/reverting.md": [ @@ -612392,7 +612683,7 @@ "support" ], "docs/test-suite-design.md": [ - "b0c1f1f7e15c58bf322ffa986643630bb7e0817a", + "adc6810f38f3fa5cea562e5c1f39c3da2e6c7aef", "support" ], "docs/writing-tests/ahem.md": [ @@ -612420,7 +612711,7 @@ "support" ], "docs/writing-tests/github-intro.md": [ - "95d9884a29091347e19349698534f1d8de86d7cc", + "44b6828ad3c83f1510c92ffab3d5b561e47469ce", "support" ], "docs/writing-tests/h2tests.md": [ @@ -612468,7 +612759,7 @@ "support" ], "docs/writing-tests/submission-process.md": [ - "dfc73ffadef64e7da6f69443566b8e737ffe4441", + "4ff99b8c16afbc2c8d083a9194f9281cff13577d", "support" ], "docs/writing-tests/test-templates.md": [ @@ -612484,7 +612775,7 @@ "support" ], "docs/writing-tests/testharness-api.md": [ - "329359caad6bb8f1764206d902f86380f1cc5780", + "3c1e80dc83b1c616f362d92b9cbd7a52ab58141d", "support" ], "docs/writing-tests/testharness.md": [ @@ -614915,6 +615206,10 @@ "5608685a34219d831dd6c57743e829967d3ed247", "testharness" ], + "element-timing/first-letter-background.html": [ + "51e82d473e160ec3e6e133e0fcf67e8a371079a1", + "testharness" + ], "element-timing/fixed-id-identifier.html": [ "00d6d4dd94c466939dbbabb93bbe5ef9f29b86e1", "testharness" @@ -633935,6 +634230,18 @@ "0934adfa82ac83ae4c7bed1fd490ab7f3c290230", "testharness" ], + "html/semantics/embedded-content/the-iframe-element/iframe_sandbox_navigate_history_go_back-2.html": [ + "7a94f1ce4a867ce98ddb2429b87d12c18c98d31a", + "testharness" + ], + "html/semantics/embedded-content/the-iframe-element/iframe_sandbox_navigate_history_go_back.html": [ + "7026edf8f92b680105abd850a453bd9b24a526ac", + "testharness" + ], + "html/semantics/embedded-content/the-iframe-element/iframe_sandbox_navigate_history_go_forward.html": [ + "e9d1def099e3a37a61dcbf45f829fc6843fd6852", + "testharness" + ], "html/semantics/embedded-content/the-iframe-element/iframe_sandbox_navigate_itself.html": [ "12c4e0ca50236caacae89c76da3b81effd7b44be", "testharness" @@ -634183,6 +634490,10 @@ "4b8930de42ff5455a17185afc9d7923025a066a7", "support" ], + "html/semantics/embedded-content/the-iframe-element/support/iframe-tried-to-be-navigated-by-history.html": [ + "c4ba8011f9d288b488dcbd97d8499bcd0d37c152", + "support" + ], "html/semantics/embedded-content/the-iframe-element/support/iframe-tried-to-be-navigated-by-its-child.html": [ "50edc878adbbc362fb1a02e2a5facbfd1522259a", "support" @@ -642044,7 +642355,7 @@ "support" ], "interfaces/dom.idl": [ - "9da68c4b7f82c5fc1cea6076884cfd00c4e36e6c", + "285e5f00b87e4033374024f705ccc78cd56364c7", "support" ], "interfaces/element-timing.idl": [ @@ -642072,7 +642383,7 @@ "support" ], "interfaces/fetch.idl": [ - "5f876e7a4ac439828ac54d11d71554beca40ef6e", + "f529c4501bf484f57858ab2eb616a9d42aea766f", "support" ], "interfaces/filter-effects.idl": [ @@ -642100,7 +642411,7 @@ "support" ], "interfaces/geolocation-sensor.idl": [ - "074d7bb9731524b5fd79f689fe748b4b2a135336", + "0083cdac19828f31de79d140d50e60d330417661", "support" ], "interfaces/geometry.idl": [ @@ -642120,7 +642431,7 @@ "support" ], "interfaces/html.idl": [ - "47abcda810a1f94f5704623db63fdec9805cc9c9", + "6dfb39215d0fec30d56027b16cc1c5b620eba0bc", "support" ], "interfaces/image-capture.idl": [ @@ -642156,7 +642467,7 @@ "support" ], "interfaces/magnetometer.idl": [ - "fd29af847679dcca3c4d2d3eedf56d1cf9af89ff", + "be6cbc9d47a8da6a16613c8d88bbc824e7372de3", "support" ], "interfaces/media-capabilities.idl": [ @@ -642184,7 +642495,7 @@ "support" ], "interfaces/mediasession.idl": [ - "5466300b6b48829493518fd4dd9f995509d7d337", + "237cea53adf296d8e626e6828847df80c8cda41a", "support" ], "interfaces/mediastream-recording.idl": [ @@ -642204,7 +642515,7 @@ "support" ], "interfaces/notifications.idl": [ - "459d96bd30fc8f3386be43660540eaedfea61a6f", + "1a55c31bb04c0ab11946a90f374fdf07e268ad05", "support" ], "interfaces/orientation-event.idl": [ @@ -642212,7 +642523,7 @@ "support" ], "interfaces/orientation-sensor.idl": [ - "a9aec968e0a072df3bf1eb1452045958f693bc96", + "9ee099881b0a59ca69da02e9aa3d1886e4bc05bc", "support" ], "interfaces/page-visibility.idl": [ @@ -642320,7 +642631,7 @@ "support" ], "interfaces/service-workers.idl": [ - "8e37060a180328d937d26623aaa030ad434eacc6", + "0feabd389cf556a6ff6d3978fd23e2e288624054", "support" ], "interfaces/shape-detection-api.idl": [ @@ -642352,7 +642663,7 @@ "support" ], "interfaces/user-timing.idl": [ - "8b0f813ba8e6efc34b979ac7323afcbcac41e72b", + "20fb2db9caac7ae112144f76e232da4836aa0e94", "support" ], "interfaces/vibration.idl": [ @@ -667147,6 +667458,10 @@ "ef8f91bc61fac62f311e55cbd5c4d184af0c64ad", "support" ], + "resources/test/tests/unit/format-value.html": [ + "13d01b81f351801e4d7dbb2d03ca68d1b594bff2", + "support" + ], "resources/test/tests/unit/late-test.html": [ "693d7e3c818ed7fbc5503d09c91b9da7f7139bac", "support" @@ -672835,6 +673150,106 @@ "ee86b537ae987483687cc8ba6181db82f99ab162", "support" ], + "svg/animations/animVal-basics.html": [ + "7eb968af01e0b23fa270a71f8788415ea3eed049", + "testharness" + ], + "svg/animations/animate-marker-orient-from-angle-to-auto.html": [ + "40fc57b4f3c9bdc2c9a68e59c1d15495cc445124", + "testharness" + ], + "svg/animations/animate-marker-orient-from-auto-to-auto-start-reverse.html": [ + "fedfe4a8c2818a335fe26ff5a7e6cce52abef02a", + "testharness" + ], + "svg/animations/animate-marker-orient-to-angle.html": [ + "6b4ba2bfef2fd6bbd15d05b47a97f8b2d4adf5c2", + "testharness" + ], + "svg/animations/animate-number-calcMode-discrete-keyTimes.html": [ + "0e80e03f887ba2de095e8f65bd6e952767350248", + "testharness" + ], + "svg/animations/animate-number-calcMode-discrete.html": [ + "11563233b4f228325efb15ce9f9ba8d9ef71eece", + "testharness" + ], + "svg/animations/animate-path-animation-Cc-Ss.html": [ + "63c450a6c70cacae1688a5bf4862190c178eb770", + "testharness" + ], + "svg/animations/animate-path-animation-Ll-Vv-Hh.html": [ + "4f6d85421a64863c604de1b43d0f638cc0c29fcc", + "testharness" + ], + "svg/animations/animate-path-animation-Mm-Aa-Z.html": [ + "777ca30137576f04fa300a35896b2e325bff0d80", + "testharness" + ], + "svg/animations/animate-path-animation-Qq-Tt.html": [ + "d964303fa2ded2efcece490376c08063b255b7f2", + "testharness" + ], + "svg/animations/animate-path-animation-cC-sS-inverse.html": [ + "709372706d87679c36d717ad48d27c9f01c4e43e", + "testharness" + ], + "svg/animations/animate-path-animation-lL-vV-hH-inverse.html": [ + "a5c6e88a1b9154822678c7c5c2aeb1d48445dbcd", + "testharness" + ], + "svg/animations/animate-path-animation-mM-aA-Z-inverse.html": [ + "3e7e6e3199a19f5c30cff0a11d42e1457e087146", + "testharness" + ], + "svg/animations/animate-path-animation-qQ-tT-inverse.html": [ + "85b98d4d5fee9dd03f71194e72479c9b43cf4a8d", + "testharness" + ], + "svg/animations/animate-path-to-animation.html": [ + "769113ce4907aeee04146014927aec1a8c385784", + "testharness" + ], + "svg/animations/animateMotion-fill-freeze.html": [ + "4e768efb0046972fdb62f9af6545134d97a9495c", + "testharness" + ], + "svg/animations/animateMotion-fill-remove.html": [ + "aeb74b4b0f22f14dca63e0c82a08da28bc88d1b8", + "testharness" + ], + "svg/animations/animateMotion-multiple.html": [ + "494d75a78550b40b7618f951b3cb81ec8c92fe55", + "testharness" + ], + "svg/animations/animateMotion-still.html": [ + "bf9007ac2f38fe9dbe85a9f56de28358ecb82b91", + "testharness" + ], + "svg/animations/animateTransform-pattern-transform.html": [ + "614444bf71c63bdef13226a3c8208625ec364517", + "testharness" + ], + "svg/animations/attributeTypes.html": [ + "7a9ad43dd98e00f7e2af4957365441a29aedf8e6", + "testharness" + ], + "svg/animations/change-css-property-while-animating-fill-freeze.html": [ + "6774c3475a681f9fc91e8280ded739e9e65f4606", + "testharness" + ], + "svg/animations/change-css-property-while-animating-fill-remove.html": [ + "a4e8a3ac40724c46fbf69b4038a279318a9067f6", + "testharness" + ], + "svg/animations/change-target-while-animating-SVG-property.html": [ + "68aa63a39d3acf927de8f2fae47c7b2ceac9e4a9", + "testharness" + ], + "svg/animations/cyclic-syncbase.html": [ + "c0351156e310a8a6f0fca3ebee506b80983a53bb", + "testharness" + ], "svg/animations/discard-on-discard.html": [ "4a6b9f9368dcb020120f502e4528860beb5f14c6", "testharness" @@ -685804,7 +686219,7 @@ "testharness" ], "web-animations/animation-model/combining-effects/effect-composition.html": [ - "78f46c9e4684b4d7a7144ca071451069101c8a55", + "02c2fe1b3b8c8b13158ab942f0d15143a6571a58", "testharness" ], "web-animations/animation-model/keyframe-effects/computed-keyframes-shorthands.html": [ @@ -690139,6 +690554,14 @@ "8a47d7cdd8ea0542d68f1cf5a2a76e609efb5727", "support" ], + "websockets/cookies/support/websocket-cookies-helper.sub.js": [ + "a7fae2551e48a5d1ec35274e5e3c3a29632f7cfb", + "support" + ], + "websockets/cookies/third-party-cookie-accepted.https.html": [ + "208d297016fffca84a22d8b8b06b3c6dc64f088d", + "testharness" + ], "websockets/eventhandlers.any.js": [ "b30b0b693f49a8bfecfa52db1c32c45b8fc25fed", "testharness" @@ -690227,6 +690650,10 @@ "3cec1c041cf11ebfa72503d93ecd557d12459526", "support" ], + "websockets/handlers/set-cookies-samesite_wsh.py": [ + "6f4a1b46c2cc7c9c05f73431c5e0b2513be690b2", + "support" + ], "websockets/handlers/simple_handshake_wsh.py": [ "a1aa2498a88f336c4f4b319c3f755013c81e60de", "support" @@ -694100,7 +694527,7 @@ "support" ], "webxr/events_input_source_recreation.https.html": [ - "ab78d9d8fda41b821e26976351a2a77a123b524b", + "ecb4b022bf09410cae44b4f5a3c71bc5c054181e", "testharness" ], "webxr/events_input_sources_change.https.html": [ @@ -694327,6 +694754,10 @@ "fd6082bc3468f094953152d220fceafa083baf76", "testharness" ], + "webxr/xrSession_visibilityState.https.html": [ + "ebad10095e665cceee34d28004ebf25e06687eeb", + "testharness" + ], "webxr/xrStationaryReferenceSpace_floorlevel_updates.https.html": [ "aa3c1b85c5d8ef550b9a835d384c67f602e290e9", "testharness" 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 40dc50bd5e74..5d20389c8e9f 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,9 +56,3 @@ [background-position length(px) / events] expected: FAIL - [font-size length(em) / values] - expected: FAIL - - [font-size length(em) / events] - expected: FAIL - diff --git a/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini b/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini index 2178309df751..8850ec200da2 100644 --- a/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini +++ b/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini @@ -71,3 +71,6 @@ [text-indent intermediate] expected: FAIL + [opacity end] + 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 new file mode 100644 index 000000000000..e6e1f29e2743 --- /dev/null +++ b/tests/wpt/metadata/css/cssom-view/matchMedia-display-none-iframe.html.ini @@ -0,0 +1,2 @@ +[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 c5e7dd9675dd..032451b7dfa7 100644 --- a/tests/wpt/metadata/fetch/content-type/response.window.js.ini +++ b/tests/wpt/metadata/fetch/content-type/response.window.js.ini @@ -312,3 +312,21 @@ [ diff --git a/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_navigate_history_go_back.html b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_navigate_history_go_back.html new file mode 100644 index 000000000000..7026edf8f92b --- /dev/null +++ b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_navigate_history_go_back.html @@ -0,0 +1,18 @@ + + +Check that sandboxed iframe can not navigate their ancestors + + + + diff --git a/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_navigate_history_go_forward.html b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_navigate_history_go_forward.html new file mode 100644 index 000000000000..e9d1def099e3 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_navigate_history_go_forward.html @@ -0,0 +1,28 @@ + + +Check that sandboxed iframe can not navigate their ancestors + + + + diff --git a/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/support/iframe-tried-to-be-navigated-by-history.html b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/support/iframe-tried-to-be-navigated-by-history.html new file mode 100644 index 000000000000..c4ba8011f9d2 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/support/iframe-tried-to-be-navigated-by-history.html @@ -0,0 +1,18 @@ + +

This is a frame that tries to navigate via history API.

+ diff --git a/tests/wpt/web-platform-tests/interfaces/dom.idl b/tests/wpt/web-platform-tests/interfaces/dom.idl index 9da68c4b7f82..285e5f00b87e 100644 --- a/tests/wpt/web-platform-tests/interfaces/dom.idl +++ b/tests/wpt/web-platform-tests/interfaces/dom.idl @@ -359,7 +359,7 @@ interface Element : Node { [CEReactions] Attr? setAttributeNodeNS(Attr attr); [CEReactions] Attr removeAttributeNode(Attr attr); - ShadowRoot attachShadow(optional ShadowRootInit init = {}); + ShadowRoot attachShadow(ShadowRootInit init); readonly attribute ShadowRoot? shadowRoot; Element? closest(DOMString selectors); diff --git a/tests/wpt/web-platform-tests/interfaces/fetch.idl b/tests/wpt/web-platform-tests/interfaces/fetch.idl index 5f876e7a4ac4..f529c4501bf4 100644 --- a/tests/wpt/web-platform-tests/interfaces/fetch.idl +++ b/tests/wpt/web-platform-tests/interfaces/fetch.idl @@ -27,7 +27,7 @@ interface mixin Body { }; typedef (Request or USVString) RequestInfo; -[Constructor(RequestInfo input, optional RequestInit init), +[Constructor(RequestInfo input, optional RequestInit init = {}), Exposed=(Window,Worker)] interface Request { readonly attribute ByteString method; @@ -72,7 +72,7 @@ enum RequestMode { "navigate", "same-origin", "no-cors", "cors" }; enum RequestCredentials { "omit", "same-origin", "include" }; enum RequestCache { "default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached" }; enum RequestRedirect { "follow", "error", "manual" }; -[Constructor(optional BodyInit? body = null, optional ResponseInit init), Exposed=(Window,Worker)] +[Constructor(optional BodyInit? body = null, optional ResponseInit init = {}), Exposed=(Window,Worker)] interface Response { [NewObject] static Response error(); [NewObject] static Response redirect(USVString url, optional unsigned short status = 302); diff --git a/tests/wpt/web-platform-tests/interfaces/geolocation-sensor.idl b/tests/wpt/web-platform-tests/interfaces/geolocation-sensor.idl index 074d7bb97315..0083cdac1982 100644 --- a/tests/wpt/web-platform-tests/interfaces/geolocation-sensor.idl +++ b/tests/wpt/web-platform-tests/interfaces/geolocation-sensor.idl @@ -3,11 +3,11 @@ // (https://github.com/tidoust/reffy-reports) // Source: Geolocation Sensor (https://wicg.github.io/geolocation-sensor/) -[Constructor(optional GeolocationSensorOptions options), +[Constructor(optional GeolocationSensorOptions options = {}), SecureContext, Exposed=(DedicatedWorker, Window)] interface GeolocationSensor : Sensor { - static Promise read(optional ReadOptions readOptions); + static Promise read(optional ReadOptions readOptions = {}); readonly attribute unrestricted double? latitude; readonly attribute unrestricted double? longitude; readonly attribute unrestricted double? altitude; diff --git a/tests/wpt/web-platform-tests/interfaces/html.idl b/tests/wpt/web-platform-tests/interfaces/html.idl index 47abcda810a1..6dfb39215d0f 100644 --- a/tests/wpt/web-platform-tests/interfaces/html.idl +++ b/tests/wpt/web-platform-tests/interfaces/html.idl @@ -134,7 +134,7 @@ interface mixin HTMLOrSVGElement { attribute DOMString nonce; // intentionally no [CEReactions] [CEReactions] attribute long tabIndex; - void focus(optional FocusOptions options); + void focus(optional FocusOptions options = {}); void blur(); }; @@ -666,7 +666,7 @@ interface TimeRanges { }; [Exposed=Window, - Constructor(DOMString type, optional TrackEventInit eventInitDict)] + Constructor(DOMString type, optional TrackEventInit eventInitDict = {})] interface TrackEvent : Event { readonly attribute (VideoTrack or AudioTrack or TextTrack)? track; }; @@ -1098,7 +1098,7 @@ interface ValidityState { }; [Exposed=Window, - Constructor(DOMString type, optional FormDataEventInit eventInitDict)] + Constructor(DOMString type, optional FormDataEventInit eventInitDict = {})] interface FormDataEvent : Event { readonly attribute FormData formData; }; @@ -1149,8 +1149,8 @@ interface HTMLTemplateElement : HTMLElement { HTMLConstructor] interface HTMLSlotElement : HTMLElement { [CEReactions] attribute DOMString name; - sequence assignedNodes(optional AssignedNodesOptions options); - sequence assignedElements(optional AssignedNodesOptions options); + sequence assignedNodes(optional AssignedNodesOptions options = {}); + sequence assignedElements(optional AssignedNodesOptions options = {}); }; dictionary AssignedNodesOptions { @@ -1231,7 +1231,7 @@ interface mixin CanvasTransform { [NewObject] DOMMatrix getTransform(); void setTransform(unrestricted double a, unrestricted double b, unrestricted double c, unrestricted double d, unrestricted double e, unrestricted double f); - void setTransform(optional DOMMatrix2DInit transform); + void setTransform(optional DOMMatrix2DInit transform = {}); void resetTransform(); }; @@ -1373,7 +1373,7 @@ interface CanvasGradient { [Exposed=(Window,Worker)] interface CanvasPattern { // opaque object - void setTransform(optional DOMMatrix2DInit transform); + void setTransform(optional DOMMatrix2DInit transform = {}); }; [Exposed=(Window,Worker)] @@ -1408,7 +1408,7 @@ interface ImageData { [Constructor(optional (Path2D or DOMString) path), Exposed=(Window,Worker)] interface Path2D { - void addPath(Path2D path, optional DOMMatrix2DInit transform); + void addPath(Path2D path, optional DOMMatrix2DInit transform = {}); }; Path2D includes CanvasPath; @@ -1438,7 +1438,7 @@ interface OffscreenCanvas : EventTarget { OffscreenRenderingContext? getContext(OffscreenRenderingContextId contextId, optional any options = null); ImageBitmap transferToImageBitmap(); - Promise convertToBlob(optional ImageEncodeOptions options); + Promise convertToBlob(optional ImageEncodeOptions options = {}); }; [Exposed=(Window,Worker)] @@ -1465,7 +1465,7 @@ OffscreenCanvasRenderingContext2D includes CanvasPath; [Exposed=Window] interface CustomElementRegistry { - [CEReactions] void define(DOMString name, CustomElementConstructor constructor, optional ElementDefinitionOptions options); + [CEReactions] void define(DOMString name, CustomElementConstructor constructor, optional ElementDefinitionOptions options = {}); any get(DOMString name); Promise whenDefined(DOMString name); [CEReactions] void upgrade(Node root); @@ -1561,7 +1561,7 @@ interface DataTransferItem { callback FunctionStringCallback = void (DOMString data); [Exposed=Window, - Constructor(DOMString type, optional DragEventInit eventInitDict)] + Constructor(DOMString type, optional DragEventInit eventInitDict = {})] interface DragEvent : MouseEvent { readonly attribute DataTransfer? dataTransfer; }; @@ -1620,7 +1620,7 @@ interface Window : EventTarget { void print(); void postMessage(any message, USVString targetOrigin, optional sequence transfer = []); - void postMessage(any message, optional WindowPostMessageOptions options); + void postMessage(any message, optional WindowPostMessageOptions options = {}); }; Window includes GlobalEventHandlers; Window includes WindowEventHandlers; @@ -1668,7 +1668,7 @@ interface Location { // but see also additional creation steps and overridden in }; [Exposed=Window, - Constructor(DOMString type, optional PopStateEventInit eventInitDict)] + Constructor(DOMString type, optional PopStateEventInit eventInitDict = {})] interface PopStateEvent : Event { readonly attribute any state; }; @@ -1678,7 +1678,7 @@ dictionary PopStateEventInit : EventInit { }; [Exposed=Window, - Constructor(DOMString type, optional HashChangeEventInit eventInitDict)] + Constructor(DOMString type, optional HashChangeEventInit eventInitDict = {})] interface HashChangeEvent : Event { readonly attribute USVString oldURL; readonly attribute USVString newURL; @@ -1690,7 +1690,7 @@ dictionary HashChangeEventInit : EventInit { }; [Exposed=Window, - Constructor(DOMString type, optional PageTransitionEventInit eventInitDict)] + Constructor(DOMString type, optional PageTransitionEventInit eventInitDict = {})] interface PageTransitionEvent : Event { readonly attribute boolean persisted; }; @@ -1737,7 +1737,8 @@ interface mixin NavigatorOnLine { readonly attribute boolean onLine; }; -[Constructor(DOMString type, optional ErrorEventInit eventInitDict), Exposed=(Window,Worker)] +[Constructor(DOMString type, optional ErrorEventInit eventInitDict = {}), + Exposed=(Window,Worker)] interface ErrorEvent : Event { readonly attribute DOMString message; readonly attribute USVString filename; @@ -1887,8 +1888,8 @@ interface mixin WindowOrWorkerGlobalScope { void queueMicrotask(VoidFunction callback); // ImageBitmap - Promise createImageBitmap(ImageBitmapSource image, optional ImageBitmapOptions options); - Promise createImageBitmap(ImageBitmapSource image, long sx, long sy, long sw, long sh, optional ImageBitmapOptions options); + Promise createImageBitmap(ImageBitmapSource image, optional ImageBitmapOptions options = {}); + Promise createImageBitmap(ImageBitmapSource image, long sx, long sy, long sw, long sh, optional ImageBitmapOptions options = {}); }; Window includes WindowOrWorkerGlobalScope; WorkerGlobalScope includes WindowOrWorkerGlobalScope; @@ -2012,7 +2013,8 @@ interface mixin AnimationFrameProvider { Window includes AnimationFrameProvider; DedicatedWorkerGlobalScope includes AnimationFrameProvider; -[Constructor(DOMString type, optional MessageEventInit eventInitDict), Exposed=(Window,Worker,AudioWorklet)] +[Constructor(DOMString type, optional MessageEventInit eventInitDict = {}), + Exposed=(Window,Worker,AudioWorklet)] interface MessageEvent : Event { readonly attribute any data; readonly attribute USVString origin; @@ -2033,7 +2035,7 @@ dictionary MessageEventInit : EventInit { typedef (WindowProxy or MessagePort or ServiceWorker) MessageEventSource; -[Constructor(USVString url, optional EventSourceInit eventSourceInitDict), Exposed=(Window,Worker)] +[Constructor(USVString url, optional EventSourceInit eventSourceInitDict = {}), Exposed=(Window,Worker)] interface EventSource : EventTarget { readonly attribute USVString url; readonly attribute boolean withCredentials; @@ -2085,7 +2087,8 @@ interface WebSocket : EventTarget { void send(ArrayBufferView data); }; -[Constructor(DOMString type, optional CloseEventInit eventInitDict), Exposed=(Window,Worker)] +[Constructor(DOMString type, optional CloseEventInit eventInitDict = {}), + Exposed=(Window,Worker)] interface CloseEvent : Event { readonly attribute boolean wasClean; readonly attribute unsigned short code; @@ -2107,7 +2110,7 @@ interface MessageChannel { [Exposed=(Window,Worker,AudioWorklet), Transferable] interface MessagePort : EventTarget { void postMessage(any message, sequence transfer); - void postMessage(any message, optional PostMessageOptions options); + void postMessage(any message, optional PostMessageOptions options = {}); void start(); void close(); @@ -2149,7 +2152,7 @@ interface DedicatedWorkerGlobalScope : WorkerGlobalScope { [Replaceable] readonly attribute DOMString name; void postMessage(any message, sequence transfer); - void postMessage(any message, optional PostMessageOptions options); + void postMessage(any message, optional PostMessageOptions options = {}); void close(); @@ -2170,12 +2173,13 @@ interface mixin AbstractWorker { attribute EventHandler onerror; }; -[Constructor(USVString scriptURL, optional WorkerOptions options), Exposed=(Window,Worker)] +[Constructor(USVString scriptURL, optional WorkerOptions options = {}), + Exposed=(Window,Worker)] interface Worker : EventTarget { void terminate(); void postMessage(any message, sequence transfer); - void postMessage(any message, optional PostMessageOptions options); + void postMessage(any message, optional PostMessageOptions options = {}); attribute EventHandler onmessage; attribute EventHandler onmessageerror; }; @@ -2190,7 +2194,7 @@ enum WorkerType { "classic", "module" }; Worker includes AbstractWorker; -[Constructor(USVString scriptURL, optional (DOMString or WorkerOptions) options), +[Constructor(USVString scriptURL, optional (DOMString or WorkerOptions) options = {}), Exposed=(Window,Worker)] interface SharedWorker : EventTarget { readonly attribute MessagePort port; @@ -2242,7 +2246,7 @@ interface mixin WindowLocalStorage { Window includes WindowLocalStorage; [Exposed=Window, - Constructor(DOMString type, optional StorageEventInit eventInitDict)] + Constructor(DOMString type, optional StorageEventInit eventInitDict = {})] interface StorageEvent : Event { readonly attribute DOMString? key; readonly attribute DOMString? oldValue; diff --git a/tests/wpt/web-platform-tests/interfaces/magnetometer.idl b/tests/wpt/web-platform-tests/interfaces/magnetometer.idl index fd29af847679..be6cbc9d47a8 100644 --- a/tests/wpt/web-platform-tests/interfaces/magnetometer.idl +++ b/tests/wpt/web-platform-tests/interfaces/magnetometer.idl @@ -3,7 +3,7 @@ // (https://github.com/tidoust/reffy-reports) // Source: Magnetometer (https://w3c.github.io/magnetometer/) -[Constructor(optional MagnetometerSensorOptions sensorOptions), SecureContext, +[Constructor(optional MagnetometerSensorOptions sensorOptions = {}), SecureContext, Exposed=Window] interface Magnetometer : Sensor { readonly attribute double? x; @@ -17,7 +17,7 @@ dictionary MagnetometerSensorOptions : SensorOptions { MagnetometerLocalCoordinateSystem referenceFrame = "device"; }; -[Constructor(optional MagnetometerSensorOptions sensorOptions), SecureContext, +[Constructor(optional MagnetometerSensorOptions sensorOptions = {}), SecureContext, Exposed=Window] interface UncalibratedMagnetometer : Sensor { readonly attribute double? x; diff --git a/tests/wpt/web-platform-tests/interfaces/mediasession.idl b/tests/wpt/web-platform-tests/interfaces/mediasession.idl index 5466300b6b48..237cea53adf2 100644 --- a/tests/wpt/web-platform-tests/interfaces/mediasession.idl +++ b/tests/wpt/web-platform-tests/interfaces/mediasession.idl @@ -36,7 +36,7 @@ interface MediaSession { void setActionHandler(MediaSessionAction action, MediaSessionActionHandler? handler); - void setPositionState(MediaPositionState? state); + void setPositionState(optional MediaPositionState? state); }; [Constructor(optional MediaMetadataInit init), Exposed=Window] @@ -61,9 +61,9 @@ dictionary MediaImage { }; dictionary MediaPositionState { - required double duration; - double playbackRate = 1.0; - double position = 0.0; + double duration; + double playbackRate; + double position; }; dictionary MediaSessionActionDetails { diff --git a/tests/wpt/web-platform-tests/interfaces/notifications.idl b/tests/wpt/web-platform-tests/interfaces/notifications.idl index 459d96bd30fc..1a55c31bb04c 100644 --- a/tests/wpt/web-platform-tests/interfaces/notifications.idl +++ b/tests/wpt/web-platform-tests/interfaces/notifications.idl @@ -3,7 +3,7 @@ // (https://github.com/tidoust/reffy-reports) // Source: Notifications API Standard (https://notifications.spec.whatwg.org/) -[Constructor(DOMString title, optional NotificationOptions options), +[Constructor(DOMString title, optional NotificationOptions options = {}), Exposed=(Window,Worker)] interface Notification : EventTarget { static readonly attribute NotificationPermission permission; @@ -77,8 +77,8 @@ dictionary GetNotificationOptions { }; partial interface ServiceWorkerRegistration { - Promise showNotification(DOMString title, optional NotificationOptions options); - Promise> getNotifications(optional GetNotificationOptions filter); + Promise showNotification(DOMString title, optional NotificationOptions options = {}); + Promise> getNotifications(optional GetNotificationOptions filter = {}); }; [Constructor(DOMString type, NotificationEventInit eventInitDict), diff --git a/tests/wpt/web-platform-tests/interfaces/orientation-sensor.idl b/tests/wpt/web-platform-tests/interfaces/orientation-sensor.idl index a9aec968e0a0..9ee099881b0a 100644 --- a/tests/wpt/web-platform-tests/interfaces/orientation-sensor.idl +++ b/tests/wpt/web-platform-tests/interfaces/orientation-sensor.idl @@ -17,11 +17,11 @@ dictionary OrientationSensorOptions : SensorOptions { OrientationSensorLocalCoordinateSystem referenceFrame = "device"; }; -[Constructor(optional OrientationSensorOptions sensorOptions), SecureContext, Exposed=Window] +[Constructor(optional OrientationSensorOptions sensorOptions = {}), SecureContext, Exposed=Window] interface AbsoluteOrientationSensor : OrientationSensor { }; -[Constructor(optional OrientationSensorOptions sensorOptions), SecureContext, Exposed=Window] +[Constructor(optional OrientationSensorOptions sensorOptions = {}), SecureContext, Exposed=Window] interface RelativeOrientationSensor : OrientationSensor { }; diff --git a/tests/wpt/web-platform-tests/interfaces/service-workers.idl b/tests/wpt/web-platform-tests/interfaces/service-workers.idl index 8e37060a1803..0feabd389cf5 100644 --- a/tests/wpt/web-platform-tests/interfaces/service-workers.idl +++ b/tests/wpt/web-platform-tests/interfaces/service-workers.idl @@ -8,7 +8,7 @@ interface ServiceWorker : EventTarget { readonly attribute USVString scriptURL; readonly attribute ServiceWorkerState state; void postMessage(any message, sequence transfer); - void postMessage(any message, optional PostMessageOptions options); + void postMessage(any message, optional PostMessageOptions options = {}); // event attribute EventHandler onstatechange; @@ -60,7 +60,7 @@ interface ServiceWorkerContainer : EventTarget { readonly attribute ServiceWorker? controller; readonly attribute Promise ready; - [NewObject] Promise register(USVString scriptURL, optional RegistrationOptions options); + [NewObject] Promise register(USVString scriptURL, optional RegistrationOptions options = {}); [NewObject] Promise getRegistration(optional USVString clientURL = ""); [NewObject] Promise> getRegistrations(); @@ -115,7 +115,7 @@ interface Client { readonly attribute DOMString id; readonly attribute ClientType type; void postMessage(any message, sequence transfer); - void postMessage(any message, optional PostMessageOptions options); + void postMessage(any message, optional PostMessageOptions options = {}); }; [Exposed=ServiceWorker] @@ -138,7 +138,7 @@ enum FrameType { interface Clients { // The objects returned will be new instances every time [NewObject] Promise get(DOMString id); - [NewObject] Promise> matchAll(optional ClientQueryOptions options); + [NewObject] Promise> matchAll(optional ClientQueryOptions options = {}); [NewObject] Promise openWindow(USVString url); [NewObject] Promise claim(); }; @@ -155,7 +155,7 @@ enum ClientType { "all" }; -[Constructor(DOMString type, optional ExtendableEventInit eventInitDict), Exposed=ServiceWorker] +[Constructor(DOMString type, optional ExtendableEventInit eventInitDict = {}), Exposed=ServiceWorker] interface ExtendableEvent : Event { void waitUntil(Promise f); }; @@ -183,7 +183,7 @@ dictionary FetchEventInit : ExtendableEventInit { DOMString replacesClientId = ""; }; -[Constructor(DOMString type, optional ExtendableMessageEventInit eventInitDict), Exposed=ServiceWorker] +[Constructor(DOMString type, optional ExtendableMessageEventInit eventInitDict = {}), Exposed=ServiceWorker] interface ExtendableMessageEvent : ExtendableEvent { readonly attribute any data; readonly attribute USVString origin; @@ -206,13 +206,13 @@ partial interface mixin WindowOrWorkerGlobalScope { [SecureContext, Exposed=(Window,Worker)] interface Cache { - [NewObject] Promise match(RequestInfo request, optional CacheQueryOptions options); - [NewObject] Promise> matchAll(optional RequestInfo request, optional CacheQueryOptions options); + [NewObject] Promise match(RequestInfo request, optional CacheQueryOptions options = {}); + [NewObject] Promise> matchAll(optional RequestInfo request, optional CacheQueryOptions options = {}); [NewObject] Promise add(RequestInfo request); [NewObject] Promise addAll(sequence requests); [NewObject] Promise put(RequestInfo request, Response response); - [NewObject] Promise delete(RequestInfo request, optional CacheQueryOptions options); - [NewObject] Promise> keys(optional RequestInfo request, optional CacheQueryOptions options); + [NewObject] Promise delete(RequestInfo request, optional CacheQueryOptions options = {}); + [NewObject] Promise> keys(optional RequestInfo request, optional CacheQueryOptions options = {}); }; dictionary CacheQueryOptions { @@ -223,7 +223,7 @@ dictionary CacheQueryOptions { [SecureContext, Exposed=(Window,Worker)] interface CacheStorage { - [NewObject] Promise match(RequestInfo request, optional MultiCacheQueryOptions options); + [NewObject] Promise match(RequestInfo request, optional MultiCacheQueryOptions options = {}); [NewObject] Promise has(DOMString cacheName); [NewObject] Promise open(DOMString cacheName); [NewObject] Promise delete(DOMString cacheName); diff --git a/tests/wpt/web-platform-tests/interfaces/user-timing.idl b/tests/wpt/web-platform-tests/interfaces/user-timing.idl index 8b0f813ba8e6..20fb2db9caac 100644 --- a/tests/wpt/web-platform-tests/interfaces/user-timing.idl +++ b/tests/wpt/web-platform-tests/interfaces/user-timing.idl @@ -23,7 +23,7 @@ partial interface Performance { }; [Exposed=(Window,Worker), - Constructor(DOMString markName, optional PerformanceMarkOptions markOptions)] + Constructor(DOMString markName, optional PerformanceMarkOptions markOptions = {})] interface PerformanceMark : PerformanceEntry { readonly attribute any detail; }; diff --git a/tests/wpt/web-platform-tests/resources/test/tests/unit/format-value.html b/tests/wpt/web-platform-tests/resources/test/tests/unit/format-value.html new file mode 100644 index 000000000000..13d01b81f351 --- /dev/null +++ b/tests/wpt/web-platform-tests/resources/test/tests/unit/format-value.html @@ -0,0 +1,123 @@ + + + + format_value utility function + + + +
+ + + + + diff --git a/tests/wpt/web-platform-tests/svg/animations/animVal-basics.html b/tests/wpt/web-platform-tests/svg/animations/animVal-basics.html new file mode 100644 index 000000000000..7eb968af01e0 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/animVal-basics.html @@ -0,0 +1,65 @@ + + + +Trivial animVal testcase, to see wheter we support it at all. Should result in a 200x200 rect and only PASS messages + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/animate-marker-orient-from-angle-to-auto.html b/tests/wpt/web-platform-tests/svg/animations/animate-marker-orient-from-angle-to-auto.html new file mode 100644 index 000000000000..40fc57b4f3c9 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/animate-marker-orient-from-angle-to-auto.html @@ -0,0 +1,97 @@ + + + +Animate SVGMarkerElement orientAttr from an angle to auto + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/animate-marker-orient-from-auto-to-auto-start-reverse.html b/tests/wpt/web-platform-tests/svg/animations/animate-marker-orient-from-auto-to-auto-start-reverse.html new file mode 100644 index 000000000000..fedfe4a8c281 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/animate-marker-orient-from-auto-to-auto-start-reverse.html @@ -0,0 +1,97 @@ + + + +Animate SVGMarkerElement orientAttr from auto to auto-start-reverse + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/animate-marker-orient-to-angle.html b/tests/wpt/web-platform-tests/svg/animations/animate-marker-orient-to-angle.html new file mode 100644 index 000000000000..6b4ba2bfef2f --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/animate-marker-orient-to-angle.html @@ -0,0 +1,94 @@ + + + +Animate SVGMarkerElement orientAttr to an angle + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/animate-number-calcMode-discrete-keyTimes.html b/tests/wpt/web-platform-tests/svg/animations/animate-number-calcMode-discrete-keyTimes.html new file mode 100644 index 000000000000..0e80e03f887b --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/animate-number-calcMode-discrete-keyTimes.html @@ -0,0 +1,68 @@ + + + +Test calcMode discrete with from-to animation on numbers. You should see a green 100x100 rect and only PASS messages + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/animate-number-calcMode-discrete.html b/tests/wpt/web-platform-tests/svg/animations/animate-number-calcMode-discrete.html new file mode 100644 index 000000000000..11563233b4f2 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/animate-number-calcMode-discrete.html @@ -0,0 +1,63 @@ + + + +Test calcMode discrete with from-to animation on numbers. You should see a green 100x100 rect and only PASS messages + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-Cc-Ss.html b/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-Cc-Ss.html new file mode 100644 index 000000000000..63c450a6c70c --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-Cc-Ss.html @@ -0,0 +1,65 @@ + + + +Test path animation where coordinate modes of start and end differ. You should see PASS messages + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-Ll-Vv-Hh.html b/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-Ll-Vv-Hh.html new file mode 100644 index 000000000000..4f6d85421a64 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-Ll-Vv-Hh.html @@ -0,0 +1,65 @@ + + + +Test path animation where coordinate modes of start and end differ. You should see PASS messages + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-Mm-Aa-Z.html b/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-Mm-Aa-Z.html new file mode 100644 index 000000000000..777ca3013757 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-Mm-Aa-Z.html @@ -0,0 +1,65 @@ + + + +Test path animation where coordinate modes of start and end differ. You should see PASS messages + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-Qq-Tt.html b/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-Qq-Tt.html new file mode 100644 index 000000000000..d964303fa2de --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-Qq-Tt.html @@ -0,0 +1,65 @@ + + + +Test path animation where coordinate modes of start and end differ. You should see PASS messages + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-cC-sS-inverse.html b/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-cC-sS-inverse.html new file mode 100644 index 000000000000..709372706d87 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-cC-sS-inverse.html @@ -0,0 +1,65 @@ + + + +Test path animation where coordinate modes of start and end differ. You should see PASS messages + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-lL-vV-hH-inverse.html b/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-lL-vV-hH-inverse.html new file mode 100644 index 000000000000..a5c6e88a1b91 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-lL-vV-hH-inverse.html @@ -0,0 +1,65 @@ + + + +Test path animation where coordinate modes of start and end differ. You should see PASS messages + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-mM-aA-Z-inverse.html b/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-mM-aA-Z-inverse.html new file mode 100644 index 000000000000..3e7e6e3199a1 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-mM-aA-Z-inverse.html @@ -0,0 +1,65 @@ + + + +Test path animation where coordinate modes of start and end differ. You should see PASS messages + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-qQ-tT-inverse.html b/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-qQ-tT-inverse.html new file mode 100644 index 000000000000..85b98d4d5fee --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/animate-path-animation-qQ-tT-inverse.html @@ -0,0 +1,68 @@ + + + +Test path animation where coordinate modes of start and end differ. You should see PASS messages + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/animate-path-to-animation.html b/tests/wpt/web-platform-tests/svg/animations/animate-path-to-animation.html new file mode 100644 index 000000000000..769113ce4907 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/animate-path-to-animation.html @@ -0,0 +1,58 @@ + + + +Test calcMode spline with to animation. You should see a green 100x100 path and only PASS messages + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/animateMotion-fill-freeze.html b/tests/wpt/web-platform-tests/svg/animations/animateMotion-fill-freeze.html new file mode 100644 index 000000000000..4e768efb0046 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/animateMotion-fill-freeze.html @@ -0,0 +1,55 @@ + + + +Test for animation freeze when repeatDur is not a multiple of dur + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/animateMotion-fill-remove.html b/tests/wpt/web-platform-tests/svg/animations/animateMotion-fill-remove.html new file mode 100644 index 000000000000..aeb74b4b0f22 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/animateMotion-fill-remove.html @@ -0,0 +1,55 @@ + + + +Test for animation freeze when repeatDur is not a multiple of dur + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/animateMotion-multiple.html b/tests/wpt/web-platform-tests/svg/animations/animateMotion-multiple.html new file mode 100644 index 000000000000..494d75a78550 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/animateMotion-multiple.html @@ -0,0 +1,66 @@ + + + +Test for checking position of the svg element when multiple animateMotion are acting on it + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/animateMotion-still.html b/tests/wpt/web-platform-tests/svg/animations/animateMotion-still.html new file mode 100644 index 000000000000..bf9007ac2f38 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/animateMotion-still.html @@ -0,0 +1,61 @@ + + + +Test animations that only express an offset + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/animateTransform-pattern-transform.html b/tests/wpt/web-platform-tests/svg/animations/animateTransform-pattern-transform.html new file mode 100644 index 000000000000..614444bf71c6 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/animateTransform-pattern-transform.html @@ -0,0 +1,99 @@ + + + +Tests animation of 'patternTransform'. Should result in a 100x100 rect and only PASS messages. + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/attributeTypes.html b/tests/wpt/web-platform-tests/svg/animations/attributeTypes.html new file mode 100644 index 000000000000..7a9ad43dd98e --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/attributeTypes.html @@ -0,0 +1,121 @@ + + + +This verifies several attributeTypes combiniations + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/change-css-property-while-animating-fill-freeze.html b/tests/wpt/web-platform-tests/svg/animations/change-css-property-while-animating-fill-freeze.html new file mode 100644 index 000000000000..6774c3475a68 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/change-css-property-while-animating-fill-freeze.html @@ -0,0 +1,64 @@ + + + +This tests scripting a CSS property while animation is running + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/change-css-property-while-animating-fill-remove.html b/tests/wpt/web-platform-tests/svg/animations/change-css-property-while-animating-fill-remove.html new file mode 100644 index 000000000000..a4e8a3ac4072 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/change-css-property-while-animating-fill-remove.html @@ -0,0 +1,64 @@ + + + +This tests scripting a CSS property while animation is running + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/change-target-while-animating-SVG-property.html b/tests/wpt/web-platform-tests/svg/animations/change-target-while-animating-SVG-property.html new file mode 100644 index 000000000000..68aa63a39d3a --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/change-target-while-animating-SVG-property.html @@ -0,0 +1,92 @@ + + + +This changes the target of an animation while its running + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/svg/animations/cyclic-syncbase.html b/tests/wpt/web-platform-tests/svg/animations/cyclic-syncbase.html new file mode 100644 index 000000000000..c0351156e310 --- /dev/null +++ b/tests/wpt/web-platform-tests/svg/animations/cyclic-syncbase.html @@ -0,0 +1,50 @@ + + + +Test cyclic for svg animations for syncbases + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/web-animations/animation-model/combining-effects/effect-composition.html b/tests/wpt/web-platform-tests/web-animations/animation-model/combining-effects/effect-composition.html index 78f46c9e4684..02c2fe1b3b8c 100644 --- a/tests/wpt/web-platform-tests/web-animations/animation-model/combining-effects/effect-composition.html +++ b/tests/wpt/web-platform-tests/web-animations/animation-model/combining-effects/effect-composition.html @@ -82,4 +82,33 @@ + ` ${composite} of the effect`); } +test(t => { + const div = createDiv(t); + const anims = []; + anims.push(div.animate({ marginLeft: ['10px', '20px'], + composite: 'replace' }, + 100)); + anims.push(div.animate({ marginLeft: ['0px', '10px'], + composite: 'add' }, + 100)); + // This should fully replace the previous effects. + anims.push(div.animate({ marginLeft: ['20px', '30px'], + composite: 'replace' }, + 100)); + anims.push(div.animate({ marginLeft: ['30px', '40px'], + composite: 'add' }, + 100)); + + for (const anim of anims) { + anim.currentTime = 50; + } + + // The result of applying the above effect stack is: + // underlying = 0.5 * 20 + 0.5 * 30 = 25 + // result = 0.5 * (underlying + 30px) + 0.5 * (underlying + 40px) + // = 60 + assert_equals(getComputedStyle(div).marginLeft, '60px', + 'Animated style at 50%'); +}, 'Composite replace fully replaces the underlying animation value'); + diff --git a/tests/wpt/web-platform-tests/websockets/cookies/support/websocket-cookies-helper.sub.js b/tests/wpt/web-platform-tests/websockets/cookies/support/websocket-cookies-helper.sub.js new file mode 100644 index 000000000000..a7fae2551e48 --- /dev/null +++ b/tests/wpt/web-platform-tests/websockets/cookies/support/websocket-cookies-helper.sub.js @@ -0,0 +1,57 @@ +// Set up global variables. +(_ => { + var HOST = '{{host}}'; + var CROSS_ORIGIN_HOST = '{{hosts[alt][]}}'; + var WSS_PORT = ':{{ports[wss][0]}}'; + var HTTPS_PORT = ':{{ports[https][0]}}'; + + window.WSS_ORIGIN = 'wss://' + HOST + WSS_PORT; + window.WSS_CROSS_SITE_ORIGIN = 'wss://' + CROSS_ORIGIN_HOST + WSS_PORT; + window.HTTPS_ORIGIN = 'https://' + HOST + HTTPS_PORT; + window.HTTPS_CROSS_SITE_ORIGIN = 'https://' + CROSS_ORIGIN_HOST + HTTPS_PORT; +})(); + +// Sets a cookie with each SameSite option. +function setSameSiteCookies(origin, value) { + return new Promise(resolve => { + const ws = new WebSocket(origin + '/set-cookies-samesite?value=' + value); + ws.onopen = () => { + ws.close(); + }; + ws.onclose = resolve; + }); +} + +// Clears cookies set by setSameSiteCookies(). +function clearSameSiteCookies(origin) { + return new Promise(resolve => { + const ws = new WebSocket(origin + '/set-cookies-samesite?clear'); + ws.onopen = () => ws.close(); + ws.onclose = resolve; + }); +} + +// Gets value of Cookie header sent in request. +function connectAndGetRequestCookiesFrom(origin) { + return new Promise((resolve, reject) => { + var ws = new WebSocket(origin + '/echo-cookie'); + ws.onmessage = evt => { + var cookies = evt.data + resolve(cookies); + ws.onerror = undefined; + ws.onclose = undefined; + }; + ws.onerror = () => reject('Unexpected error event'); + ws.onclose = evt => reject('Unexpected close event: ' + JSON.stringify(evt)); + }); +} + +// Assert that a given cookie is or is not present in the string |cookies|. +function assertCookie(cookies, name, value, present) { + var assertion = present ? assert_true : assert_false; + var description = name + '=' + value + ' cookie is' + + (present ? ' ' : ' not ') + 'present.'; + var re = new RegExp('(?:^|; )' + name + '=' + value + '(?:$|;)'); + assertion(re.test(cookies), description); +} + diff --git a/tests/wpt/web-platform-tests/websockets/cookies/third-party-cookie-accepted.https.html b/tests/wpt/web-platform-tests/websockets/cookies/third-party-cookie-accepted.https.html new file mode 100644 index 000000000000..208d297016ff --- /dev/null +++ b/tests/wpt/web-platform-tests/websockets/cookies/third-party-cookie-accepted.https.html @@ -0,0 +1,25 @@ + + + + + + diff --git a/tests/wpt/web-platform-tests/websockets/handlers/set-cookies-samesite_wsh.py b/tests/wpt/web-platform-tests/websockets/handlers/set-cookies-samesite_wsh.py new file mode 100644 index 000000000000..6f4a1b46c2cc --- /dev/null +++ b/tests/wpt/web-platform-tests/websockets/handlers/set-cookies-samesite_wsh.py @@ -0,0 +1,25 @@ +from six.moves import urllib + + +def web_socket_do_extra_handshake(request): + url_parts = urllib.parse.urlsplit(request.uri) + max_age = "" + if "clear" in url_parts.query: + max_age = "; Max-Age=0" + value = "1" + if "value" in url_parts.query: + value = urllib.parse.parse_qs(url_parts.query)["value"][0] + cookies = [ + "samesite-unspecified={}; Path=/".format(value) + max_age, + "samesite-lax={}; Path=/; SameSite=Lax".format(value) + max_age, + "samesite-strict={}; Path=/; SameSite=Strict".format(value) + max_age, + # SameSite=None cookies must be Secure. + "samesite-none={}; Path=/; SameSite=None; Secure".format(value) + max_age + ] + for cookie in cookies: + request.extra_headers.append(("Set-Cookie", cookie)) + + +def web_socket_transfer_data(request): + # Expect close() from user agent. + request.ws_stream.receive_message() diff --git a/tests/wpt/web-platform-tests/webxr/events_input_source_recreation.https.html b/tests/wpt/web-platform-tests/webxr/events_input_source_recreation.https.html index ab78d9d8fda4..ecb4b022bf09 100644 --- a/tests/wpt/web-platform-tests/webxr/events_input_source_recreation.https.html +++ b/tests/wpt/web-platform-tests/webxr/events_input_source_recreation.https.html @@ -31,21 +31,40 @@ assert_not_equals(cached_input_source, null); assert_equals(cached_input_source.handedness, "none"); assert_equals(cached_input_source.targetRayMode, "gaze"); + assertProfilesEqual(cached_input_source.profiles, ["a", "b"]); } else if (inputChangeEvents == 2) { // The second event should be replacing the controller with one that has // the updated target ray mode. - validateInputSourceChange(event, "none", "tracked-pointer"); + validateInputSourceChange(event, "none", "tracked-pointer", ["a", "b"]); cached_input_source = getInputSources()[0]; } else if (inputChangeEvents == 3) { // The third event should be replacing the controller with one that has // the updated handedness. - validateInputSourceChange(event, "left", "tracked-pointer"); + validateInputSourceChange(event, "left", "tracked-pointer", ["a", "b"]); + cached_input_source = getInputSources()[0]; + } else if (inputChangeEvents == 4) { + // The fourth event should be updating the second value in the profiles + // array. + validateInputSourceChange(event, "left", "tracked-pointer", ["a", "c"]); + cached_input_source = getInputSources()[0]; + } else if (inputChangeEvents == 5) { + // The fifth event should be removing the second value from the profiles + // array. + validateInputSourceChange(event, "left", "tracked-pointer", ["a"]); session.dispatchEvent(watcherDone); } }); } - function validateInputSourceChange(event, expected_hand, expected_mode) { + function assertProfilesEqual(profiles, expected_profiles) { + assert_equals(profiles.length, expected_profiles.length); + for (let i = 0; i < profiles.length; ++i) { + assert_equals(profiles[i], expected_profiles[i]); + } + } + + function validateInputSourceChange( + event, expected_hand, expected_mode, expected_profiles) { validateAdded(event.added, 1); validateRemoved(event.removed, 1); assert_true(event.removed.includes(cached_input_source)); @@ -53,6 +72,7 @@ let source = event.added[0]; assert_equals(source.handedness, expected_hand); assert_equals(source.targetRayMode, expected_mode); + assertProfilesEqual(source.profiles, expected_profiles); } function validateAdded(added, length) { @@ -95,17 +115,24 @@ handedness: "none", targetRayMode: "gaze", pointerOrigin: VALID_POINTER_TRANSFORM, - profiles: [] + profiles: ["a", "b"] }); - // Make our input source change after one frame, and wait an additional - // frame for that change to propogate. - // Two changes made in total. + // Make our first input source change after one frame, and wait an additional + // frame for that change to propogate. Then make additional changes, waiting + // one frame after each one to verify that they fired an inputsourceschanged + // event. session.requestAnimationFrame((time, xrFrame) => { input_source.setTargetRayMode("tracked-pointer"); session.requestAnimationFrame((time, xrFrame) => { input_source.setHandedness("left"); - session.requestAnimationFrame((time, xrFrame) => {}); + session.requestAnimationFrame((time, xrFrame) => { + input_source.setProfiles(["a", "c"]); + session.requestAnimationFrame((time, xrFrame) => { + input_source.setProfiles(["a"]); + session.requestAnimationFrame((time, xrFrame) => {}); + }); + }); }); }); diff --git a/tests/wpt/web-platform-tests/webxr/xrSession_visibilityState.https.html b/tests/wpt/web-platform-tests/webxr/xrSession_visibilityState.https.html new file mode 100644 index 000000000000..ebad10095e66 --- /dev/null +++ b/tests/wpt/web-platform-tests/webxr/xrSession_visibilityState.https.html @@ -0,0 +1,81 @@ + + + + + + + +