diff --git a/tests/wpt/metadata/FileAPI/url/url-in-tags-revoke.window.js.ini b/tests/wpt/metadata/FileAPI/url/url-in-tags-revoke.window.js.ini index a9e46713244..76b398963ae 100644 --- a/tests/wpt/metadata/FileAPI/url/url-in-tags-revoke.window.js.ini +++ b/tests/wpt/metadata/FileAPI/url/url-in-tags-revoke.window.js.ini @@ -7,7 +7,7 @@ expected: FAIL [Opening a blob URL in a new window immediately before revoking it works.] - expected: TIMEOUT + expected: FAIL [Opening a blob URL in a noopener about:blank window immediately before revoking it works.] expected: FAIL diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 3254c16c645..d4bf4c6f4f2 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -203889,6 +203889,102 @@ {} ] ], + "svg/geometry/reftests/circle-001.svg": [ + [ + "svg/geometry/reftests/circle-001.svg", + [ + [ + "/svg/geometry/reftests/circle-ref.svg", + "==" + ] + ], + {} + ] + ], + "svg/geometry/reftests/circle-002.svg": [ + [ + "svg/geometry/reftests/circle-002.svg", + [ + [ + "/svg/geometry/reftests/circle-ref.svg", + "==" + ] + ], + {} + ] + ], + "svg/geometry/reftests/circle-003.svg": [ + [ + "svg/geometry/reftests/circle-003.svg", + [ + [ + "/svg/geometry/reftests/circle-ref.svg", + "==" + ] + ], + {} + ] + ], + "svg/geometry/reftests/circle-004.svg": [ + [ + "svg/geometry/reftests/circle-004.svg", + [ + [ + "/svg/geometry/reftests/circle-ref.svg", + "==" + ] + ], + {} + ] + ], + "svg/geometry/reftests/ellipse-001.svg": [ + [ + "svg/geometry/reftests/ellipse-001.svg", + [ + [ + "/svg/geometry/reftests/ellipse-ref.svg", + "==" + ] + ], + {} + ] + ], + "svg/geometry/reftests/ellipse-002.svg": [ + [ + "svg/geometry/reftests/ellipse-002.svg", + [ + [ + "/svg/geometry/reftests/ellipse-ref.svg", + "==" + ] + ], + {} + ] + ], + "svg/geometry/reftests/ellipse-003.svg": [ + [ + "svg/geometry/reftests/ellipse-003.svg", + [ + [ + "/svg/geometry/reftests/ellipse-ref.svg", + "==" + ] + ], + {} + ] + ], + "svg/geometry/reftests/ellipse-004.svg": [ + [ + "svg/geometry/reftests/ellipse-004.svg", + [ + [ + "/svg/geometry/reftests/ellipse-ref.svg", + "==" + ] + ], + {} + ] + ], "svg/geometry/reftests/percentage-attribute.svg": [ [ "svg/geometry/reftests/percentage-attribute.svg", @@ -203913,6 +204009,54 @@ {} ] ], + "svg/geometry/reftests/rect-001.svg": [ + [ + "svg/geometry/reftests/rect-001.svg", + [ + [ + "/svg/geometry/reftests/rect-ref.svg", + "==" + ] + ], + {} + ] + ], + "svg/geometry/reftests/rect-002.svg": [ + [ + "svg/geometry/reftests/rect-002.svg", + [ + [ + "/svg/geometry/reftests/rect-ref.svg", + "==" + ] + ], + {} + ] + ], + "svg/geometry/reftests/rect-003.svg": [ + [ + "svg/geometry/reftests/rect-003.svg", + [ + [ + "/svg/geometry/reftests/rect-ref.svg", + "==" + ] + ], + {} + ] + ], + "svg/geometry/reftests/rect-004.svg": [ + [ + "svg/geometry/reftests/rect-004.svg", + [ + [ + "/svg/geometry/reftests/rect-ref.svg", + "==" + ] + ], + {} + ] + ], "svg/linking/reftests/href-a-element-attr-change.html": [ [ "svg/linking/reftests/href-a-element-attr-change.html", @@ -259722,6 +259866,9 @@ "css/support/ruler-v-50px.png": [ [] ], + "css/support/shorthand-testcommon.js": [ + [] + ], "css/support/square-purple.png": [ [] ], @@ -277341,6 +277488,12 @@ "resource-timing/resources/all_resource_types.htm": [ [] ], + "resource-timing/resources/blank-with-tao.html": [ + [] + ], + "resource-timing/resources/blank-with-tao.html.headers": [ + [] + ], "resource-timing/resources/blank_page_green.htm": [ [] ], @@ -280200,9 +280353,18 @@ "svg/extensibility/foreignObject/will-change-in-transformed-foreign-object-ref.html": [ [] ], + "svg/geometry/reftests/circle-ref.svg": [ + [] + ], + "svg/geometry/reftests/ellipse-ref.svg": [ + [] + ], "svg/geometry/reftests/percentage-ref.svg": [ [] ], + "svg/geometry/reftests/rect-ref.svg": [ + [] + ], "svg/import/woffs/Blocky.woff": [ [] ], @@ -311891,6 +312053,12 @@ {} ] ], + "css/css-align/parsing/gap-shorthand.html": [ + [ + "css/css-align/parsing/gap-shorthand.html", + {} + ] + ], "css/css-align/parsing/gap-valid.html": [ [ "css/css-align/parsing/gap-valid.html", @@ -311963,6 +312131,12 @@ {} ] ], + "css/css-align/parsing/place-content-shorthand.html": [ + [ + "css/css-align/parsing/place-content-shorthand.html", + {} + ] + ], "css/css-align/parsing/place-content-valid.html": [ [ "css/css-align/parsing/place-content-valid.html", @@ -311981,6 +312155,12 @@ {} ] ], + "css/css-align/parsing/place-items-shorthand.html": [ + [ + "css/css-align/parsing/place-items-shorthand.html", + {} + ] + ], "css/css-align/parsing/place-items-valid.html": [ [ "css/css-align/parsing/place-items-valid.html", @@ -311999,6 +312179,12 @@ {} ] ], + "css/css-align/parsing/place-self-shorthand.html": [ + [ + "css/css-align/parsing/place-self-shorthand.html", + {} + ] + ], "css/css-align/parsing/place-self-valid.html": [ [ "css/css-align/parsing/place-self-valid.html", @@ -353218,7 +353404,9 @@ "html/semantics/embedded-content/media-elements/media_fragment_seek.html": [ [ "html/semantics/embedded-content/media-elements/media_fragment_seek.html", - {} + { + "timeout": "long" + } ] ], "html/semantics/embedded-content/media-elements/mime-types/canPlayType.html": [ @@ -393551,6 +393739,12 @@ {} ] ], + "resource-timing/crossorigin-sandwich-partial-TAO.sub.html": [ + [ + "resource-timing/crossorigin-sandwich-partial-TAO.sub.html", + {} + ] + ], "resource-timing/document-domain-no-impact-loader.sub.html": [ [ "resource-timing/document-domain-no-impact-loader.sub.html", @@ -404449,6 +404643,12 @@ {} ] ], + "svg/painting/parsing/marker-shorthand.svg": [ + [ + "svg/painting/parsing/marker-shorthand.svg", + {} + ] + ], "svg/painting/parsing/marker-start-computed.svg": [ [ "svg/painting/parsing/marker-start-computed.svg", @@ -410535,18 +410735,18 @@ {} ] ], - "web-nfc/NFCReader.https.html": [ - [ - "web-nfc/NFCReader.https.html", - {} - ] - ], "web-nfc/NFCReader_options.https.html": [ [ "web-nfc/NFCReader_options.https.html", {} ] ], + "web-nfc/NFCReader_scan.https.html": [ + [ + "web-nfc/NFCReader_scan.https.html", + {} + ] + ], "web-nfc/NFCReadingEvent_constructor.https.html": [ [ "web-nfc/NFCReadingEvent_constructor.https.html", @@ -456216,7 +456416,7 @@ "support" ], "common/security-features/resources/common.sub.js": [ - "64d2b9ffb4e3b2231f3b90313c4376ba2f4d867a", + "12776b1a4b55dc76415ea63abc4a93dab2fedd2a", "support" ], "common/security-features/resources/common.sub.js.headers": [ @@ -456340,7 +456540,7 @@ "support" ], "common/security-features/tools/spec_validator.py": [ - "dae5c6e35a3fe978571e9976c6aaaf1c5d3c1076", + "06a5acce23a41ad0157871bc2d5de26d307a1c53", "support" ], "common/security-features/tools/template/disclaimer.template": [ @@ -539875,6 +540075,10 @@ "c2eae8f7aad23be0bda0dc423b62bd6cece1e1d0", "testharness" ], + "css/css-align/parsing/gap-shorthand.html": [ + "52397fb744b990c3b9227f4f7a68a9004223007e", + "testharness" + ], "css/css-align/parsing/gap-valid.html": [ "3104e3fbbdf31742bc7247180aef51f8e8b24c4c", "testharness" @@ -539923,6 +540127,10 @@ "3fcd9a8dbed1b488ed16a40945fcb1e48c4fe6b8", "testharness" ], + "css/css-align/parsing/place-content-shorthand.html": [ + "a46c58a29b284e35c15a78d3c489038cadd94e20", + "testharness" + ], "css/css-align/parsing/place-content-valid.html": [ "a83aa4cec86db72adb691c8ad1bb061bb793267e", "testharness" @@ -539935,6 +540143,10 @@ "9468d30e2e745ddc576b4bee18923d6943286222", "testharness" ], + "css/css-align/parsing/place-items-shorthand.html": [ + "991510b5b6b524ea8228ff75c87e722519166623", + "testharness" + ], "css/css-align/parsing/place-items-valid.html": [ "72179bf2db0dcc7b76c8e0bbe5fe42ee8d81f9f3", "testharness" @@ -539947,6 +540159,10 @@ "8a7a2ab187f9a34593d46da69d5d29ff62a7d716", "testharness" ], + "css/css-align/parsing/place-self-shorthand.html": [ + "52afa92b40982096940041a7e7c632e0b6885226", + "testharness" + ], "css/css-align/parsing/place-self-valid.html": [ "36a8bd5026eab2870307c223028b499c02c92099", "testharness" @@ -573848,7 +574064,7 @@ "testharness" ], "css/css-scroll-anchoring/text-anchor-in-vertical-rl.html": [ - "2a56298e982888fcf1745137b9e8868bae70a76a", + "0edf950936b2739aec9bded7c221d250e43c223a", "testharness" ], "css/css-scroll-anchoring/wrapped-text.html": [ @@ -607247,6 +607463,10 @@ "84141028020b7e8cdf2412acbca3c799ba50a534", "support" ], + "css/support/shorthand-testcommon.js": [ + "1fd603c290c14d4672fc8f63f2d964da9867be78", + "support" + ], "css/support/square-purple.png": [ "0f522d78728417b0f74b694e2e47cd41c00359d1", "support" @@ -617400,7 +617620,7 @@ "support" ], "docs/writing-tests/test-templates.md": [ - "22f8f78920cacf46eb772a179180f23f9d92ca7a", + "f34b1d8d3334302d05bc4599e70a00c5e17dcdd0", "support" ], "docs/writing-tests/testdriver-tutorial.md": [ @@ -637312,7 +637532,7 @@ "testharness" ], "html/semantics/embedded-content/media-elements/media_fragment_seek.html": [ - "d6f6e6c30bf89cbb87c7fbab1529973aa69b03f6", + "2a0106ce166cef7f826efca55d447f0621048bc0", "testharness" ], "html/semantics/embedded-content/media-elements/mime-types/canPlayType.html": [ @@ -643280,11 +643500,11 @@ "testharness" ], "html/semantics/scripting-1/the-script-element/module/referrer-no-referrer.sub.html": [ - "e640fe468988b33bd992a07a195b7902c4d65d7a", + "b8866f9511867469a5987b2f918a812d22f3b861", "testharness" ], "html/semantics/scripting-1/the-script-element/module/referrer-origin-when-cross-origin.sub.html": [ - "1ca6b1dfda33e5a5dd7fa2b423979cbee8844a31", + "8351289029190f908c86ad507886ed393937ec45", "testharness" ], "html/semantics/scripting-1/the-script-element/module/referrer-origin.sub.html": [ @@ -647620,7 +647840,7 @@ "support" ], "interfaces/gamepad.idl": [ - "c0dee67b4d3245cd4e17e827d512fa289c189c14", + "b7497c276f1610139ef14c1cc4d0c34c1f2c406b", "support" ], "interfaces/generic-sensor.idl": [ @@ -647716,7 +647936,7 @@ "support" ], "interfaces/mediasession.idl": [ - "237cea53adf296d8e626e6828847df80c8cda41a", + "7a5a45c56c6c6ee4de947dceb2808bf15fba966a", "support" ], "interfaces/mediastream-recording.idl": [ @@ -647952,7 +648172,7 @@ "support" ], "interfaces/webrtc-stats.idl": [ - "ab437ce0ee11eb83a6b74ab83fb3afcedf7675a2", + "c2dc1f7a0b0a482d226b881995414b558fbe2baf", "support" ], "interfaces/webrtc.idl": [ @@ -649956,7 +650176,7 @@ "support" ], "mathml/support/feature-detection.js": [ - "6f1d033b5b9ce7d8c2a6f9bfff589189719b586f", + "1952d3b06c123955832d0f9d5e35031285703c73", "support" ], "mathml/support/layout-comparison.js": [ @@ -673576,13 +673796,17 @@ "testharness" ], "resource-timing/crossorigin-sandwich-TAO.sub.html": [ - "c3085950bd68ac72e1079a04d52ac3e1e1c603fb", + "04c5e2c9970c9fa1f6d4427a5a30fab4045f8e9b", "testharness" ], "resource-timing/crossorigin-sandwich-no-TAO.sub.html": [ "c7e7e5948dc5cbb5fb331112ab2dc562d5e430ad", "testharness" ], + "resource-timing/crossorigin-sandwich-partial-TAO.sub.html": [ + "2b748e9097dacea75424412beae53fe2bf7a2bb7", + "testharness" + ], "resource-timing/document-domain-no-impact-loader.sub.html": [ "8a1c433a5c3a7b79d92b797ee1057c624d4a9866", "testharness" @@ -673628,7 +673852,7 @@ "testharness" ], "resource-timing/resource_TAO_cross_origin_redirect_chain.html": [ - "522188279c3ab81ec27cd7e83f014ecf747b21a8", + "9089e8fbb00bb8c0e84d7ce7eac84c90b1ed3e04", "testharness" ], "resource-timing/resource_TAO_match_origin.htm": [ @@ -673763,6 +673987,14 @@ "bc7101c219230376ffec008dce73bc42f06cbe3f", "support" ], + "resource-timing/resources/blank-with-tao.html": [ + "b8a1947b77e25ac6b0d100c75932e8c0a67d846f", + "support" + ], + "resource-timing/resources/blank-with-tao.html.headers": [ + "7296361df3d1c5755acdb825661dbd9a1807b64f", + "support" + ], "resource-timing/resources/blank_page_green.htm": [ "b8a1947b77e25ac6b0d100c75932e8c0a67d846f", "support" @@ -673924,7 +674156,7 @@ "support" ], "resource-timing/resources/multi_redirect.py": [ - "39121ddbb45824240655eafd0ef6554334bcffd8", + "e70c90bb44827466cfd5a55960de47fe37038f2c", "support" ], "resource-timing/resources/navigate_back.html": [ @@ -674084,7 +674316,7 @@ "support" ], "resources/chromium/generic_sensor_mocks.js": [ - "572c0deced61d04b113f025c3b8c23e4be544998", + "d4ba89e199113b2aea9f393f0d38461ea1d30631", "support" ], "resources/chromium/generic_sensor_mocks.js.headers": [ @@ -674144,7 +674376,7 @@ "support" ], "resources/chromium/sensor_provider.mojom.js": [ - "d74ad97a281d90f0573924ed42af7c9f299fb30a", + "d82b15a304a2439f5206e5bc86b91c51fcf94bd8", "support" ], "resources/chromium/sms_mock.js": [ @@ -674724,7 +674956,7 @@ "support" ], "scroll-to-text-fragment/scroll-to-text-fragment.html": [ - "3e3cfcbbb5bdf9f9e7715f7c3c300211bfb1ab92", + "85f07f38229404e45f0afbb413ea950241238ff4", "testharness" ], "secure-contexts/META.yml": [ @@ -680684,7 +680916,7 @@ "testharness" ], "svg/animations/syncbase-remove-add-while-running.html": [ - "bebd537250151a254b2b672bc11ba28f80595790", + "5b3ae94488f0a83f61cf1b4af4f6c9dc613552dc", "testharness" ], "svg/coordinate-systems/abspos.html": [ @@ -680939,6 +681171,46 @@ "aad0e4e2937064224de6a2313379fb43ffdf8322", "testharness" ], + "svg/geometry/reftests/circle-001.svg": [ + "2fbd70d5a63d12a93d843a80477101b3c50beb78", + "reftest" + ], + "svg/geometry/reftests/circle-002.svg": [ + "7f98f56ad0f70f73df86d9f8ed2e3325b1cc6df8", + "reftest" + ], + "svg/geometry/reftests/circle-003.svg": [ + "74c32fb33cb94cbb8637fc2504026409eaac605a", + "reftest" + ], + "svg/geometry/reftests/circle-004.svg": [ + "36c9e0096f0272d0762deb3305b07e2022fa66f7", + "reftest" + ], + "svg/geometry/reftests/circle-ref.svg": [ + "36ccde7fce5f82093b4930f314f3a2558a5518f9", + "support" + ], + "svg/geometry/reftests/ellipse-001.svg": [ + "e6d394de206f8831136dbe916d55166038ee94c2", + "reftest" + ], + "svg/geometry/reftests/ellipse-002.svg": [ + "081617288a1b782f36bb513329f7b988c78fac4c", + "reftest" + ], + "svg/geometry/reftests/ellipse-003.svg": [ + "6b81eadf1b7cf7b85406336b5bc7bcc576338dea", + "reftest" + ], + "svg/geometry/reftests/ellipse-004.svg": [ + "1c6b132cd669f770a72a2f957f0784d8d0b946da", + "reftest" + ], + "svg/geometry/reftests/ellipse-ref.svg": [ + "57e6f4d5e854cd1672f987d5f639bcb1e6186d5e", + "support" + ], "svg/geometry/reftests/percentage-attribute.svg": [ "44c386d517179621fbf763d0c82c6750ca8d0f63", "reftest" @@ -680951,6 +681223,26 @@ "c2ca49341c5ec5d4d96d1541999893053146eecd", "reftest" ], + "svg/geometry/reftests/rect-001.svg": [ + "020e499dc297c093aeb8bfb27618da5b203bea41", + "reftest" + ], + "svg/geometry/reftests/rect-002.svg": [ + "e9b27db7e69984e494090744091da0b508550a62", + "reftest" + ], + "svg/geometry/reftests/rect-003.svg": [ + "d3d7c5abb406c1de8f6c2342da01fe06b1c058c0", + "reftest" + ], + "svg/geometry/reftests/rect-004.svg": [ + "926b2a8e0a93e53c32182428cc39ef668374495c", + "reftest" + ], + "svg/geometry/reftests/rect-ref.svg": [ + "ddfd51eed1f2403e2c6a964cee6a307c0d3838fb", + "support" + ], "svg/geometry/svg-baseval-in-display-none.html": [ "fa52d1b4c3f0918ee13127decf4b2e3d878bcf67", "testharness" @@ -683543,6 +683835,10 @@ "119fd706b12189342a6ad9d9d94c512df57ccbdc", "testharness" ], + "svg/painting/parsing/marker-shorthand.svg": [ + "930a4e29402b7998cab922aaac7503f186fd752d", + "testharness" + ], "svg/painting/parsing/marker-start-computed.svg": [ "08ef87516fcfc0059a3b0ec79e25642273ea7d12", "testharness" @@ -693392,7 +693688,7 @@ "support" ], "web-animations/animation-model/animation-types/property-types.js": [ - "80d3b8f77ff5589f2f4dc5ee69b4fa102786f85a", + "9f549c9a199e8078612932a7b666b85c0d7439ab", "support" ], "web-animations/animation-model/animation-types/visibility.html": [ @@ -693855,14 +694151,14 @@ "1cc9ce160be46955a9b15485ee4c040605722961", "testharness" ], - "web-nfc/NFCReader.https.html": [ - "448f2c74f5ca307c6afcfffa28cd1f1c66b6bfe5", - "testharness" - ], "web-nfc/NFCReader_options.https.html": [ "8b38f558a0a8fb03afac573bd8f39820f37cc4fa", "testharness" ], + "web-nfc/NFCReader_scan.https.html": [ + "638d0c5a1d1b8d0e2e8e8422bd4b9e9488512e54", + "testharness" + ], "web-nfc/NFCReadingEvent_constructor.https.html": [ "20585176b7f89a129fad99f17d068b2deb828f68", "testharness" diff --git a/tests/wpt/metadata/css/css-align/parsing/gap-shorthand.html.ini b/tests/wpt/metadata/css/css-align/parsing/gap-shorthand.html.ini new file mode 100644 index 00000000000..68b32a1fd27 --- /dev/null +++ b/tests/wpt/metadata/css/css-align/parsing/gap-shorthand.html.ini @@ -0,0 +1,13 @@ +[gap-shorthand.html] + [e.style['gap'\] = "10px 20%" should set the longhand values] + expected: FAIL + + [e.style['gap'\] = "normal calc(20% + 10px)" should set the longhand values] + expected: FAIL + + [e.style['gap'\] = "normal" should set the longhand values] + expected: FAIL + + [e.style['gap'\] = "10px normal" should set the longhand values] + expected: FAIL + diff --git a/tests/wpt/metadata/css/css-align/parsing/place-content-shorthand.html.ini b/tests/wpt/metadata/css/css-align/parsing/place-content-shorthand.html.ini new file mode 100644 index 00000000000..23e6b5e5544 --- /dev/null +++ b/tests/wpt/metadata/css/css-align/parsing/place-content-shorthand.html.ini @@ -0,0 +1,16 @@ +[place-content-shorthand.html] + [e.style['place-content'\] = "space-around" should set the longhand values] + expected: FAIL + + [e.style['place-content'\] = "first baseline" should set the longhand values] + expected: FAIL + + [e.style['place-content'\] = "space-evenly unsafe end" should set the longhand values] + expected: FAIL + + [e.style['place-content'\] = "normal" should set the longhand values] + expected: FAIL + + [e.style['place-content'\] = "last baseline flex-start" should set the longhand values] + expected: FAIL + diff --git a/tests/wpt/metadata/css/css-align/parsing/place-items-shorthand.html.ini b/tests/wpt/metadata/css/css-align/parsing/place-items-shorthand.html.ini new file mode 100644 index 00000000000..e4af2f3992f --- /dev/null +++ b/tests/wpt/metadata/css/css-align/parsing/place-items-shorthand.html.ini @@ -0,0 +1,13 @@ +[place-items-shorthand.html] + [e.style['place-items'\] = "stretch right legacy" should set the longhand values] + expected: FAIL + + [e.style['place-items'\] = "normal" should set the longhand values] + expected: FAIL + + [e.style['place-items'\] = "last baseline flex-start" should set the longhand values] + expected: FAIL + + [e.style['place-items'\] = "first baseline" should set the longhand values] + expected: FAIL + diff --git a/tests/wpt/metadata/css/css-align/parsing/place-self-shorthand.html.ini b/tests/wpt/metadata/css/css-align/parsing/place-self-shorthand.html.ini new file mode 100644 index 00000000000..0597a5b8c68 --- /dev/null +++ b/tests/wpt/metadata/css/css-align/parsing/place-self-shorthand.html.ini @@ -0,0 +1,13 @@ +[place-self-shorthand.html] + [e.style['place-self'\] = "normal" should set the longhand values] + expected: FAIL + + [e.style['place-self'\] = "unsafe self-start stretch" should set the longhand values] + expected: FAIL + + [e.style['place-self'\] = "last baseline flex-start" should set the longhand values] + expected: FAIL + + [e.style['place-self'\] = "first baseline" should set the longhand values] + expected: FAIL + diff --git a/tests/wpt/metadata/css/css-transforms/animation/perspective-interpolation.html.ini b/tests/wpt/metadata/css/css-transforms/animation/perspective-interpolation.html.ini index a92abebadd0..c511d92d674 100644 --- a/tests/wpt/metadata/css/css-transforms/animation/perspective-interpolation.html.ini +++ b/tests/wpt/metadata/css/css-transforms/animation/perspective-interpolation.html.ini @@ -1,2 +1,4 @@ [perspective-interpolation.html] - expected: CRASH + [ perspective interpolation] + expected: FAIL + diff --git a/tests/wpt/metadata/css/cssom-view/matchMedia-display-none-iframe.html.ini b/tests/wpt/metadata/css/cssom-view/matchMedia-display-none-iframe.html.ini deleted file mode 100644 index e6e1f29e274..00000000000 --- a/tests/wpt/metadata/css/cssom-view/matchMedia-display-none-iframe.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[matchMedia-display-none-iframe.html] - expected: ERROR diff --git a/tests/wpt/metadata/dom/nodes/Document-contentType/contentType/contenttype_txt.html.ini b/tests/wpt/metadata/dom/nodes/Document-contentType/contentType/contenttype_txt.html.ini deleted file mode 100644 index c3916f8555d..00000000000 --- a/tests/wpt/metadata/dom/nodes/Document-contentType/contentType/contenttype_txt.html.ini +++ /dev/null @@ -1,2 +0,0 @@ -[contenttype_txt.html] - expected: CRASH 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 6e815bbd094..7e9e768846c 100644 --- a/tests/wpt/metadata/fetch/content-type/response.window.js.ini +++ b/tests/wpt/metadata/fetch/content-type/response.window.js.ini @@ -312,21 +312,21 @@ [ invoker: invokeFromIframe, }, + "iframe-blank": { // + invoker: invokeFromIframe, + }, "worker-classic": { // Classic dedicated worker loaded from same-origin. invoker: invokeFromWorker.bind(undefined, false, {}), @@ -1204,35 +1207,53 @@ function invokeFromIframe(subresource, sourceContextList) { encodeURIComponent(JSON.stringify( currentSourceContext.policyDeliveries || [])); + let iframe; let promise; if (currentSourceContext.sourceContextType === 'srcdoc') { promise = fetch(frameUrl) .then(r => r.text()) .then(srcdoc => { - return createElement("iframe", {srcdoc: srcdoc}, document.body, true); + iframe = createElement( + "iframe", {srcdoc: srcdoc}, document.body, true); + return iframe.eventPromise; }); } else if (currentSourceContext.sourceContextType === 'iframe') { - promise = Promise.resolve( - createElement("iframe", {src: frameUrl}, document.body, true)); + iframe = createElement("iframe", {src: frameUrl}, document.body, true); + promise = iframe.eventPromise; + } else if (currentSourceContext.sourceContextType === 'iframe-blank') { + let frameContent; + promise = fetch(frameUrl) + .then(r => r.text()) + .then(t => { + frameContnent = t; + iframe = createElement("iframe", {}, document.body, true); + return iframe.eventPromise; + }) + .then(() => { + // Reinitialize `iframe.eventPromise` with a new promise + // that catches the load event for the document.write() below. + bindEvents(iframe); + + iframe.contentDocument.write(frameContent); + iframe.contentDocument.close(); + return iframe.eventPromise; + }); } return promise - .then(iframe => { - return iframe.eventPromise - .then(() => { - const promise = bindEvents2( - window, "message", iframe, "error", window, "error"); - iframe.contentWindow.postMessage( - {subresource: subresource, - sourceContextList: sourceContextList.slice(1)}, - "*"); - return promise; - }) - .then(event => { - if (event.data.error) - return Promise.reject(event.data.error); - return event.data; - }); + .then(() => { + const promise = bindEvents2( + window, "message", iframe, "error", window, "error"); + iframe.contentWindow.postMessage( + {subresource: subresource, + sourceContextList: sourceContextList.slice(1)}, + "*"); + return promise; + }) + .then(event => { + if (event.data.error) + return Promise.reject(event.data.error); + return event.data; }); } diff --git a/tests/wpt/web-platform-tests/common/security-features/tools/spec_validator.py b/tests/wpt/web-platform-tests/common/security-features/tools/spec_validator.py index dae5c6e35a3..06a5acce23a 100755 --- a/tests/wpt/web-platform-tests/common/security-features/tools/spec_validator.py +++ b/tests/wpt/web-platform-tests/common/security-features/tools/spec_validator.py @@ -101,9 +101,11 @@ def validate(spec_json, details): valid_test_expansion_fields = ['name'] + test_expansion_schema.keys() + # Should be consistent with `sourceContextMap` in + # `/common/security-features/resources/common.sub.js`. valid_source_context_names = [ - "top", "iframe", "srcdoc", "worker-classic", "worker-module", - "worker-classic-data", "worker-module-data" + "top", "iframe", "iframe-blank", "srcdoc", "worker-classic", + "worker-module", "worker-classic-data", "worker-module-data" ] valid_subresource_names = [ diff --git a/tests/wpt/web-platform-tests/css/css-align/parsing/gap-shorthand.html b/tests/wpt/web-platform-tests/css/css-align/parsing/gap-shorthand.html new file mode 100644 index 00000000000..52397fb744b --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-align/parsing/gap-shorthand.html @@ -0,0 +1,35 @@ + + + + +CSS Box Alignment Level 3: gap sets longhands + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/css/css-align/parsing/place-content-shorthand.html b/tests/wpt/web-platform-tests/css/css-align/parsing/place-content-shorthand.html new file mode 100644 index 00000000000..a46c58a29b2 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-align/parsing/place-content-shorthand.html @@ -0,0 +1,40 @@ + + + + +CSS Box Alignment Level 3: place-content sets longhands + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/css/css-align/parsing/place-items-shorthand.html b/tests/wpt/web-platform-tests/css/css-align/parsing/place-items-shorthand.html new file mode 100644 index 00000000000..991510b5b6b --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-align/parsing/place-items-shorthand.html @@ -0,0 +1,35 @@ + + + + +CSS Box Alignment Level 3: place-items sets longhands + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/css/css-align/parsing/place-self-shorthand.html b/tests/wpt/web-platform-tests/css/css-align/parsing/place-self-shorthand.html new file mode 100644 index 00000000000..52afa92b409 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-align/parsing/place-self-shorthand.html @@ -0,0 +1,36 @@ + + + + +CSS Box Alignment Level 3: place-self sets longhands + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/css/css-scroll-anchoring/text-anchor-in-vertical-rl.html b/tests/wpt/web-platform-tests/css/css-scroll-anchoring/text-anchor-in-vertical-rl.html index 2a56298e982..0edf950936b 100644 --- a/tests/wpt/web-platform-tests/css/css-scroll-anchoring/text-anchor-in-vertical-rl.html +++ b/tests/wpt/web-platform-tests/css/css-scroll-anchoring/text-anchor-in-vertical-rl.html @@ -22,9 +22,9 @@ var displayMe = document.getElementById("displayMe"); var displayMeToo = document.getElementById("displayMeToo"); // Scroll the text container into view. - container.scrollLeft = 100; + container.scrollLeft = -300; displayMe.style.display = "inline"; displayMeToo.style.display = "block"; - assert_equals(container.scrollLeft, 300); + assert_equals(container.scrollLeft, -400); }, "Line at edge of scrollport shouldn't jump visually when content is inserted before"); diff --git a/tests/wpt/web-platform-tests/css/support/shorthand-testcommon.js b/tests/wpt/web-platform-tests/css/support/shorthand-testcommon.js new file mode 100644 index 00000000000..1fd603c290c --- /dev/null +++ b/tests/wpt/web-platform-tests/css/support/shorthand-testcommon.js @@ -0,0 +1,20 @@ +'use strict'; + +function test_shorthand_value(property, value, longhands) { + const stringifiedValue = JSON.stringify(value); + + test(function(){ + var div = document.getElementById('target') || document.createElement('div'); + div.style[property] = ""; + div.style[property] = value; + + for (let longhand of Object.keys(longhands).sort()) { + const readValue = div.style[longhand]; + assert_equals(readValue, longhands[longhand], longhand + " should be canonical"); + + div.style[longhand] = ""; + div.style[longhand] = readValue; + assert_equals(div.style[longhand], readValue, "serialization should round-trip"); + } + }, "e.style['" + property + "'] = " + stringifiedValue + " should set the longhand values"); +} diff --git a/tests/wpt/web-platform-tests/docs/writing-tests/test-templates.md b/tests/wpt/web-platform-tests/docs/writing-tests/test-templates.md index 22f8f78920c..f34b1d8d333 100644 --- a/tests/wpt/web-platform-tests/docs/writing-tests/test-templates.md +++ b/tests/wpt/web-platform-tests/docs/writing-tests/test-templates.md @@ -9,7 +9,7 @@ delimit text to be replaced and `#` represents a digit. ## Reftests -### Test +### HTML test