From ba1004338ea5bdc94843fd934de201c5fadcbc3e Mon Sep 17 00:00:00 2001 From: WPT Sync Bot Date: Tue, 27 Mar 2018 21:22:22 -0400 Subject: [PATCH] Update web-platform-tests to revision 45d92ebc552d67936169a17e86980636b112bf18 --- tests/wpt/metadata/MANIFEST.json | 319 ++++++++++++------ .../opening-the-input-stream/010.html.ini | 4 - .../dedicated-worker-import-meta.html.ini | 8 + .../position-fragment-htb-ltr.https.html | 54 +++ .../position-fragment-htb-rtl.https.html | 54 +++ .../css-layout-api/position-fragment-ref.html | 33 ++ .../position-fragment-vlr-ltr.https.html | 54 +++ .../position-fragment-vlr-rtl.https.html | 54 +++ .../position-fragment-vrl-ltr.https.html | 54 +++ .../position-fragment-vrl-rtl.https.html | 54 +++ .../support/layout-position-child-worklet.js | 22 ++ .../css-position/position-sticky-left.html | 18 +- .../position-sticky-nested-bottom-ref.html | 76 ----- .../position-sticky-nested-bottom.html | 183 ++++------ .../position-sticky-nested-left-ref.html | 76 ----- .../position-sticky-nested-left.html | 196 ++++------- .../position-sticky-nested-right-ref.html | 76 ----- .../position-sticky-nested-right.html | 198 ++++------- .../position-sticky-nested-top-ref.html | 83 ----- .../position-sticky-nested-top.html | 182 ++++------ .../css-position/position-sticky-right.html | 20 +- .../css/css-position/resources/sticky-util.js | 43 ++- .../properties/column-width.html | 24 ++ .../properties/radius.html | 51 +++ .../interfaces/payment-handler.idl | 2 +- .../can-make-payment-event.https.html | 6 +- .../payment-instruments.https.html | 28 +- .../payment-request-event.https.html | 2 +- .../navigation-timing.https.html | 111 ++++++ .../resources/navigation-timing-worker.js | 15 + .../modules/dedicated-worker-import-meta.html | 23 ++ .../dynamic-import-given-url-worker.js | 4 + .../resources/import-meta-url-worker.js | 1 + 33 files changed, 1160 insertions(+), 968 deletions(-) delete mode 100644 tests/wpt/metadata/html/dom/dynamic-markup-insertion/opening-the-input-stream/010.html.ini create mode 100644 tests/wpt/metadata/workers/modules/dedicated-worker-import-meta.html.ini create mode 100644 tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-htb-ltr.https.html create mode 100644 tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-htb-rtl.https.html create mode 100644 tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-vlr-ltr.https.html create mode 100644 tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-vlr-rtl.https.html create mode 100644 tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-vrl-ltr.https.html create mode 100644 tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-vrl-rtl.https.html create mode 100644 tests/wpt/web-platform-tests/css/css-layout-api/support/layout-position-child-worklet.js delete mode 100644 tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-bottom-ref.html delete mode 100644 tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-left-ref.html delete mode 100644 tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-right-ref.html delete mode 100644 tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-top-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/column-width.html create mode 100644 tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/radius.html create mode 100644 tests/wpt/web-platform-tests/service-workers/service-worker/navigation-timing.https.html create mode 100644 tests/wpt/web-platform-tests/service-workers/service-worker/resources/navigation-timing-worker.js create mode 100644 tests/wpt/web-platform-tests/workers/modules/dedicated-worker-import-meta.html create mode 100644 tests/wpt/web-platform-tests/workers/modules/resources/dynamic-import-given-url-worker.js create mode 100644 tests/wpt/web-platform-tests/workers/modules/resources/import-meta-url-worker.js diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 6c75798b1b1..b120cdca546 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -117941,6 +117941,78 @@ {} ] ], + "css/css-layout-api/position-fragment-htb-ltr.https.html": [ + [ + "/css/css-layout-api/position-fragment-htb-ltr.https.html", + [ + [ + "/css/css-layout-api/position-fragment-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-layout-api/position-fragment-htb-rtl.https.html": [ + [ + "/css/css-layout-api/position-fragment-htb-rtl.https.html", + [ + [ + "/css/css-layout-api/position-fragment-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-layout-api/position-fragment-vlr-ltr.https.html": [ + [ + "/css/css-layout-api/position-fragment-vlr-ltr.https.html", + [ + [ + "/css/css-layout-api/position-fragment-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-layout-api/position-fragment-vlr-rtl.https.html": [ + [ + "/css/css-layout-api/position-fragment-vlr-rtl.https.html", + [ + [ + "/css/css-layout-api/position-fragment-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-layout-api/position-fragment-vrl-ltr.https.html": [ + [ + "/css/css-layout-api/position-fragment-vrl-ltr.https.html", + [ + [ + "/css/css-layout-api/position-fragment-ref.html", + "==" + ] + ], + {} + ] + ], + "css/css-layout-api/position-fragment-vrl-rtl.https.html": [ + [ + "/css/css-layout-api/position-fragment-vrl-rtl.https.html", + [ + [ + "/css/css-layout-api/position-fragment-ref.html", + "==" + ] + ], + {} + ] + ], "css/css-layout-api/style-map-multi.https.html": [ [ "/css/css-layout-api/style-map-multi.https.html", @@ -122777,18 +122849,6 @@ {} ] ], - "css/css-position/position-sticky-nested-bottom.html": [ - [ - "/css/css-position/position-sticky-nested-bottom.html", - [ - [ - "/css/css-position/position-sticky-nested-bottom-ref.html", - "==" - ] - ], - {} - ] - ], "css/css-position/position-sticky-nested-inline.html": [ [ "/css/css-position/position-sticky-nested-inline.html", @@ -122801,30 +122861,6 @@ {} ] ], - "css/css-position/position-sticky-nested-left.html": [ - [ - "/css/css-position/position-sticky-nested-left.html", - [ - [ - "/css/css-position/position-sticky-nested-left-ref.html", - "==" - ] - ], - {} - ] - ], - "css/css-position/position-sticky-nested-right.html": [ - [ - "/css/css-position/position-sticky-nested-right.html", - [ - [ - "/css/css-position/position-sticky-nested-right-ref.html", - "==" - ] - ], - {} - ] - ], "css/css-position/position-sticky-nested-table.html": [ [ "/css/css-position/position-sticky-nested-table.html", @@ -122837,18 +122873,6 @@ {} ] ], - "css/css-position/position-sticky-nested-top.html": [ - [ - "/css/css-position/position-sticky-nested-top.html", - [ - [ - "/css/css-position/position-sticky-nested-top-ref.html", - "==" - ] - ], - {} - ] - ], "css/css-position/position-sticky-rendering.html": [ [ "/css/css-position/position-sticky-rendering.html", @@ -248314,6 +248338,11 @@ {} ] ], + "css/css-layout-api/position-fragment-ref.html": [ + [ + {} + ] + ], "css/css-layout-api/style-map-multi-ref.html": [ [ {} @@ -248334,6 +248363,11 @@ {} ] ], + "css/css-layout-api/support/layout-position-child-worklet.js": [ + [ + {} + ] + ], "css/css-lists/OWNERS": [ [ {} @@ -249784,36 +249818,16 @@ {} ] ], - "css/css-position/position-sticky-nested-bottom-ref.html": [ - [ - {} - ] - ], "css/css-position/position-sticky-nested-inline-ref.html": [ [ {} ] ], - "css/css-position/position-sticky-nested-left-ref.html": [ - [ - {} - ] - ], - "css/css-position/position-sticky-nested-right-ref.html": [ - [ - {} - ] - ], "css/css-position/position-sticky-nested-table-ref.html": [ [ {} ] ], - "css/css-position/position-sticky-nested-top-ref.html": [ - [ - {} - ] - ], "css/css-position/position-sticky-rendering-ref.html": [ [ {} @@ -292669,6 +292683,11 @@ {} ] ], + "service-workers/service-worker/resources/navigation-timing-worker.js": [ + [ + {} + ] + ], "service-workers/service-worker/resources/notification_icon.py": [ [ {} @@ -297969,11 +297988,21 @@ {} ] ], + "workers/modules/resources/dynamic-import-given-url-worker.js": [ + [ + {} + ] + ], "workers/modules/resources/dynamic-import-worker.js": [ [ {} ] ], + "workers/modules/resources/import-meta-url-worker.js": [ + [ + {} + ] + ], "workers/modules/resources/nested-dynamic-import-worker.js": [ [ {} @@ -314246,6 +314275,30 @@ {} ] ], + "css/css-position/position-sticky-nested-bottom.html": [ + [ + "/css/css-position/position-sticky-nested-bottom.html", + {} + ] + ], + "css/css-position/position-sticky-nested-left.html": [ + [ + "/css/css-position/position-sticky-nested-left.html", + {} + ] + ], + "css/css-position/position-sticky-nested-right.html": [ + [ + "/css/css-position/position-sticky-nested-right.html", + {} + ] + ], + "css/css-position/position-sticky-nested-top.html": [ + [ + "/css/css-position/position-sticky-nested-top.html", + {} + ] + ], "css/css-position/position-sticky-offset-overflow.html": [ [ "/css/css-position/position-sticky-offset-overflow.html", @@ -317528,6 +317581,12 @@ {} ] ], + "css/css-typed-om/the-stylepropertymap/properties/column-width.html": [ + [ + "/css/css-typed-om/the-stylepropertymap/properties/column-width.html", + {} + ] + ], "css/css-typed-om/the-stylepropertymap/properties/direction.html": [ [ "/css/css-typed-om/the-stylepropertymap/properties/direction.html", @@ -317852,6 +317911,12 @@ {} ] ], + "css/css-typed-om/the-stylepropertymap/properties/radius.html": [ + [ + "/css/css-typed-om/the-stylepropertymap/properties/radius.html", + {} + ] + ], "css/css-typed-om/the-stylepropertymap/properties/resize.html": [ [ "/css/css-typed-om/the-stylepropertymap/properties/resize.html", @@ -361178,6 +361243,12 @@ {} ] ], + "service-workers/service-worker/navigation-timing.https.html": [ + [ + "/service-workers/service-worker/navigation-timing.https.html", + {} + ] + ], "service-workers/service-worker/onactivate-script-error.https.html": [ [ "/service-workers/service-worker/onactivate-script-error.https.html", @@ -370170,6 +370241,12 @@ {} ] ], + "workers/modules/dedicated-worker-import-meta.html": [ + [ + "/workers/modules/dedicated-worker-import-meta.html", + {} + ] + ], "workers/modules/dedicated-worker-import.html": [ [ "/workers/modules/dedicated-worker-import.html", @@ -502713,6 +502790,34 @@ "a25a85095781de557edde6dd02b82ee052642bf1", "reftest" ], + "css/css-layout-api/position-fragment-htb-ltr.https.html": [ + "761ed3e46d6485b1208953c292015432da5f99e0", + "reftest" + ], + "css/css-layout-api/position-fragment-htb-rtl.https.html": [ + "8a2684c25ef3603e498cf33d32dc8a2c4b4a50d5", + "reftest" + ], + "css/css-layout-api/position-fragment-ref.html": [ + "42b0dbfd4a950f8e72c2de942682565c91b06bd1", + "support" + ], + "css/css-layout-api/position-fragment-vlr-ltr.https.html": [ + "afe6dc92c2d732a81ae2ca2c1747a12ef421c073", + "reftest" + ], + "css/css-layout-api/position-fragment-vlr-rtl.https.html": [ + "9db1e576eabcfb88ab8fcee3355195533798a427", + "reftest" + ], + "css/css-layout-api/position-fragment-vrl-ltr.https.html": [ + "c6c5f3c2d2adb96f140ab02f8ffa0ee1724c2f2b", + "reftest" + ], + "css/css-layout-api/position-fragment-vrl-rtl.https.html": [ + "bfeb2a9f1c84ebe1423ca6b92d8751f5106f1275", + "reftest" + ], "css/css-layout-api/style-map-multi-ref.html": [ "d33f700e795484641d3cc7db1c26e09dca952209", "support" @@ -502737,6 +502842,10 @@ "87af0bfedbe9d4ea23e904edc5b22382a5d5d56c", "support" ], + "css/css-layout-api/support/layout-position-child-worklet.js": [ + "7c05d553e6cba23d69bd40b9ad90e701440e9071", + "support" + ], "css/css-layout-api/supports.https.html": [ "be6b57f5a85f99a64e755da22411ace3fba2992f", "testharness" @@ -505674,20 +505783,16 @@ "testharness" ], "css/css-position/position-sticky-left.html": [ - "2a04672cdac818a6887eac7d6824ea85d3d0559d", + "d28b5ee55d5fed4b263b130df700092e14b9e784", "testharness" ], "css/css-position/position-sticky-margins.html": [ "3f6bc9537adf2a4d477f99866d73f42b65c26db3", "testharness" ], - "css/css-position/position-sticky-nested-bottom-ref.html": [ - "59a8e46358a8a5bf8638a2d1982c63becef5bc77", - "support" - ], "css/css-position/position-sticky-nested-bottom.html": [ - "3604a921be04927dd19b805b7c9abaed6d0e7c72", - "reftest" + "82b1bdada6bfc0c2b6fc04ee3fdd9036e807c1e4", + "testharness" ], "css/css-position/position-sticky-nested-inline-ref.html": [ "8fb9378e91a20b71ef886b9aac0147b25d00a9a3", @@ -505697,21 +505802,13 @@ "50be9f2fb6ab9295081f6f13705be4853e48fdde", "reftest" ], - "css/css-position/position-sticky-nested-left-ref.html": [ - "52804c5589c3035818cd653c1801a70645a9fe99", - "support" - ], "css/css-position/position-sticky-nested-left.html": [ - "c32881097147e285b6ee66e6239af4808d780c83", - "reftest" - ], - "css/css-position/position-sticky-nested-right-ref.html": [ - "5703ad6457deca332232e510dc479c39b7020d24", - "support" + "dabe2ee93d0f0078beacf5c715fd040558ad9c08", + "testharness" ], "css/css-position/position-sticky-nested-right.html": [ - "39683624316599779b0efcb347010b92694e02a6", - "reftest" + "023e0eea58b52a249c2313c533be38a033f40da0", + "testharness" ], "css/css-position/position-sticky-nested-table-ref.html": [ "7b8956bc720e2e25e7ff0bc5889812c26837ab58", @@ -505721,13 +505818,9 @@ "87a80629bcfcace28d4f13bce99325d55d317574", "reftest" ], - "css/css-position/position-sticky-nested-top-ref.html": [ - "66ea8b8c72023089d52e6ebdf5bfff5d56259bfc", - "support" - ], "css/css-position/position-sticky-nested-top.html": [ - "88e35164b6ede3adf9727989cf59ff9956bdbae7", - "reftest" + "ae24eeaea7f25860fa770141d0894abf9e961c5e", + "testharness" ], "css/css-position/position-sticky-offset-overflow.html": [ "cab620b2008a9df57abc6907b1199e35a4099241", @@ -505754,7 +505847,7 @@ "reftest" ], "css/css-position/position-sticky-right.html": [ - "80caf6fb1e6c84dbf3e371a11166ac5b71bba687", + "8bd2ae1a53ade0a524d98f5c8b0fe2ebce66d338", "testharness" ], "css/css-position/position-sticky-root-scroller.html": [ @@ -505862,7 +505955,7 @@ "reftest" ], "css/css-position/resources/sticky-util.js": [ - "c7b441a3a07276cad9528dd3ef7d82844d06e2d8", + "7f8a5b4d9047c07378473362acb3d001e70d5663", "support" ], "css/css-properties-values-api/register-property-syntax-parsing.html": [ @@ -523049,6 +523142,10 @@ "276ec2870bc105b046669daa0bdbeffdb080479c", "testharness" ], + "css/css-typed-om/the-stylepropertymap/properties/column-width.html": [ + "3f6faf5b2371d8be9483148f3bfa562710c9c3ef", + "testharness" + ], "css/css-typed-om/the-stylepropertymap/properties/direction.html": [ "b7c49aba4e8785f819beeb444c113d937d441089", "testharness" @@ -523265,6 +523362,10 @@ "4e3eccee58cec470febe4cd9a9149f4b4436487e", "testharness" ], + "css/css-typed-om/the-stylepropertymap/properties/radius.html": [ + "ae21056fb993efb7112e0bc42fe1269f6bc0c72e", + "testharness" + ], "css/css-typed-om/the-stylepropertymap/properties/resize.html": [ "533f287facbc82118469f75f9f88a1372848d3b2", "testharness" @@ -572718,7 +572819,7 @@ "support" ], "interfaces/payment-handler.idl": [ - "ddd283da0dadaffb3403652651c30f0f59007331", + "6d9157e515e419c7a2fffc61a1f8e3b23a4550ba", "support" ], "interfaces/payment-request.idl": [ @@ -582434,7 +582535,7 @@ "testharness" ], "payment-handler/can-make-payment-event.https.html": [ - "1433a0dcee409e808adc6ed5b65a532128a1d350", + "7a361f57439425d5ec5c583ad363d9acf9fa7e1d", "testharness" ], "payment-handler/interfaces.https.any.js": [ @@ -582450,11 +582551,11 @@ "support" ], "payment-handler/payment-instruments.https.html": [ - "14a67dbd2670c661d61ac8dc61c950e572369279", + "372d636227a5be6ede37e7d67cf24d03030eccf5", "testharness" ], "payment-handler/payment-request-event.https.html": [ - "f9556317297607b5e5f649343ae6f365a4df9552", + "37e76b630197399daa3eb5ea49e8a4150c61c29c", "testharness" ], "payment-handler/register-and-activate-service-worker.js": [ @@ -593421,6 +593522,10 @@ "109f463deeaad2d60d4dab644c782ad633e97a7d", "testharness" ], + "service-workers/service-worker/navigation-timing.https.html": [ + "cf5224b43bf0ba01ec409bf07faeed65e50162ed", + "testharness" + ], "service-workers/service-worker/onactivate-script-error.https.html": [ "bfef14af67c3a21523b5a7283d7cf86ac288f081", "testharness" @@ -594189,6 +594294,10 @@ "56447ddcf101a60c64b4d2f7168c21deb4b3c0a8", "support" ], + "service-workers/service-worker/resources/navigation-timing-worker.js": [ + "efe2c9dc9e63ee0f25a15ce1ed37f116e43e7255", + "support" + ], "service-workers/service-worker/resources/notification_icon.py": [ "ec72a4c120ccfac3a165576f59a0e02b945343b3", "support" @@ -608605,6 +608714,10 @@ "6bffa3be83d81e2faa93119e710e4fee93fb855e", "testharness" ], + "workers/modules/dedicated-worker-import-meta.html": [ + "ba8b24064e23f018ffd3ac9e4184d6f856123bff", + "testharness" + ], "workers/modules/dedicated-worker-import.html": [ "752698b4f8f7298ca2ecc74d41887117a636118a", "testharness" @@ -608617,10 +608730,18 @@ "f4df69196f64cd81e92705186325004ac94db659", "support" ], + "workers/modules/resources/dynamic-import-given-url-worker.js": [ + "372686abd1b2d2d09228a44f6420c646319e0bd1", + "support" + ], "workers/modules/resources/dynamic-import-worker.js": [ "444e313fe51923097e3672d88d0afd30aac5ecab", "support" ], + "workers/modules/resources/import-meta-url-worker.js": [ + "83f231a886c36543721c2b0204c18b97d10968f8", + "support" + ], "workers/modules/resources/nested-dynamic-import-worker.js": [ "4ee05f3be8a1b41a9e2fa3e24d40ec5103f67eac", "support" diff --git a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/opening-the-input-stream/010.html.ini b/tests/wpt/metadata/html/dom/dynamic-markup-insertion/opening-the-input-stream/010.html.ini deleted file mode 100644 index 33164945eb6..00000000000 --- a/tests/wpt/metadata/html/dom/dynamic-markup-insertion/opening-the-input-stream/010.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[010.html] - [Salvagability of document.opened document] - expected: FAIL - diff --git a/tests/wpt/metadata/workers/modules/dedicated-worker-import-meta.html.ini b/tests/wpt/metadata/workers/modules/dedicated-worker-import-meta.html.ini new file mode 100644 index 00000000000..5d11920aaf0 --- /dev/null +++ b/tests/wpt/metadata/workers/modules/dedicated-worker-import-meta.html.ini @@ -0,0 +1,8 @@ +[dedicated-worker-import-meta.html] + expected: ERROR + [Test import.meta.url on the top-level module script.] + expected: TIMEOUT + + [Test import.meta.url on the imported module script.] + expected: NOTRUN + diff --git a/tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-htb-ltr.https.html b/tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-htb-ltr.https.html new file mode 100644 index 00000000000..b09cb7067d5 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-htb-ltr.https.html @@ -0,0 +1,54 @@ + + + + + + + + + +
+
+
+
+ + diff --git a/tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-htb-rtl.https.html b/tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-htb-rtl.https.html new file mode 100644 index 00000000000..2d65b8cb988 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-htb-rtl.https.html @@ -0,0 +1,54 @@ + + + + + + + + + +
+
+
+
+ + diff --git a/tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-ref.html b/tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-ref.html new file mode 100644 index 00000000000..4ce0a6e39de --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-ref.html @@ -0,0 +1,33 @@ + + +
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-vlr-ltr.https.html b/tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-vlr-ltr.https.html new file mode 100644 index 00000000000..62a5980307d --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-vlr-ltr.https.html @@ -0,0 +1,54 @@ + + + + + + + + + +
+
+
+
+ + diff --git a/tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-vlr-rtl.https.html b/tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-vlr-rtl.https.html new file mode 100644 index 00000000000..a9983b1eb20 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-vlr-rtl.https.html @@ -0,0 +1,54 @@ + + + + + + + + + +
+
+
+
+ + diff --git a/tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-vrl-ltr.https.html b/tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-vrl-ltr.https.html new file mode 100644 index 00000000000..090128562f8 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-vrl-ltr.https.html @@ -0,0 +1,54 @@ + + + + + + + + + +
+
+
+
+ + diff --git a/tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-vrl-rtl.https.html b/tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-vrl-rtl.https.html new file mode 100644 index 00000000000..e16f26b1d4f --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-layout-api/position-fragment-vrl-rtl.https.html @@ -0,0 +1,54 @@ + + + + + + + + + +
+
+
+
+ + diff --git a/tests/wpt/web-platform-tests/css/css-layout-api/support/layout-position-child-worklet.js b/tests/wpt/web-platform-tests/css/css-layout-api/support/layout-position-child-worklet.js new file mode 100644 index 00000000000..1ccfeab5aeb --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-layout-api/support/layout-position-child-worklet.js @@ -0,0 +1,22 @@ +registerLayout('test', class { + static get childInputProperties() { + return [ + '--inline-offset', + '--block-offset', + ]; + } + + *intrinsicSizes() {} + *layout(children, edges, constraints, styleMap) { + const childFragments = yield children.map((child) => { + return child.layoutNextFragment({}); + }); + + for (let i = 0; i < children.length; i++) { + childFragments[i].inlineOffset = parseInt(children[i].styleMap.get('--inline-offset').toString()); + childFragments[i].blockOffset = parseInt(children[i].styleMap.get('--block-offset').toString()); + } + + return {autoBlockSize: 0, childFragments}; + } +}); diff --git a/tests/wpt/web-platform-tests/css/css-position/position-sticky-left.html b/tests/wpt/web-platform-tests/css/css-position/position-sticky-left.html index 0c8bb58b7cd..054cf10eabc 100644 --- a/tests/wpt/web-platform-tests/css/css-position/position-sticky-left.html +++ b/tests/wpt/web-platform-tests/css/css-position/position-sticky-left.html @@ -12,29 +12,29 @@ - -
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
- -
You should see three green and three blue boxes above. No red should be visible.
diff --git a/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-bottom.html b/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-bottom.html index d4d20e571a3..edea11fe132 100644 --- a/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-bottom.html +++ b/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-bottom.html @@ -1,135 +1,68 @@ Nested bottom-constrained position:sticky elements should render correctly - + - + - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
You should see three green and three blue boxes above. No red should be visible.
diff --git a/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-left-ref.html b/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-left-ref.html deleted file mode 100644 index d3ab0d593d6..00000000000 --- a/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-left-ref.html +++ /dev/null @@ -1,76 +0,0 @@ - -Reference for nested left-constrained position:sticky elements should render correctly - - - - - -
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
- -
You should see three green and three blue boxes above. No red should be visible.
diff --git a/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-left.html b/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-left.html index b5a23abeccf..755b69ac3c5 100644 --- a/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-left.html +++ b/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-left.html @@ -1,141 +1,75 @@ Nested left-constrained position:sticky elements should render correctly - + - + - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
You should see three green and three blue boxes above. No red should be visible.
diff --git a/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-right-ref.html b/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-right-ref.html deleted file mode 100644 index 07852ba6041..00000000000 --- a/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-right-ref.html +++ /dev/null @@ -1,76 +0,0 @@ - -Reference for position:sticky elements should respect the right constraint - - - - - -
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
- -
You should see three green and three blue boxes above. No red should be visible.
diff --git a/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-right.html b/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-right.html index 411f722eec7..9878aa774d8 100644 --- a/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-right.html +++ b/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-right.html @@ -1,149 +1,69 @@ Nested right-constrained position:sticky elements should render correctly - + - + - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
You should see three green and three blue boxes above. No red should be visible.
diff --git a/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-top-ref.html b/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-top-ref.html deleted file mode 100644 index f4696ce7d0a..00000000000 --- a/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-top-ref.html +++ /dev/null @@ -1,83 +0,0 @@ - -Reference for nested top-constrained position:sticky elements should render correctly - - - - - -
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
- -
You should see three green and three blue boxes above. No red should be visible.
diff --git a/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-top.html b/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-top.html index 1ed9dc2a210..5332b46cd0c 100644 --- a/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-top.html +++ b/tests/wpt/web-platform-tests/css/css-position/position-sticky-nested-top.html @@ -1,128 +1,74 @@ Nested top-constrainted position:sticky elements should render correctly - - + - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
You should see three green and three blue boxes above. No red should be visible.
diff --git a/tests/wpt/web-platform-tests/css/css-position/position-sticky-right.html b/tests/wpt/web-platform-tests/css/css-position/position-sticky-right.html index afa0f8807ce..d280a1f3fdd 100644 --- a/tests/wpt/web-platform-tests/css/css-position/position-sticky-right.html +++ b/tests/wpt/web-platform-tests/css/css-position/position-sticky-right.html @@ -12,29 +12,29 @@ + + + + +
+ diff --git a/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/radius.html b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/radius.html new file mode 100644 index 00000000000..ca785924cb5 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/radius.html @@ -0,0 +1,51 @@ + + +'radius' property + + + + + + + + +
+ diff --git a/tests/wpt/web-platform-tests/interfaces/payment-handler.idl b/tests/wpt/web-platform-tests/interfaces/payment-handler.idl index 8cf44ee116a..ec42e215b09 100644 --- a/tests/wpt/web-platform-tests/interfaces/payment-handler.idl +++ b/tests/wpt/web-platform-tests/interfaces/payment-handler.idl @@ -19,7 +19,7 @@ interface PaymentInstruments { dictionary PaymentInstrument { required DOMString name; sequence icons; - sequence enabledMethods; + DOMString method; object capabilities; }; dictionary ImageObject { diff --git a/tests/wpt/web-platform-tests/payment-handler/can-make-payment-event.https.html b/tests/wpt/web-platform-tests/payment-handler/can-make-payment-event.https.html index 3266c2cf40a..c10851eb896 100644 --- a/tests/wpt/web-platform-tests/payment-handler/can-make-payment-event.https.html +++ b/tests/wpt/web-platform-tests/payment-handler/can-make-payment-event.https.html @@ -24,7 +24,7 @@ async function registerApp(methodName) { } await registration.paymentManager.instruments.set(instrumentKey, { name: 'Test Payment Method', - enabledMethods: [methodName], + method: methodName, }); return registration; } @@ -310,7 +310,7 @@ promise_test(async t => { const registration = await registerApp(methodName); await registration.paymentManager.instruments.set(instrumentKey, { name: 'Test Payment Method', - enabledMethods: [methodName], + method: methodName, capabilities: { supportedTypes: [cardType], supportedNetworks: [cardNetwork], @@ -360,7 +360,7 @@ promise_test(async t => { const registration = await registerApp(methodName); await registration.paymentManager.instruments.set(instrumentKey, { name: 'Test Payment Method', - enabledMethods: [methodName], + method: methodName, capabilities: { supportedTypes: [cardType], supportedNetworks: [cardNetwork], diff --git a/tests/wpt/web-platform-tests/payment-handler/payment-instruments.https.html b/tests/wpt/web-platform-tests/payment-handler/payment-instruments.https.html index abe25cee5cd..13a278758b1 100644 --- a/tests/wpt/web-platform-tests/payment-handler/payment-instruments.https.html +++ b/tests/wpt/web-platform-tests/payment-handler/payment-instruments.https.html @@ -76,7 +76,7 @@ function runTests(registration) { type: 'image/png', }, ], - enabledMethods: ['basic-card'], + method: 'basic-card', capabilities: {supportedNetworks: ['mir'], supportedTypes: ['prepaid']}, }, ); @@ -103,7 +103,7 @@ function runTests(registration) { icons: [ {src: '/images/green-16x16.png', sizes: '16x16', type: 'image/png'}, ], - enabledMethods: ['basic-card'], + method: 'basic-card', capabilities: {supportedNetworks: ['mir'], supportedTypes: ['prepaid']}, }, ); @@ -118,7 +118,7 @@ function runTests(registration) { ); assert_equals(result.icons[0].sizes, '16x16'); assert_equals(result.icons[0].type, 'image/png'); - assert_array_equals(result.enabledMethods, ['basic-card']); + assert_equals(result.method, 'basic-card'); assert_array_equals(result.capabilities.supportedNetworks, ['mir']); assert_array_equals(result.capabilities.supportedTypes, ['prepaid']); await registration.paymentManager.instruments.set( @@ -132,7 +132,7 @@ function runTests(registration) { type: 'image/png', }, ], - enabledMethods: ['basic-card'], + method: 'basic-card', capabilities: {supportedNetworks: ['visa'], supportedTypes: ['credit']}, }, ); @@ -147,7 +147,7 @@ function runTests(registration) { ); assert_equals(result.icons[0].sizes, '256x256'); assert_equals(result.icons[0].type, 'image/png'); - assert_array_equals(result.enabledMethods, ['basic-card']); + assert_equals(result.method, 'basic-card'); assert_array_equals(result.capabilities.supportedNetworks, ['visa']); assert_array_equals(result.capabilities.supportedTypes, ['credit']); }, 'Resetting an existing instrument updates the instrument'); @@ -165,7 +165,7 @@ function runTests(registration) { type: 'image/png', }, ], - enabledMethods: ['basic-card'], + method: 'basic-card', capabilities: {supportedNetworks: ['mir'], supportedTypes: ['prepaid']}, }, ); @@ -189,7 +189,7 @@ function runTests(registration) { type: 'image/jif', }, ], - enabledMethods: ['basic-card'], + method: 'basic-card', }, ); return promise_rejects(t, new TypeError(), setPromise); @@ -208,7 +208,7 @@ function runTests(registration) { type: 'image/pn' + 'g'.repeat(1000), }, ], - enabledMethods: ['basic-card'], + method: 'basic-card', }, ); return promise_rejects(t, new TypeError(), setPromise); @@ -225,7 +225,7 @@ function runTests(registration) { type: 'image/png', }, ], - enabledMethods: ['basic-card'], + method: 'basic-card', }); }, "Don't crash when registering an instrument with a very long icon size 888...x888..."); @@ -242,7 +242,7 @@ function runTests(registration) { type: 'image/png', }, ], - enabledMethods: ['basic-card'], + method: 'basic-card', }, ); return promise_rejects(t, new TypeError(), setPromise); @@ -261,7 +261,7 @@ function runTests(registration) { type: 'image/png', }, ], - enabledMethods: ['basic-card'], + method: 'basic-card', }, ); return promise_rejects(t, new TypeError(), setPromise); @@ -280,7 +280,7 @@ function runTests(registration) { type: 'image/png', }, ], - enabledMethods: ['basic-card'], + method: 'basic-card', }, ); return promise_rejects(t, new TypeError(), setPromise); @@ -300,7 +300,7 @@ function runTests(registration) { type: 'image/gif', }, ], - enabledMethods: ['basic-card'], + method: 'basic-card', }, ); return promise_rejects(t, new TypeError(), setPromise); @@ -313,7 +313,7 @@ function runTests(registration) { icons: [ {src: '/images/rgrg-256x256.png', sizes: '256x256', type: 'image/png'}, ], - enabledMethods: [existingKey], + method: existingKey, capabilities: {aCapabilityName: existingKey}, }); const hasExistingInstrument = await registration.paymentManager.instruments.has( diff --git a/tests/wpt/web-platform-tests/payment-handler/payment-request-event.https.html b/tests/wpt/web-platform-tests/payment-handler/payment-request-event.https.html index 952ee385229..4e9cc21a1e5 100644 --- a/tests/wpt/web-platform-tests/payment-handler/payment-request-event.https.html +++ b/tests/wpt/web-platform-tests/payment-handler/payment-request-event.https.html @@ -15,7 +15,7 @@ async function setInstrumentsAndRunTests(registration) { icons: [ {src: '/images/rgrg-256x256.png', sizes: '256x256', type: 'image/png'}, ], - enabledMethods: ['basic-card'], + method: 'basic-card', capabilities: {supportedNetworks: ['mir'], supportedTypes: ['prepaid']}, }); runTests(); diff --git a/tests/wpt/web-platform-tests/service-workers/service-worker/navigation-timing.https.html b/tests/wpt/web-platform-tests/service-workers/service-worker/navigation-timing.https.html new file mode 100644 index 00000000000..ac3456e9d1a --- /dev/null +++ b/tests/wpt/web-platform-tests/service-workers/service-worker/navigation-timing.https.html @@ -0,0 +1,111 @@ + + + + + + diff --git a/tests/wpt/web-platform-tests/service-workers/service-worker/resources/navigation-timing-worker.js b/tests/wpt/web-platform-tests/service-workers/service-worker/resources/navigation-timing-worker.js new file mode 100644 index 00000000000..8539b40066d --- /dev/null +++ b/tests/wpt/web-platform-tests/service-workers/service-worker/resources/navigation-timing-worker.js @@ -0,0 +1,15 @@ +self.addEventListener('fetch', (event) => { + const url = event.request.url; + + // Network fallback. + if (url.indexOf('network-fallback') >= 0) { + return; + } + + // Don't intercept redirect. + if (url.indexOf('redirect.py') >= 0) { + return; + } + + event.respondWith(fetch(url)); +}); diff --git a/tests/wpt/web-platform-tests/workers/modules/dedicated-worker-import-meta.html b/tests/wpt/web-platform-tests/workers/modules/dedicated-worker-import-meta.html new file mode 100644 index 00000000000..ae59fdaa570 --- /dev/null +++ b/tests/wpt/web-platform-tests/workers/modules/dedicated-worker-import-meta.html @@ -0,0 +1,23 @@ + +DedicatedWorker: import.meta + + + diff --git a/tests/wpt/web-platform-tests/workers/modules/resources/dynamic-import-given-url-worker.js b/tests/wpt/web-platform-tests/workers/modules/resources/dynamic-import-given-url-worker.js new file mode 100644 index 00000000000..888f6042110 --- /dev/null +++ b/tests/wpt/web-platform-tests/workers/modules/resources/dynamic-import-given-url-worker.js @@ -0,0 +1,4 @@ +// Dynamically import the script URL sent by postMessage(). +self.addEventListener('message', e => { + import(e.data); +}); diff --git a/tests/wpt/web-platform-tests/workers/modules/resources/import-meta-url-worker.js b/tests/wpt/web-platform-tests/workers/modules/resources/import-meta-url-worker.js new file mode 100644 index 00000000000..9d909778eda --- /dev/null +++ b/tests/wpt/web-platform-tests/workers/modules/resources/import-meta-url-worker.js @@ -0,0 +1 @@ +postMessage(import.meta.url);