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 947e223fb28..3a3d15b8406 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 @@ -14,6 +14,9 @@ [Revoke blob URL after creating Request, will fetch] expected: FAIL + [Revoke blob URL after calling fetch, fetch should succeed] + expected: FAIL + [url-with-fetch.any.html] [Untitled] @@ -34,3 +37,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 720c7b25a00..5f6e6770eca 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -133615,6 +133615,18 @@ {} ] ], + "css/css-paint-api/hidpi/canvas-transform.https.html": [ + [ + "css/css-paint-api/hidpi/canvas-transform.https.html", + [ + [ + "/css/css-paint-api/hidpi/canvas-transform-ref.html", + "==" + ] + ], + {} + ] + ], "css/css-paint-api/hidpi/device-pixel-ratio.https.html": [ [ "css/css-paint-api/hidpi/device-pixel-ratio.https.html", @@ -135571,6 +135583,54 @@ {} ] ], + "css/css-pseudo/first-line-change-inline-color-nested.html": [ + [ + "css/css-pseudo/first-line-change-inline-color-nested.html", + [ + [ + "/css/css-pseudo/first-line-change-inline-color-nested-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-pseudo/first-line-change-inline-color.html": [ + [ + "css/css-pseudo/first-line-change-inline-color.html", + [ + [ + "/css/css-pseudo/first-line-change-inline-color-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-pseudo/first-line-on-ancestor-block.html": [ + [ + "css/css-pseudo/first-line-on-ancestor-block.html", + [ + [ + "/css/css-pseudo/first-line-on-ancestor-block-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-pseudo/first-line-with-out-of-flow.html": [ + [ + "css/css-pseudo/first-line-with-out-of-flow.html", + [ + [ + "/css/css-pseudo/first-line-with-out-of-flow-ref.html", + "==" + ] + ], + {} + ] + ], "css/css-pseudo/marker-and-other-pseudo-elements.html": [ [ "css/css-pseudo/marker-and-other-pseudo-elements.html", @@ -149807,6 +149867,42 @@ {} ] ], + "css/css-text/white-space/white-space-pre-wrap-trailing-spaces-004.html": [ + [ + "css/css-text/white-space/white-space-pre-wrap-trailing-spaces-004.html", + [ + [ + "/css/css-text/white-space/reference/white-space-pre-wrap-trailing-spaces-004-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/white-space/white-space-pre-wrap-trailing-spaces-005.html": [ + [ + "css/css-text/white-space/white-space-pre-wrap-trailing-spaces-005.html", + [ + [ + "/css/css-text/white-space/reference/white-space-pre-wrap-trailing-spaces-004-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-text/white-space/white-space-pre-wrap-trailing-spaces-006.html": [ + [ + "css/css-text/white-space/white-space-pre-wrap-trailing-spaces-006.html", + [ + [ + "/css/css-text/white-space/reference/white-space-pre-wrap-trailing-spaces-004-ref.html", + "==" + ] + ], + {} + ] + ], "css/css-text/white-space/white-space-wrap-after-nowrap-001.html": [ [ "css/css-text/white-space/white-space-wrap-after-nowrap-001.html", @@ -200533,6 +200629,18 @@ {} ] ], + "html/semantics/embedded-content/the-iframe-element/iframe-modify-scrolling-attr-to-yes.html": [ + [ + "html/semantics/embedded-content/the-iframe-element/iframe-modify-scrolling-attr-to-yes.html", + [ + [ + "/html/semantics/embedded-content/the-iframe-element/iframe-modify-scrolling-attr-to-yes-ref.html", + "==" + ] + ], + {} + ] + ], "html/semantics/embedded-content/the-iframe-element/iframe-with-base.html": [ [ "html/semantics/embedded-content/the-iframe-element/iframe-with-base.html", @@ -250168,6 +250276,9 @@ "css/css-paint-api/geometry-with-float-size-ref.html": [ [] ], + "css/css-paint-api/hidpi/canvas-transform-ref.html": [ + [] + ], "css/css-paint-api/hidpi/device-pixel-ratio-ref.html": [ [] ], @@ -250390,6 +250501,18 @@ "css/css-pseudo/first-line-and-placeholder-ref.html": [ [] ], + "css/css-pseudo/first-line-change-inline-color-nested-ref.html": [ + [] + ], + "css/css-pseudo/first-line-change-inline-color-ref.html": [ + [] + ], + "css/css-pseudo/first-line-on-ancestor-block-ref.html": [ + [] + ], + "css/css-pseudo/first-line-with-out-of-flow-ref.html": [ + [] + ], "css/css-pseudo/marker-and-other-pseudo-elements-ref.html": [ [] ], @@ -253540,6 +253663,9 @@ "css/css-text/white-space/reference/white-space-pre-wrap-trailing-spaces-003-ref.html": [ [] ], + "css/css-text/white-space/reference/white-space-pre-wrap-trailing-spaces-004-ref.html": [ + [] + ], "css/css-text/white-space/reference/white-space-wrap-after-nowrap-001-ref.html": [ [] ], @@ -269302,6 +269428,9 @@ "html/semantics/embedded-content/the-iframe-element/cross_origin_grandchild.html": [ [] ], + "html/semantics/embedded-content/the-iframe-element/iframe-modify-scrolling-attr-to-yes-ref.html": [ + [] + ], "html/semantics/embedded-content/the-iframe-element/iframe-with-base-ref.html": [ [] ], @@ -269359,6 +269488,9 @@ "html/semantics/embedded-content/the-iframe-element/support/iframe-trying-to-navigate-itself.html": [ [] ], + "html/semantics/embedded-content/the-iframe-element/support/iframe-which-content-height-equals-400px.html": [ + [] + ], "html/semantics/embedded-content/the-iframe-element/support/iframe_sandbox_001.htm": [ [] ], @@ -271219,9 +271351,6 @@ "infrastructure/metadata/infrastructure/server/title.any.js.ini": [ [] ], - "infrastructure/metadata/infrastructure/testdriver/actions/actionsWithKeyPressed.html.ini": [ - [] - ], "infrastructure/metadata/infrastructure/testdriver/actions/elementPosition.html.ini": [ [] ], @@ -273385,10 +273514,10 @@ "pointerevents/resources/pointerevent_fractional_coordinates-iframe.html": [ [] ], - "pointerevents/resources/pointerevent_mouse_pointercapture-iframe.html": [ + "pointerevents/resources/pointerevent_pointerId_scope-iframe.html": [ [] ], - "pointerevents/resources/pointerevent_pointerId_scope-iframe.html": [ + "pointerevents/resources/pointerevent_pointercapture-iframe.html": [ [] ], "pointerevents/resources/pointerevent_pointerrawupdate_in_pointerlock-iframe.html": [ @@ -278149,6 +278278,9 @@ "subresource-integrity/ed25519-style.css.headers": [ [] ], + "subresource-integrity/image.png": [ + [] + ], "subresource-integrity/script.js": [ [] ], @@ -301768,6 +301900,12 @@ {} ] ], + "animation-worklet/worklet-animation-animator-name.https.html": [ + [ + "animation-worklet/worklet-animation-animator-name.https.html", + {} + ] + ], "animation-worklet/worklet-animation-creation.https.html": [ [ "animation-worklet/worklet-animation-creation.https.html", @@ -308493,6 +308631,18 @@ {} ] ], + "css/css-animations/responsive/column-rule-color-001.html": [ + [ + "css/css-animations/responsive/column-rule-color-001.html", + {} + ] + ], + "css/css-animations/responsive/column-width-001.html": [ + [ + "css/css-animations/responsive/column-width-001.html", + {} + ] + ], "css/css-animations/style-animation-parsing.html": [ [ "css/css-animations/style-animation-parsing.html", @@ -313257,6 +313407,18 @@ {} ] ], + "css/css-masking/parsing/mask-position-invalid.html": [ + [ + "css/css-masking/parsing/mask-position-invalid.html", + {} + ] + ], + "css/css-masking/parsing/mask-position-valid.html": [ + [ + "css/css-masking/parsing/mask-position-valid.html", + {} + ] + ], "css/css-multicol/abspos-in-multicol-with-spanner-crash.html": [ [ "css/css-multicol/abspos-in-multicol-with-spanner-crash.html", @@ -322471,9 +322633,15 @@ {} ] ], - "css/cssom-view/scrollIntoView-direction-rtl.html": [ + "css/cssom-view/scrollIntoView-horizontal-tb-writing-mode-and-rtl-direction.html": [ [ - "css/cssom-view/scrollIntoView-direction-rtl.html", + "css/cssom-view/scrollIntoView-horizontal-tb-writing-mode-and-rtl-direction.html", + {} + ] + ], + "css/cssom-view/scrollIntoView-horizontal-tb-writing-mode.html": [ + [ + "css/cssom-view/scrollIntoView-horizontal-tb-writing-mode.html", {} ] ], @@ -322507,6 +322675,18 @@ {} ] ], + "css/cssom-view/scrollIntoView-vertical-lr-writing-mode-and-rtl-direction.html": [ + [ + "css/cssom-view/scrollIntoView-vertical-lr-writing-mode-and-rtl-direction.html", + {} + ] + ], + "css/cssom-view/scrollIntoView-vertical-lr-writing-mode.html": [ + [ + "css/cssom-view/scrollIntoView-vertical-lr-writing-mode.html", + {} + ] + ], "css/cssom-view/scrollIntoView-vertical-rl-writing-mode.html": [ [ "css/cssom-view/scrollIntoView-vertical-rl-writing-mode.html", @@ -357198,14 +357378,6 @@ {} ] ], - "infrastructure/testdriver/actions/actionsWithKeyPressed.html": [ - [ - "infrastructure/testdriver/actions/actionsWithKeyPressed.html", - { - "testdriver": true - } - ] - ], "infrastructure/testdriver/actions/elementPosition.html": [ [ "infrastructure/testdriver/actions/elementPosition.html", @@ -373743,14 +373915,6 @@ } ] ], - "pointerevents/pointerevent_mouse_pointercapture_in_frame.html": [ - [ - "pointerevents/pointerevent_mouse_pointercapture_in_frame.html", - { - "testdriver": true - } - ] - ], "pointerevents/pointerevent_on_event_handlers.html": [ [ "pointerevents/pointerevent_on_event_handlers.html", @@ -373765,6 +373929,14 @@ } ] ], + "pointerevents/pointerevent_pointercapture_in_frame.html": [ + [ + "pointerevents/pointerevent_pointercapture_in_frame.html", + { + "testdriver": true + } + ] + ], "pointerevents/pointerevent_pointerenter_does_not_bubble.html": [ [ "pointerevents/pointerevent_pointerenter_does_not_bubble.html", @@ -412985,6 +413157,12 @@ } ] ], + "xhr/sync-xhr-and-window-onload.html": [ + [ + "xhr/sync-xhr-and-window-onload.html", + {} + ] + ], "xhr/sync-xhr-supported-by-feature-policy.html": [ [ "xhr/sync-xhr-supported-by-feature-policy.html", @@ -441860,6 +442038,10 @@ "dba3aa8dc8dfa6f674477d9e71614b7b7288d9dd", "testharness" ], + "animation-worklet/worklet-animation-animator-name.https.html": [ + "bd886ccd02094c8b1eee1fb31a1700f940ba2cbd", + "testharness" + ], "animation-worklet/worklet-animation-cancel-ref.html": [ "d44927374703ef2b38d3ed0c9570609b62baec65", "support" @@ -529420,6 +529602,14 @@ "fb74d7fa7d062d60153d47913df9eb2b0c7267c8", "testharness" ], + "css/css-animations/responsive/column-rule-color-001.html": [ + "9953db43545990d9f6e0941ee89f10dc83e46438", + "testharness" + ], + "css/css-animations/responsive/column-width-001.html": [ + "7697eec324064dd6bd1fd75f16fdff5d3050315d", + "testharness" + ], "css/css-animations/style-animation-parsing.html": [ "792fda33ed8b0bacf355e62066ec05d54cc5c729", "testharness" @@ -554160,6 +554350,14 @@ "bd14dfd1b5c9acb697dc4f7afc21e1fb656a377a", "testharness" ], + "css/css-masking/parsing/mask-position-invalid.html": [ + "c246a1e795eea6a9e31fe1155d55ceb8532d6032", + "testharness" + ], + "css/css-masking/parsing/mask-position-valid.html": [ + "efdf55a0182ae701d459c1206b18ba74625e5f95", + "testharness" + ], "css/css-masking/test-mask-ref.html": [ "938235acbd36309fb969c55f161239bcd5ab969e", "support" @@ -556728,6 +556926,14 @@ "65477e4b3bf369d511113cbe81d04531281edc4c", "reftest" ], + "css/css-paint-api/hidpi/canvas-transform-ref.html": [ + "48d46e8e56109a87d9bf2c637f016c7ad52c0a5f", + "support" + ], + "css/css-paint-api/hidpi/canvas-transform.https.html": [ + "d160a8673c21d17e58ca20eb437c22cd76c97104", + "reftest" + ], "css/css-paint-api/hidpi/device-pixel-ratio-ref.html": [ "205cf8963bf639f8aae23457fa9b71d16c9c2c90", "support" @@ -558048,10 +558254,42 @@ "2db3480feb5928c6a39fbf6084cf07bec0ba4767", "reftest" ], + "css/css-pseudo/first-line-change-inline-color-nested-ref.html": [ + "84becd9a78d186ba3c0e658746fd56aef8039b74", + "support" + ], + "css/css-pseudo/first-line-change-inline-color-nested.html": [ + "4a58f1ea5b623ffa5acd2993be16de399cd24127", + "reftest" + ], + "css/css-pseudo/first-line-change-inline-color-ref.html": [ + "84becd9a78d186ba3c0e658746fd56aef8039b74", + "support" + ], + "css/css-pseudo/first-line-change-inline-color.html": [ + "2a5be916b01d5d12eec1a4e81d912d95c7036916", + "reftest" + ], "css/css-pseudo/first-line-first-letter-insert-crash.html": [ "17f035dedf1ef8df71918a1eacb01e1f0b80d46b", "testharness" ], + "css/css-pseudo/first-line-on-ancestor-block-ref.html": [ + "7193bf25eb88c5443457480f7ce27782acd9473a", + "support" + ], + "css/css-pseudo/first-line-on-ancestor-block.html": [ + "6b797107df80156b511b9dc58c5ee40d6114cfc4", + "reftest" + ], + "css/css-pseudo/first-line-with-out-of-flow-ref.html": [ + "7193bf25eb88c5443457480f7ce27782acd9473a", + "support" + ], + "css/css-pseudo/first-line-with-out-of-flow.html": [ + "798ecf8264e2ddb38257c6cb1174bcc069c6e6d1", + "reftest" + ], "css/css-pseudo/idlharness.html": [ "4c113fc9091fb773cabd77f1419fac9a2e99650b", "testharness" @@ -570312,6 +570550,10 @@ "1b50b667c03adae2db1f985e847b0106f9c6ad07", "support" ], + "css/css-text/white-space/reference/white-space-pre-wrap-trailing-spaces-004-ref.html": [ + "72e4642022af70b543990934c615471600b2bd46", + "support" + ], "css/css-text/white-space/reference/white-space-wrap-after-nowrap-001-ref.html": [ "80b2260cbbe6122e90c297ab1f2cd83917712030", "support" @@ -570540,6 +570782,18 @@ "15e47a7adba3d4fc5534eab8811e3c91518aa771", "reftest" ], + "css/css-text/white-space/white-space-pre-wrap-trailing-spaces-004.html": [ + "becd4638eb068b26c00851390e393026796d7675", + "reftest" + ], + "css/css-text/white-space/white-space-pre-wrap-trailing-spaces-005.html": [ + "f62e2e5c005d4043c02894eed87422fa6c59b824", + "reftest" + ], + "css/css-text/white-space/white-space-pre-wrap-trailing-spaces-006.html": [ + "820012e6ca10dec9065f7c5869c47b065b426033", + "reftest" + ], "css/css-text/white-space/white-space-wrap-after-nowrap-001.html": [ "a484f1cf9167e468063cf2205493b8e71a254470", "reftest" @@ -572185,7 +572439,7 @@ "testharness" ], "css/css-transforms/parsing/scale-parsing-valid.html": [ - "b9afbc848a3b5ff3033d070b4f080245e0d822c5", + "2ae12222f1361b6b0016ce235fad92d03b3bff45", "testharness" ], "css/css-transforms/parsing/transform-box-invalid.html": [ @@ -589544,8 +589798,12 @@ "cc67ce76ed9d432656b37c9c81a20e86d1bafc8d", "testharness" ], - "css/cssom-view/scrollIntoView-direction-rtl.html": [ - "fea92d1da5700ee0b1888941737cec9fbf9e98be", + "css/cssom-view/scrollIntoView-horizontal-tb-writing-mode-and-rtl-direction.html": [ + "3ef9d62a3654c5ab2dd061e34799053daeefc3a4", + "testharness" + ], + "css/cssom-view/scrollIntoView-horizontal-tb-writing-mode.html": [ + "49d5f5d8653260d7673268e5eb1e9491fed21f2b", "testharness" ], "css/cssom-view/scrollIntoView-scrollMargin.html": [ @@ -589568,8 +589826,16 @@ "7af5de5ff8aceb96867815354571314afd4cb07c", "testharness" ], + "css/cssom-view/scrollIntoView-vertical-lr-writing-mode-and-rtl-direction.html": [ + "3301141ee0115fc941240dc76b27d988032273ae", + "testharness" + ], + "css/cssom-view/scrollIntoView-vertical-lr-writing-mode.html": [ + "9242a49c0bca5b5a5f190c38f9eecac73f50844b", + "testharness" + ], "css/cssom-view/scrollIntoView-vertical-rl-writing-mode.html": [ - "56bcf214517d5220d53939fc25316ab5d6fe3da6", + "cec27f412c926ab087f2cd736e4c6a7d4efb4c99", "testharness" ], "css/cssom-view/scrollTop-display-change-ref.html": [ @@ -606753,7 +607019,7 @@ "testharness" ], "element-timing/buffer-before-onload.html": [ - "88a641bbb666816da9a636ed43d23c205bf0e8f9", + "68eeeefe15fdc587cdf0d4382f90c33ee3230290", "testharness" ], "element-timing/cross-origin-element.sub.html": [ @@ -609041,7 +609307,7 @@ "support" ], "event-timing/bufferbeforeonload.html": [ - "c91546ae41a499635573a2f7d7ea20b0283ca21f", + "c30c01aa96bb9bc835bb1ce93bff86f5e99789d7", "testharness" ], "event-timing/crossiframe.html": [ @@ -609057,15 +609323,15 @@ "manual" ], "event-timing/observethenonload.html": [ - "e1c36e302108b1bd886130c7df38d8e536dc4473", + "4145eae0a59a5da2fc5fbca95ee2721fc3b58b2b", "testharness" ], "event-timing/onloadthenobserve-firstInput.html": [ - "1422ceaa95582200ba1250dcdd53aec502b59856", + "4efdfbbf006cdd8577b4d11b668974bfe20aaa84", "testharness" ], "event-timing/onloadthenobserve.html": [ - "e2f9c932e6f5122af68ff84fd9495cf6fc216314", + "d97228577a187ddf10f5513697d9b0424aab4588", "testharness" ], "event-timing/only-observe-firstInput.html": [ @@ -609077,7 +609343,7 @@ "testharness" ], "event-timing/resources/crossiframe-childframe.html": [ - "7aa4ace73afad7878205736c02a81e863127bb43", + "ee9da6cad5411b477c3c11d6fc932ef132855bf7", "support" ], "event-timing/resources/event-timing-test-utils.js": [ @@ -611265,7 +611531,7 @@ "testharness" ], "fetch/corb/script-resource-with-nonsniffable-types.tentative.sub.html": [ - "e599bf26f9445e9e96ee98e4bbab2895e2283fe2", + "bf42d0eaf685d2d1bcdb3b9a0276daf2aae2268f", "testharness" ], "fetch/corb/style-css-mislabeled-as-html-nosniff.sub.html": [ @@ -625480,6 +625746,14 @@ "d245bf0b96451b3419e0e69bda86fe4859c9cbfe", "testharness" ], + "html/semantics/embedded-content/the-iframe-element/iframe-modify-scrolling-attr-to-yes-ref.html": [ + "3758ea2cab4096beccb3722a1cc534b71c662a64", + "support" + ], + "html/semantics/embedded-content/the-iframe-element/iframe-modify-scrolling-attr-to-yes.html": [ + "9d85aa543d2d1732b8534fcdfa62a42d11716586", + "reftest" + ], "html/semantics/embedded-content/the-iframe-element/iframe-nosrc.html": [ "57189a0b884d3a55e4bb2ba1a1d3aa83066c0eb3", "testharness" @@ -625828,6 +626102,10 @@ "6755d295aa179992b4cf958ee2ad8456e729677c", "support" ], + "html/semantics/embedded-content/the-iframe-element/support/iframe-which-content-height-equals-400px.html": [ + "bb3dbd31182e91f43c3caa0cb8bb7ffbad485177", + "support" + ], "html/semantics/embedded-content/the-iframe-element/support/iframe_sandbox_001.htm": [ "051ca5ecd78a17f499d3df76b0bd8f1b6a9dbade", "support" @@ -633284,10 +633562,6 @@ "cbae6b15410e13433c4a9fadd8c2a8cc5fbc4fdc", "support" ], - "infrastructure/metadata/infrastructure/testdriver/actions/actionsWithKeyPressed.html.ini": [ - "c83e8ff9261b78084f75fb584a8b5236cc28c3fd", - "support" - ], "infrastructure/metadata/infrastructure/testdriver/actions/elementPosition.html.ini": [ "49e4a40016e0eb2304a5e6e61b19556818c4ef3d", "support" @@ -633488,10 +633762,6 @@ "ea7973a62e0ee9cdc874879fd844b2309e944e61", "testharness" ], - "infrastructure/testdriver/actions/actionsWithKeyPressed.html": [ - "74e939f5fde4773aade6ce4f7bbee573e39ae8ec", - "testharness" - ], "infrastructure/testdriver/actions/elementPosition.html": [ "145852e7b51bd0cdc9e7b4ef5ebddcbf1c0235c5", "testharness" @@ -633629,7 +633899,7 @@ "support" ], "interfaces/WebIDL.idl": [ - "aa8d5bad16a971b09d74914865f7db3115c7d836", + "a9157a955904c29b362dc1527f66c531ef6429ca", "support" ], "interfaces/accelerometer.idl": [ @@ -634141,7 +634411,7 @@ "support" ], "interfaces/webxr.idl": [ - "c78683ef6bf6822b0320fe4c16bc9630a63884de", + "2c9eac510672513e611f565fc31d2c7d8a3820da", "support" ], "interfaces/worklets.idl": [ @@ -634613,11 +634883,11 @@ "testharness" ], "layout-instability/buffer-layout-shift.html": [ - "c1d0dc6d6eb971f39c913a78423aad046dd18a04", + "5d2e69f1ff2ab2f673f432b3b69d678ff1d9a218", "testharness" ], "layout-instability/observe-layout-shift.html": [ - "25e4950f6a7d830097781923e80d82f130cf23a5", + "1aa429b6b68df3872f2f1e8dbd591d8a171361ba", "testharness" ], "layout-instability/resources/slow-image.py": [ @@ -639245,15 +639515,15 @@ "testharness" ], "native-file-system/FileSystemBaseHandle-remove.tentative.window.js": [ - "5a8e67b8478caa022dccb10c14f64103e329e5c9", + "a4eb2871104f924347f9ec8791a6381313a54483", "testharness" ], "native-file-system/FileSystemDirectoryHandle-getDirectory.tentative.window.js": [ - "0f8c1b13fa01d6fb5c88455eac86c969b4d04c0a", + "2064fc46f05f5e30c14f77c14c5751b411d1c5e0", "testharness" ], "native-file-system/FileSystemDirectoryHandle-getFile.tentative.window.js": [ - "0b27027f4eddb752b465ccfa5b3843689eb280ea", + "473cad4c9c36660584c07d7b53dfc68c7f734cb4", "testharness" ], "native-file-system/FileSystemWriter.tentative.window.js": [ @@ -639269,7 +639539,7 @@ "support" ], "native-file-system/resources/test-helpers.js": [ - "e29927b85247d55d6dfd6d04838d3587158aadf2", + "56c93b597508a5be23da31c9a9cb89d3cb470aa7", "support" ], "navigation-timing/META.yml": [ @@ -647300,10 +647570,6 @@ "10b19f8474a95126302f824390302007a4f63fea", "testharness" ], - "pointerevents/pointerevent_mouse_pointercapture_in_frame.html": [ - "83b4c1becc48339f74948fd01bdf15dfd27f96c1", - "testharness" - ], "pointerevents/pointerevent_multiple_primary_pointers_boundary_events-manual.html": [ "eb758c70738760d217656244733755da3ee5f238", "manual" @@ -647320,6 +647586,10 @@ "a645033a247437604d6b1c4614079c9193c28e9d", "testharness" ], + "pointerevents/pointerevent_pointercapture_in_frame.html": [ + "a4107fd707a2ec4cb40d22fcad786db0b42471d6", + "testharness" + ], "pointerevents/pointerevent_pointerenter_does_not_bubble.html": [ "7d38de7446938de3715b19f4585d747a18912d77", "testharness" @@ -647572,14 +647842,14 @@ "5245a3f2e16bf13967187231db515433217912aa", "support" ], - "pointerevents/resources/pointerevent_mouse_pointercapture-iframe.html": [ - "817c6123cf96b0e966c04a48414725d794549c77", - "support" - ], "pointerevents/resources/pointerevent_pointerId_scope-iframe.html": [ "ab33560b35216ea0976d1c037650122d9336ae39", "support" ], + "pointerevents/resources/pointerevent_pointercapture-iframe.html": [ + "100756626987a95b242214a47704e87d5d7c2dc9", + "support" + ], "pointerevents/resources/pointerevent_pointerrawupdate_in_pointerlock-iframe.html": [ "505fc2cae40b80612fdd67ba98918aafad2f1b0a", "support" @@ -648073,7 +648343,7 @@ "testharness" ], "preload/subresource-integrity.html": [ - "08c7854a9ecff0c6510d7ce7752de8e601e1530a", + "52ec0f62bef04a618e650acfb75513a7c79683e2", "testharness" ], "presentation-api/META.yml": [ @@ -658161,7 +658431,7 @@ "support" ], "resources/sriharness.js": [ - "fe8ad2b4270c2f048a6a9eada153b1a1b2e90f1b", + "d30d483e3296979ddce16b6118170a3a6c696e80", "support" ], "resources/test/README.md": [ @@ -663992,6 +664262,10 @@ "d2997e562fadfd208d202ce3d60d11cd937ea779", "testharness" ], + "subresource-integrity/image.png": [ + "01c9666a8de9d5535615aff830810e5df4b2156f", + "support" + ], "subresource-integrity/script.js": [ "bfca1efbf3fb10fc98dd39600966fc97817586ee", "support" @@ -677069,7 +677343,7 @@ "testharness" ], "web-nfc/NFCWriter_push.https.html": [ - "5a14b4090afe7b7850a36129eb3f882ac1886267", + "0b804615930b12d1ac4d7bfc1b395e715de03778", "testharness" ], "web-nfc/NFCWriter_push_signal-manual.https.html": [ @@ -680257,7 +680531,7 @@ "testharness" ], "webrtc/RTCStats-helper.js": [ - "e91b40b6854f1cc6c59f7d81bf06a40e6dc0d31f", + "5cd7d2c9e0e1f6c5c10afe529be8489dec4dd5ad", "support" ], "webrtc/RTCTrackEvent-constructor.html": [ @@ -688268,6 +688542,10 @@ "d23fbb8c66def47e31ad01aa7a311064ba8fddbd", "testharness" ], + "xhr/sync-xhr-and-window-onload.html": [ + "3ba9e7ab2e8c772cfe4673b61ad8b4a4582d851d", + "testharness" + ], "xhr/sync-xhr-supported-by-feature-policy.html": [ "45588bf6af54b0136c72068544bc908378f286a2", "testharness" diff --git a/tests/wpt/metadata/css/css-animations/responsive/column-rule-color-001.html.ini b/tests/wpt/metadata/css/css-animations/responsive/column-rule-color-001.html.ini new file mode 100644 index 00000000000..8d962de6580 --- /dev/null +++ b/tests/wpt/metadata/css/css-animations/responsive/column-rule-color-001.html.ini @@ -0,0 +1,7 @@ +[column-rule-color-001.html] + [column-rule-color responds to inherited changes] + expected: FAIL + + [column-rule-color responds to currentColor changes] + expected: FAIL + diff --git a/tests/wpt/metadata/css/css-animations/responsive/column-width-001.html.ini b/tests/wpt/metadata/css/css-animations/responsive/column-width-001.html.ini new file mode 100644 index 00000000000..94ad1f446a4 --- /dev/null +++ b/tests/wpt/metadata/css/css-animations/responsive/column-width-001.html.ini @@ -0,0 +1,10 @@ +[column-width-001.html] + [column-width responds to font-size changes] + expected: FAIL + + [column-width clamps to 0px] + expected: FAIL + + [column-width responds to inherited changes] + expected: FAIL + diff --git a/tests/wpt/metadata/css/css-paint-api/hidpi/canvas-transform.https.html.ini b/tests/wpt/metadata/css/css-paint-api/hidpi/canvas-transform.https.html.ini new file mode 100644 index 00000000000..3950118e711 --- /dev/null +++ b/tests/wpt/metadata/css/css-paint-api/hidpi/canvas-transform.https.html.ini @@ -0,0 +1,2 @@ +[canvas-transform.https.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-005.html.ini b/tests/wpt/metadata/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-005.html.ini new file mode 100644 index 00000000000..3316960bcb6 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-005.html.ini @@ -0,0 +1,2 @@ +[white-space-pre-wrap-trailing-spaces-005.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-006.html.ini b/tests/wpt/metadata/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-006.html.ini new file mode 100644 index 00000000000..1e41a1d6e6b --- /dev/null +++ b/tests/wpt/metadata/css/css-text/white-space/white-space-pre-wrap-trailing-spaces-006.html.ini @@ -0,0 +1,2 @@ +[white-space-pre-wrap-trailing-spaces-006.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/cssom-view/scroll-behavior-smooth.html.ini b/tests/wpt/metadata/css/cssom-view/scroll-behavior-smooth.html.ini index ee754ce4aa3..e1a609649d6 100644 --- a/tests/wpt/metadata/css/cssom-view/scroll-behavior-smooth.html.ini +++ b/tests/wpt/metadata/css/cssom-view/scroll-behavior-smooth.html.ini @@ -3,9 +3,3 @@ [scroll-behavior: smooth on DIV element] expected: FAIL - [Smooth scrolling while doing history navigation.] - expected: FAIL - - [Instant scrolling while doing history navigation.] - expected: FAIL - diff --git a/tests/wpt/metadata/css/cssom-view/scrollIntoView-horizontal-tb-writing-mode-and-rtl-direction.html.ini b/tests/wpt/metadata/css/cssom-view/scrollIntoView-horizontal-tb-writing-mode-and-rtl-direction.html.ini new file mode 100644 index 00000000000..45087b59332 --- /dev/null +++ b/tests/wpt/metadata/css/cssom-view/scrollIntoView-horizontal-tb-writing-mode-and-rtl-direction.html.ini @@ -0,0 +1,28 @@ +[scrollIntoView-horizontal-tb-writing-mode-and-rtl-direction.html] + [scrollIntoView({"block":"center","inline":"center"})] + expected: FAIL + + [scrollIntoView({"block":"end","inline":"start"})] + expected: FAIL + + [scrollIntoView({"block":"start","inline":"center"})] + expected: FAIL + + [scrollIntoView({"block":"center","inline":"start"})] + expected: FAIL + + [scrollIntoView({"block":"start","inline":"start"})] + expected: FAIL + + [scrollIntoView({"block":"end","inline":"center"})] + expected: FAIL + + [scrollIntoView({"block":"end","inline":"end"})] + expected: FAIL + + [scrollIntoView({"block":"start","inline":"end"})] + expected: FAIL + + [scrollIntoView({"block":"center","inline":"end"})] + expected: FAIL + diff --git a/tests/wpt/metadata/css/cssom-view/scrollIntoView-horizontal-tb-writing-mode.html.ini b/tests/wpt/metadata/css/cssom-view/scrollIntoView-horizontal-tb-writing-mode.html.ini new file mode 100644 index 00000000000..33b162d7d1a --- /dev/null +++ b/tests/wpt/metadata/css/cssom-view/scrollIntoView-horizontal-tb-writing-mode.html.ini @@ -0,0 +1,28 @@ +[scrollIntoView-horizontal-tb-writing-mode.html] + [scrollIntoView({"block":"center","inline":"center"})] + expected: FAIL + + [scrollIntoView({"block":"end","inline":"start"})] + expected: FAIL + + [scrollIntoView({"block":"start","inline":"center"})] + expected: FAIL + + [scrollIntoView({"block":"center","inline":"start"})] + expected: FAIL + + [scrollIntoView({"block":"start","inline":"start"})] + expected: FAIL + + [scrollIntoView({"block":"end","inline":"center"})] + expected: FAIL + + [scrollIntoView({"block":"end","inline":"end"})] + expected: FAIL + + [scrollIntoView({"block":"start","inline":"end"})] + expected: FAIL + + [scrollIntoView({"block":"center","inline":"end"})] + expected: FAIL + diff --git a/tests/wpt/metadata/css/cssom-view/scrollIntoView-vertical-lr-writing-mode-and-rtl-direction.html.ini b/tests/wpt/metadata/css/cssom-view/scrollIntoView-vertical-lr-writing-mode-and-rtl-direction.html.ini new file mode 100644 index 00000000000..2144f1801a6 --- /dev/null +++ b/tests/wpt/metadata/css/cssom-view/scrollIntoView-vertical-lr-writing-mode-and-rtl-direction.html.ini @@ -0,0 +1,28 @@ +[scrollIntoView-vertical-lr-writing-mode-and-rtl-direction.html] + [scrollIntoView({"block":"center","inline":"center"})] + expected: FAIL + + [scrollIntoView({"block":"end","inline":"start"})] + expected: FAIL + + [scrollIntoView({"block":"start","inline":"center"})] + expected: FAIL + + [scrollIntoView({"block":"center","inline":"start"})] + expected: FAIL + + [scrollIntoView({"block":"start","inline":"start"})] + expected: FAIL + + [scrollIntoView({"block":"end","inline":"center"})] + expected: FAIL + + [scrollIntoView({"block":"end","inline":"end"})] + expected: FAIL + + [scrollIntoView({"block":"start","inline":"end"})] + expected: FAIL + + [scrollIntoView({"block":"center","inline":"end"})] + expected: FAIL + diff --git a/tests/wpt/metadata/css/cssom-view/scrollIntoView-vertical-lr-writing-mode.html.ini b/tests/wpt/metadata/css/cssom-view/scrollIntoView-vertical-lr-writing-mode.html.ini new file mode 100644 index 00000000000..3a8911a2ff1 --- /dev/null +++ b/tests/wpt/metadata/css/cssom-view/scrollIntoView-vertical-lr-writing-mode.html.ini @@ -0,0 +1,28 @@ +[scrollIntoView-vertical-lr-writing-mode.html] + [scrollIntoView({"block":"center","inline":"center"})] + expected: FAIL + + [scrollIntoView({"block":"end","inline":"start"})] + expected: FAIL + + [scrollIntoView({"block":"start","inline":"center"})] + expected: FAIL + + [scrollIntoView({"block":"center","inline":"start"})] + expected: FAIL + + [scrollIntoView({"block":"start","inline":"start"})] + expected: FAIL + + [scrollIntoView({"block":"end","inline":"center"})] + expected: FAIL + + [scrollIntoView({"block":"end","inline":"end"})] + expected: FAIL + + [scrollIntoView({"block":"start","inline":"end"})] + expected: FAIL + + [scrollIntoView({"block":"center","inline":"end"})] + expected: FAIL + diff --git a/tests/wpt/metadata/css/cssom-view/scrollIntoView-vertical-rl-writing-mode.html.ini b/tests/wpt/metadata/css/cssom-view/scrollIntoView-vertical-rl-writing-mode.html.ini index 477a200ff86..f2391864b18 100644 --- a/tests/wpt/metadata/css/cssom-view/scrollIntoView-vertical-rl-writing-mode.html.ini +++ b/tests/wpt/metadata/css/cssom-view/scrollIntoView-vertical-rl-writing-mode.html.ini @@ -26,3 +26,30 @@ [scrollIntoView({block: "end", inline: "end"})] expected: FAIL + [scrollIntoView({"block":"center","inline":"center"})] + expected: FAIL + + [scrollIntoView({"block":"end","inline":"start"})] + expected: FAIL + + [scrollIntoView({"block":"start","inline":"center"})] + expected: FAIL + + [scrollIntoView({"block":"center","inline":"start"})] + expected: FAIL + + [scrollIntoView({"block":"start","inline":"start"})] + expected: FAIL + + [scrollIntoView({"block":"end","inline":"center"})] + expected: FAIL + + [scrollIntoView({"block":"end","inline":"end"})] + expected: FAIL + + [scrollIntoView({"block":"start","inline":"end"})] + expected: FAIL + + [scrollIntoView({"block":"center","inline":"end"})] + expected: FAIL + 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 fc964dd4c81..c43efe3e325 100644 --- a/tests/wpt/metadata/fetch/content-type/response.window.js.ini +++ b/tests/wpt/metadata/fetch/content-type/response.window.js.ini @@ -321,12 +321,12 @@ [ diff --git a/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-modify-scrolling-attr-to-yes.html b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-modify-scrolling-attr-to-yes.html new file mode 100644 index 00000000000..9d85aa543d2 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe-modify-scrolling-attr-to-yes.html @@ -0,0 +1,16 @@ + +modify iframe scrolling attr to yes + + + + +

Test passes if you can see the scrollbars of the iframe displayed below.

+ + + diff --git a/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/support/iframe-which-content-height-equals-400px.html b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/support/iframe-which-content-height-equals-400px.html new file mode 100644 index 00000000000..bb3dbd31182 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/semantics/embedded-content/the-iframe-element/support/iframe-which-content-height-equals-400px.html @@ -0,0 +1,4 @@ + + +iframe content + \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/infrastructure/metadata/infrastructure/testdriver/actions/actionsWithKeyPressed.html.ini b/tests/wpt/web-platform-tests/infrastructure/metadata/infrastructure/testdriver/actions/actionsWithKeyPressed.html.ini deleted file mode 100644 index c83e8ff9261..00000000000 --- a/tests/wpt/web-platform-tests/infrastructure/metadata/infrastructure/testdriver/actions/actionsWithKeyPressed.html.ini +++ /dev/null @@ -1,8 +0,0 @@ -[actionsWithKeyPressed.html] - expected: - if product == "safari": ERROR - - [TestDriver actions: actions with key pressed] - expected: - if product == "firefox": FAIL - if os == "mac" and product == "chrome": FAIL diff --git a/tests/wpt/web-platform-tests/infrastructure/testdriver/actions/actionsWithKeyPressed.html b/tests/wpt/web-platform-tests/infrastructure/testdriver/actions/actionsWithKeyPressed.html deleted file mode 100644 index 74e939f5fde..00000000000 --- a/tests/wpt/web-platform-tests/infrastructure/testdriver/actions/actionsWithKeyPressed.html +++ /dev/null @@ -1,67 +0,0 @@ - - -TestDriver actions: actions with key pressed - - - - - - - - -
-
- -
-
- - diff --git a/tests/wpt/web-platform-tests/interfaces/WebIDL.idl b/tests/wpt/web-platform-tests/interfaces/WebIDL.idl index aa8d5bad16a..a9157a95590 100644 --- a/tests/wpt/web-platform-tests/interfaces/WebIDL.idl +++ b/tests/wpt/web-platform-tests/interfaces/WebIDL.idl @@ -10,7 +10,8 @@ typedef (Int8Array or Int16Array or Int32Array or typedef (ArrayBufferView or ArrayBuffer) BufferSource; [ Exposed=(Window,Worker), - Constructor(optional DOMString message = "", optional DOMString name = "Error") + Constructor(optional DOMString message = "", optional DOMString name = "Error"), + Serializable ] interface DOMException { // but see below note about ECMAScript binding readonly attribute DOMString name; diff --git a/tests/wpt/web-platform-tests/interfaces/webxr.idl b/tests/wpt/web-platform-tests/interfaces/webxr.idl index c78683ef6bf..2c9eac51067 100644 --- a/tests/wpt/web-platform-tests/interfaces/webxr.idl +++ b/tests/wpt/web-platform-tests/interfaces/webxr.idl @@ -10,7 +10,7 @@ partial interface Navigator { [SecureContext, Exposed=Window] interface XR : EventTarget { // Methods Promise supportsSession(XRSessionMode mode); - Promise requestSession(XRSessionMode mode); + Promise requestSession(XRSessionMode mode, optional XRSessionInit options); // Events attribute EventHandler ondevicechange; @@ -22,6 +22,11 @@ enum XRSessionMode { "immersive-ar" }; +dictionary XRSessionInit { + sequence requiredFeatures; + sequence optionalFeatures; +}; + enum XREnvironmentBlendMode { "opaque", "additive", @@ -239,13 +244,11 @@ dictionary XRSessionEventInit : EventInit { interface XRInputSourceEvent : Event { [SameObject] readonly attribute XRFrame frame; [SameObject] readonly attribute XRInputSource inputSource; - [SameObject] readonly attribute long? buttonIndex; }; dictionary XRInputSourceEventInit : EventInit { required XRFrame frame; required XRInputSource inputSource; - long? buttonIndex = null; }; [SecureContext, Exposed=Window, Constructor(DOMString type, XRInputSourcesChangeEventInit eventInitDict)] diff --git a/tests/wpt/web-platform-tests/layout-instability/buffer-layout-shift.html b/tests/wpt/web-platform-tests/layout-instability/buffer-layout-shift.html index c1d0dc6d6eb..5d2e69f1ff2 100644 --- a/tests/wpt/web-platform-tests/layout-instability/buffer-layout-shift.html +++ b/tests/wpt/web-platform-tests/layout-instability/buffer-layout-shift.html @@ -30,8 +30,11 @@ assert_greater_than_equal(entry.startTime, startTime) assert_less_than_equal(entry.startTime, endTime) assert_equals(entry.duration, 0.0); - // The layout shift value should be: 300 * (100 + 60) / viewport size. - assert_equals(entry.value, 300 * (100 + 60) / + const maxDimension = Math.max(document.documentElement.clientWidth, + document.documentElement.clientHeight); + // The layout shift value should be: + // 300 * (100 + 60) * (60 / maxDimension) / viewport size. + assert_equals(entry.value, 300 * (100 + 60) * (60 / maxDimension) / (document.documentElement.clientWidth * document.documentElement.clientHeight)); t.done(); } diff --git a/tests/wpt/web-platform-tests/layout-instability/observe-layout-shift.html b/tests/wpt/web-platform-tests/layout-instability/observe-layout-shift.html index 25e4950f6a7..1aa429b6b68 100644 --- a/tests/wpt/web-platform-tests/layout-instability/observe-layout-shift.html +++ b/tests/wpt/web-platform-tests/layout-instability/observe-layout-shift.html @@ -51,8 +51,11 @@ assert_greater_than_equal(entry.startTime, startTime) assert_less_than_equal(entry.startTime, endTime) assert_equals(entry.duration, 0.0); - // The layout shift value should be: 300 * (100 + 60) / viewport size. - assert_equals(entry.value, 300 * (100 + 60) / + const maxDimension = Math.max(document.documentElement.clientWidth, + document.documentElement.clientHeight); + // The layout shift value should be: + // 300 * (100 + 60) * (60 / maxDimension) / viewport size. + assert_equals(entry.value, 300 * (100 + 60) * (60 / maxDimension) / (document.documentElement.clientWidth * document.documentElement.clientHeight)); }) ); @@ -75,8 +78,11 @@ assert_greater_than_equal(entry.startTime, startTime) assert_less_than_equal(entry.startTime, endTime) assert_equals(entry.duration, 0.0); - // The layout shift value should be: 300 * (100 + 60) / viewport size. - assert_equals(entry.value, 300 * (100 + 60) / + const maxDimension = Math.max(document.documentElement.clientWidth, + document.documentElement.clientHeight); + // The layout shift value should be: + // 300 * (100 + 60) * (60 / maxDimension) / viewport size. + assert_equals(entry.value, 300 * (100 + 60) * (60 / maxDimension) / (document.documentElement.clientWidth * document.documentElement.clientHeight)); // We should see that there was a click input entry assert_equals(entry.hadRecentInput, true); diff --git a/tests/wpt/web-platform-tests/native-file-system/FileSystemBaseHandle-remove.tentative.window.js b/tests/wpt/web-platform-tests/native-file-system/FileSystemBaseHandle-remove.tentative.window.js index 5a8e67b8478..a4eb2871104 100644 --- a/tests/wpt/web-platform-tests/native-file-system/FileSystemBaseHandle-remove.tentative.window.js +++ b/tests/wpt/web-platform-tests/native-file-system/FileSystemBaseHandle-remove.tentative.window.js @@ -3,39 +3,74 @@ promise_test(async t => cleanupSandboxedFileSystem(), 'Cleanup to setup test environment'); promise_test(async t => { - const dir = await FileSystemDirectoryHandle.getSystemDirectory({ type: 'sandbox' }); - const handle = await createFileWithContents(t, 'file-to-remove', '12345', dir); - await createFileWithContents(t, 'file-to-keep', 'abc'); - await handle.remove(); + const root = await FileSystemDirectoryHandle.getSystemDirectory({ type: 'sandbox' }); + const handle = await createFileWithContents(t, 'file-to-remove', '12345', root); + await createFileWithContents(t, 'file-to-keep', 'abc', root); + await root.removeEntry('file-to-remove'); - assert_array_equals(await getSortedDirectoryEntries(dir), ['file-to-keep']); + assert_array_equals(await getSortedDirectoryEntries(root), ['file-to-keep']); await promise_rejects(t, 'NotFoundError', getFileContents(handle)); -}, 'remove() to remove a file'); +}, 'removeEntry() to remove a file'); promise_test(async t => { - const handle = await createFileWithContents(t, 'file-to-remove', '12345'); - await handle.remove(); + const root = await FileSystemDirectoryHandle.getSystemDirectory({ type: 'sandbox' }); + const handle = await createFileWithContents(t, 'file-to-remove', '12345', root); + await root.removeEntry('file-to-remove'); - await promise_rejects(t, 'NotFoundError', handle.remove()); -}, 'remove() on an already removed file should fail'); + await promise_rejects(t, 'NotFoundError', root.removeEntry('file-to-remove')); +}, 'removeEntry() on an already removed file should fail'); promise_test(async t => { const root = await FileSystemDirectoryHandle.getSystemDirectory({ type: 'sandbox' }); const dir = await root.getDirectory('dir-to-remove', { create: true }); - await createFileWithContents(t, 'file-to-keep', 'abc'); - await dir.remove(); + await createFileWithContents(t, 'file-to-keep', 'abc', root); + await root.removeEntry('dir-to-remove'); assert_array_equals(await getSortedDirectoryEntries(root), ['file-to-keep']); await promise_rejects(t, 'NotFoundError', getSortedDirectoryEntries(dir)); -}, 'remove() to remove an empty directory'); +}, 'removeEntry() to remove an empty directory'); promise_test(async t => { const root = await FileSystemDirectoryHandle.getSystemDirectory({ type: 'sandbox' }); const dir = await root.getDirectory('dir-to-remove', { create: true }); - t.add_cleanup(() => dir.removeRecursively()); + t.add_cleanup(() => root.removeEntry('dir-to-remove', { recursive: true })); await createEmptyFile(t, 'file-in-dir', dir); - await promise_rejects(t, 'InvalidModificationError', dir.remove()); + await promise_rejects(t, 'InvalidModificationError', root.removeEntry('dir-to-remove')); assert_array_equals(await getSortedDirectoryEntries(root), ['dir-to-remove/']); assert_array_equals(await getSortedDirectoryEntries(dir), ['file-in-dir']); -}, 'remove() on a non-empty directory should fail'); +}, 'removeEntry() on a non-empty directory should fail'); + +promise_test(async t => { + const root = await FileSystemDirectoryHandle.getSystemDirectory({ type: 'sandbox' }); + const dir = await createDirectory(t, 'dir', root); + await promise_rejects(t, 'NotFoundError', dir.removeEntry("")); +}, 'removeEntry() with empty name should fail'); + +promise_test(async t => { + const root = await FileSystemDirectoryHandle.getSystemDirectory({ type: 'sandbox' }); + const dir = await createDirectory(t, 'dir', root); + await promise_rejects(t, 'SecurityError', dir.removeEntry(kCurrentDirectory)); +}, `removeEntry() with "${kCurrentDirectory}" name should fail`); + +promise_test(async t => { + const root = await FileSystemDirectoryHandle.getSystemDirectory({ type: 'sandbox' }); + const dir = await createDirectory(t, 'dir', root); + await promise_rejects(t, 'SecurityError', dir.removeEntry(kParentDirectory)); +}, `removeEntry() with "${kParentDirectory}" name should fail`); + +promise_test(async t => { + const root = await FileSystemDirectoryHandle.getSystemDirectory({ type: 'sandbox' }); + + const dir_name = 'dir-name'; + const dir = await createDirectory(t, dir_name, root); + + const file_name = 'file-name'; + await createEmptyFile(t, file_name, dir); + + for (let i = 0; i < kPathSeparators.length; ++i) { + const path_with_separator = `${dir_name}${kPathSeparators[i]}${file_name}`; + await promise_rejects(t, 'SecurityError', root.removeEntry(path_with_separator), + `removeEntry() must reject names containing "${kPathSeparators[i]}"`); + } +}, 'removeEntry() with a path separator should fail.'); diff --git a/tests/wpt/web-platform-tests/native-file-system/FileSystemDirectoryHandle-getDirectory.tentative.window.js b/tests/wpt/web-platform-tests/native-file-system/FileSystemDirectoryHandle-getDirectory.tentative.window.js index 0f8c1b13fa0..2064fc46f05 100644 --- a/tests/wpt/web-platform-tests/native-file-system/FileSystemDirectoryHandle-getDirectory.tentative.window.js +++ b/tests/wpt/web-platform-tests/native-file-system/FileSystemDirectoryHandle-getDirectory.tentative.window.js @@ -10,7 +10,7 @@ promise_test(async t => { promise_test(async t => { const root = await FileSystemDirectoryHandle.getSystemDirectory({ type: 'sandbox' }); const handle = await root.getDirectory('non-existing-dir', { create: true }); - t.add_cleanup(() => handle.removeRecursively()); + t.add_cleanup(() => root.removeEntry('non-existing-dir', { recursive: true })); assert_false(handle.isFile); assert_true(handle.isDirectory); @@ -22,7 +22,7 @@ promise_test(async t => { promise_test(async t => { const root = await FileSystemDirectoryHandle.getSystemDirectory({ type: 'sandbox' }); const existing_handle = await root.getDirectory('dir-with-contents', { create: true }); - t.add_cleanup(() => existing_handle.removeRecursively()); + t.add_cleanup(() => root.removeEntry('dir-with-contents', { recursive: true })); const file_handle = await createEmptyFile(t, 'test-file', existing_handle); const handle = await root.getDirectory('dir-with-contents', { create: false }); @@ -36,7 +36,7 @@ promise_test(async t => { promise_test(async t => { const root = await FileSystemDirectoryHandle.getSystemDirectory({ type: 'sandbox' }); const existing_handle = await root.getDirectory('dir-with-contents', { create: true }); - t.add_cleanup(() => existing_handle.removeRecursively()); + t.add_cleanup(() => root.removeEntry('dir-with-contents', { recursive: true })); const file_handle = await existing_handle.getFile('test-file', { create: true }); const handle = await root.getDirectory('dir-with-contents', { create: true }); diff --git a/tests/wpt/web-platform-tests/native-file-system/FileSystemDirectoryHandle-getFile.tentative.window.js b/tests/wpt/web-platform-tests/native-file-system/FileSystemDirectoryHandle-getFile.tentative.window.js index 0b27027f4ed..473cad4c9c3 100644 --- a/tests/wpt/web-platform-tests/native-file-system/FileSystemDirectoryHandle-getFile.tentative.window.js +++ b/tests/wpt/web-platform-tests/native-file-system/FileSystemDirectoryHandle-getFile.tentative.window.js @@ -10,7 +10,7 @@ promise_test(async t => { promise_test(async t => { const dir = await FileSystemDirectoryHandle.getSystemDirectory({ type: 'sandbox' }); const handle = await dir.getFile('non-existing-file', { create: true }); - t.add_cleanup(() => handle.remove()); + t.add_cleanup(() => dir.removeEntry('non-existing-file')); assert_true(handle.isFile); assert_false(handle.isDirectory); @@ -48,7 +48,7 @@ promise_test(async t => { promise_test(async t => { const dir = await FileSystemDirectoryHandle.getSystemDirectory({ type: 'sandbox' }); const dir_handle = await dir.getDirectory('dir-name', { create: true }); - t.add_cleanup(() => dir_handle.removeRecursively()); + t.add_cleanup(() => dir.removeEntry('dir-name', { recursive: true })); await promise_rejects(t, 'TypeMismatchError', dir.getFile('dir-name')); }, 'getFile(create=false) when a directory already exists with the same name'); @@ -56,7 +56,7 @@ promise_test(async t => { promise_test(async t => { const dir = await FileSystemDirectoryHandle.getSystemDirectory({ type: 'sandbox' }); const dir_handle = await dir.getDirectory('dir-name', { create: true }); - t.add_cleanup(() => dir_handle.removeRecursively()); + t.add_cleanup(() => dir.removeEntry('dir-name', { recursive: true })); await promise_rejects(t, 'TypeMismatchError', dir.getFile('dir-name', { create: true })); }, 'getFile(create=true) when a directory already exists with the same name'); diff --git a/tests/wpt/web-platform-tests/native-file-system/resources/test-helpers.js b/tests/wpt/web-platform-tests/native-file-system/resources/test-helpers.js index e29927b8524..56c93b59750 100644 --- a/tests/wpt/web-platform-tests/native-file-system/resources/test-helpers.js +++ b/tests/wpt/web-platform-tests/native-file-system/resources/test-helpers.js @@ -15,12 +15,8 @@ if (navigator.userAgent.includes("Windows NT")) { async function cleanupSandboxedFileSystem() { const dir = await FileSystemDirectoryHandle.getSystemDirectory({ type: 'sandbox' }); - for await (let entry of dir.getEntries()) { - if (entry.isDirectory) - await entry.removeRecursively(); - else - await entry.remove(); - } + for await (let entry of dir.getEntries()) + dir.removeEntry(entry.name, { recursive: entry.isDirectory }); } async function getFileSize(handle) { @@ -60,7 +56,7 @@ async function createDirectory(test, name, parent) { const new_dir_handle = await parent_dir_handle.getDirectory(name, { create: true }); test.add_cleanup(async () => { try { - await new_dir_handle.removeRecursively(); + await parent_dir_handle.removeEntry(name, { recursive: true }); } catch (e) { // Ignore any errors when removing directories, as tests might // have already removed the directory. @@ -74,7 +70,7 @@ async function createEmptyFile(test, name, parent) { const handle = await dir.getFile(name, { create: true }); test.add_cleanup(async () => { try { - await handle.remove(); + await dir.removeEntry(name); } catch (e) { // Ignore any errors when removing files, as tests might already remove the file. } diff --git a/tests/wpt/web-platform-tests/pointerevents/pointerevent_mouse_pointercapture_in_frame.html b/tests/wpt/web-platform-tests/pointerevents/pointerevent_mouse_pointercapture_in_frame.html deleted file mode 100644 index 83b4c1becc4..00000000000 --- a/tests/wpt/web-platform-tests/pointerevents/pointerevent_mouse_pointercapture_in_frame.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - -
- -
- - - diff --git a/tests/wpt/web-platform-tests/pointerevents/pointerevent_pointercapture_in_frame.html b/tests/wpt/web-platform-tests/pointerevents/pointerevent_pointercapture_in_frame.html new file mode 100644 index 00000000000..a4107fd707a --- /dev/null +++ b/tests/wpt/web-platform-tests/pointerevents/pointerevent_pointercapture_in_frame.html @@ -0,0 +1,160 @@ + + + + + + + + +
+ +
+ + + diff --git a/tests/wpt/web-platform-tests/pointerevents/resources/pointerevent_mouse_pointercapture-iframe.html b/tests/wpt/web-platform-tests/pointerevents/resources/pointerevent_pointercapture-iframe.html similarity index 83% rename from tests/wpt/web-platform-tests/pointerevents/resources/pointerevent_mouse_pointercapture-iframe.html rename to tests/wpt/web-platform-tests/pointerevents/resources/pointerevent_pointercapture-iframe.html index 817c6123cf9..10075662698 100644 --- a/tests/wpt/web-platform-tests/pointerevents/resources/pointerevent_mouse_pointercapture-iframe.html +++ b/tests/wpt/web-platform-tests/pointerevents/resources/pointerevent_pointercapture-iframe.html @@ -1,4 +1,9 @@ + - \ No newline at end of file + diff --git a/tests/wpt/web-platform-tests/preload/subresource-integrity.html b/tests/wpt/web-platform-tests/preload/subresource-integrity.html index 08c7854a9ec..52ec0f62bef 100644 --- a/tests/wpt/web-platform-tests/preload/subresource-integrity.html +++ b/tests/wpt/web-platform-tests/preload/subresource-integrity.html @@ -27,6 +27,12 @@ sha384: 'sha384-wDAWxH4tOWBwAwHfBn9B7XuNmFxHTMeigAMwn0iVQ0zq3FtmYMLxihcGnU64CwcX', sha512: 'sha512-9wXDjd6Wq3H6nPAhI9zOvG7mJkUr03MTxaO+8ztTKnfJif42laL93Be/IF6YYZHHF4esitVYxiwpY2HSZX4l6w==' }, + { + destination: 'image', ext: '.png', supports_sri: false, + sha256: 'sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=', + sha384: 'sha384-OLBgp1GsljhM2TJ+sbHjaiH9txEUvgdDTAzHv2P24donTt6/529l+9Ua0vFImLlb', + sha512: 'sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==' + }, // TODO(domfarolino): Add more destinations. ]; diff --git a/tests/wpt/web-platform-tests/resources/sriharness.js b/tests/wpt/web-platform-tests/resources/sriharness.js index fe8ad2b4270..d30d483e329 100644 --- a/tests/wpt/web-platform-tests/resources/sriharness.js +++ b/tests/wpt/web-platform-tests/resources/sriharness.js @@ -34,6 +34,13 @@ SRIScriptTest.prototype.execute = function() { document.body.appendChild(e); }; +function set_extra_attributes(element, attrs) { + // Apply the rest of the attributes, if any. + for (const [attr_name, attr_val] of Object.entries(attrs)) { + element[attr_name] = attr_val; + } +} + function buildElementFromDestination(resource_url, destination, attrs) { // Assert: |destination| is a valid destination. let element; @@ -45,26 +52,24 @@ function buildElementFromDestination(resource_url, destination, attrs) { switch (destination) { case "script": element = document.createElement(destination); + set_extra_attributes(element, attrs); element.src = resource_url; break; case "style": element = document.createElement('link'); + set_extra_attributes(element, attrs); element.rel = 'stylesheet'; element.href = resource_url; break; case "image": element = document.createElement('img'); + set_extra_attributes(element, attrs); element.src = resource_url; break; default: assert_unreached("INVALID DESTINATION"); } - // Apply the rest of the attributes, if any. - for (const [attr_name, attr_val] of Object.entries(attrs)) { - element[attr_name] = attr_val; - } - return element; } diff --git a/tests/wpt/web-platform-tests/subresource-integrity/image.png b/tests/wpt/web-platform-tests/subresource-integrity/image.png new file mode 100644 index 00000000000..01c9666a8de Binary files /dev/null and b/tests/wpt/web-platform-tests/subresource-integrity/image.png differ diff --git a/tests/wpt/web-platform-tests/web-nfc/NFCWriter_push.https.html b/tests/wpt/web-platform-tests/web-nfc/NFCWriter_push.https.html index 5a14b4090af..0b804615930 100644 --- a/tests/wpt/web-platform-tests/web-nfc/NFCWriter_push.https.html +++ b/tests/wpt/web-platform-tests/web-nfc/NFCWriter_push.https.html @@ -132,7 +132,7 @@ promise_test(t => { const promises = []; invalid_signals.forEach(invalid_signal => { promises.push( - promise_rejects(t, 'TypeError', writer.push(test_text_data, { signal: invalid_signal }))); + promise_rejects(t, new TypeError(), writer.push(test_text_data, { signal: invalid_signal }))); }); return Promise.all(promises); }, "NFCWriter.push should fail if signal is not an AbortSignal."); diff --git a/tests/wpt/web-platform-tests/webrtc/RTCStats-helper.js b/tests/wpt/web-platform-tests/webrtc/RTCStats-helper.js index e91b40b6854..5cd7d2c9e0e 100644 --- a/tests/wpt/web-platform-tests/webrtc/RTCStats-helper.js +++ b/tests/wpt/web-platform-tests/webrtc/RTCStats-helper.js @@ -547,15 +547,17 @@ function validateMediaStreamTrackStats(statsReport, stats) { assert_optional_unsigned_int_field(stats, 'partialFramesLost'); assert_optional_unsigned_int_field(stats, 'fullFramesLost'); } else { - assert_number_field(stats, 'audioLevel'); - assert_optional_number_field(stats, 'totalAudioEnergy'); + if (stats['remoteSource']) { + assert_number_field(stats, 'audioLevel'); + assert_optional_number_field(stats, 'totalAudioEnergy'); + assert_optional_number_field(stats, 'totalSamplesDuration'); + } assert_optional_boolean_field(stats, 'voiceActivityFlag'); assert_optional_number_field(stats, 'echoReturnLoss'); assert_optional_number_field(stats, 'echoReturnLossEnhancement'); assert_optional_unsigned_int_field(stats, 'totalSamplesSent'); assert_optional_unsigned_int_field(stats, 'totalSamplesReceived'); - assert_optional_number_field(stats, 'totalSamplesDuration'); assert_optional_unsigned_int_field(stats, 'concealedSamples'); assert_optional_unsigned_int_field(stats, 'concealmentEvents'); assert_optional_number_field(stats, 'jitterBufferDelay'); diff --git a/tests/wpt/web-platform-tests/xhr/sync-xhr-and-window-onload.html b/tests/wpt/web-platform-tests/xhr/sync-xhr-and-window-onload.html new file mode 100644 index 00000000000..3ba9e7ab2e8 --- /dev/null +++ b/tests/wpt/web-platform-tests/xhr/sync-xhr-and-window-onload.html @@ -0,0 +1,25 @@ + + + + + +