From 141a52794b9583f636cfa2076b8f3ee95ad459e3 Mon Sep 17 00:00:00 2001 From: WPT Sync Bot Date: Mon, 17 Sep 2018 21:32:16 -0400 Subject: [PATCH] Update web-platform-tests to revision 8f8ff0e2a61f2a24996404921fe853cb1fd9b432 --- tests/wpt/metadata/MANIFEST.json | 280 ++++++++++++++--- ...ultiple-position-color-stop-conic.html.ini | 2 + ...ltiple-position-color-stop-linear.html.ini | 2 + ...ltiple-position-color-stop-radial.html.ini | 2 + ...nsitions-animatable-properties-01.html.ini | 3 + .../css/css-values/calc-integer.html.ini | 19 ++ .../fetch-in-iframe.html.ini | 1 + .../traverse_the_history_1.html.ini | 4 - .../traverse_the_history_5.html.ini | 4 + ...cation-protocol-setter-non-broken.html.ini | 3 - .../legend-align-justify-self.html.ini | 40 +++ .../legend-block-margins.html.ini | 2 + .../legend-tall.html.ini | 2 + .../the-details-element/toggleEvent.html.ini | 7 - .../unitless-length/limited-quirks.html.ini | 283 ++++++++++++++++++ .../metadata/url/urlencoded-parser.any.js.ini | 11 +- .../semantics/multiple-workers/005.html.ini | 1 - .../background-fetch/fetch.https.window.js | 68 +++-- .../background-fetch/get.https.window.js | 3 + .../connect-src-eventsource-allowed.sub.html | 26 +- .../connect-src-eventsource-blocked.sub.html | 18 +- .../connect-src-websocket-allowed.sub.html | 23 +- .../connect-src-websocket-blocked.sub.html | 17 +- .../connect-src-websocket-self.sub.html | 47 +++ ...ut-independent-formatting-context-002.html | 2 +- .../css/css-contain/contain-size-023.html | 2 +- .../css/css-contain/contain-size-025.html | 2 +- .../css/css-contain/contain-size-027.html | 2 +- .../css/css-contain/contain-size-041.html | 2 +- .../reference/contain-size-021-ref.html | 32 +- .../reference/contain-size-023-ref.html | 33 ++ .../reference/contain-size-025-ref.html | 13 + .../reference/contain-size-027-ref.html | 41 +++ .../multiple-position-color-stop-conic.html | 14 + .../multiple-position-color-stop-linear.html | 14 + .../multiple-position-color-stop-radial.html | 14 + .../support/100x100-blue-green.html | 2 + .../unit-cycles.html | 59 +++- .../css/css-values/calc-integer.html | 58 ++++ .../mozilla-central-reftests/sync-tests.sh | 2 +- .../fieldset-percentage-padding.html | 31 ++ .../legend-align-justify-self.html | 34 +++ .../legend-block-margins-ref.html | 13 + .../legend-block-margins.html | 16 + .../legend-tall-ref.html | 20 ++ .../legend-tall.html | 20 ++ .../the-script-element/goal-parameter.htm | 138 --------- .../interfaces/payment-handler.idl | 9 + ...escedEvents_when_pointerlocked-manual.html | 62 ++++ ..._pointerrawmove_in_pointerlock-manual.html | 11 +- ...ent_pointermove_in_pointerlock-manual.html | 70 +++++ ...orded_mouse_button_when_locked-manual.html | 98 ++++++ ...ent_pointermove_in_pointerlock-iframe.html | 10 + .../tests/unit/test-return-restrictions.html | 155 ++++++++++ .../resources/testharness.js | 17 +- tests/wpt/web-platform-tests/tools/wpt/run.py | 23 +- .../wptrunner/executors/executorwebdriver.py | 2 +- ...ing-the-target-effect-of-an-animation.html | 2 +- 58 files changed, 1615 insertions(+), 276 deletions(-) create mode 100644 tests/wpt/metadata/css/css-images/multiple-position-color-stop-conic.html.ini create mode 100644 tests/wpt/metadata/css/css-images/multiple-position-color-stop-linear.html.ini create mode 100644 tests/wpt/metadata/css/css-images/multiple-position-color-stop-radial.html.ini create mode 100644 tests/wpt/metadata/css/css-values/calc-integer.html.ini delete mode 100644 tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini create mode 100644 tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini create mode 100644 tests/wpt/metadata/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-align-justify-self.html.ini create mode 100644 tests/wpt/metadata/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-block-margins.html.ini create mode 100644 tests/wpt/metadata/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-tall.html.ini delete mode 100644 tests/wpt/metadata/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini create mode 100644 tests/wpt/metadata/quirks/unitless-length/limited-quirks.html.ini create mode 100644 tests/wpt/web-platform-tests/content-security-policy/connect-src/connect-src-websocket-self.sub.html create mode 100644 tests/wpt/web-platform-tests/css/css-contain/reference/contain-size-023-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-contain/reference/contain-size-025-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-contain/reference/contain-size-027-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-images/multiple-position-color-stop-conic.html create mode 100644 tests/wpt/web-platform-tests/css/css-images/multiple-position-color-stop-linear.html create mode 100644 tests/wpt/web-platform-tests/css/css-images/multiple-position-color-stop-radial.html create mode 100644 tests/wpt/web-platform-tests/css/css-images/support/100x100-blue-green.html create mode 100644 tests/wpt/web-platform-tests/css/css-values/calc-integer.html create mode 100644 tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-percentage-padding.html create mode 100644 tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-align-justify-self.html create mode 100644 tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-block-margins-ref.html create mode 100644 tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-block-margins.html create mode 100644 tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-tall-ref.html create mode 100644 tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-tall.html delete mode 100644 tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/goal-parameter.htm create mode 100644 tests/wpt/web-platform-tests/pointerevents/extension/pointerevent_getCoalescedEvents_when_pointerlocked-manual.html create mode 100644 tests/wpt/web-platform-tests/pointerevents/pointerlock/pointerevent_pointermove_in_pointerlock-manual.html create mode 100644 tests/wpt/web-platform-tests/pointerevents/pointerlock/pointerevent_pointermove_on_chorded_mouse_button_when_locked-manual.html create mode 100644 tests/wpt/web-platform-tests/pointerevents/pointerlock/resources/pointerevent_pointermove_in_pointerlock-iframe.html create mode 100644 tests/wpt/web-platform-tests/resources/test/tests/unit/test-return-restrictions.html diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 0c1e05dbb22..1d79dee1bd2 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -13579,6 +13579,12 @@ {} ] ], + "pointerevents/extension/pointerevent_getCoalescedEvents_when_pointerlocked-manual.html": [ + [ + "/pointerevents/extension/pointerevent_getCoalescedEvents_when_pointerlocked-manual.html", + {} + ] + ], "pointerevents/extension/pointerevent_pointerrawmove-manual.html": [ [ "/pointerevents/extension/pointerevent_pointerrawmove-manual.html", @@ -14023,6 +14029,18 @@ {} ] ], + "pointerevents/pointerlock/pointerevent_pointermove_in_pointerlock-manual.html": [ + [ + "/pointerevents/pointerlock/pointerevent_pointermove_in_pointerlock-manual.html", + {} + ] + ], + "pointerevents/pointerlock/pointerevent_pointermove_on_chorded_mouse_button_when_locked-manual.html": [ + [ + "/pointerevents/pointerlock/pointerevent_pointermove_on_chorded_mouse_button_when_locked-manual.html", + {} + ] + ], "pointerlock/mouse_buttons_back_forward-manual.html": [ [ "/pointerlock/mouse_buttons_back_forward-manual.html", @@ -110562,7 +110580,7 @@ "/css/css-contain/contain-size-023.html", [ [ - "/css/css-contain/reference/contain-size-021-ref.html", + "/css/css-contain/reference/contain-size-023-ref.html", "==" ] ], @@ -110574,7 +110592,7 @@ "/css/css-contain/contain-size-025.html", [ [ - "/css/css-contain/reference/contain-size-021-ref.html", + "/css/css-contain/reference/contain-size-025-ref.html", "==" ] ], @@ -110586,7 +110604,7 @@ "/css/css-contain/contain-size-027.html", [ [ - "/css/css-contain/reference/contain-size-021-ref.html", + "/css/css-contain/reference/contain-size-027-ref.html", "==" ] ], @@ -110598,7 +110616,7 @@ "/css/css-contain/contain-size-041.html", [ [ - "/css/css-contain/reference/contain-size-021-ref.html", + "/css/css-contain/reference/contain-size-025-ref.html", "==" ] ], @@ -122733,6 +122751,42 @@ {} ] ], + "css/css-images/multiple-position-color-stop-conic.html": [ + [ + "/css/css-images/multiple-position-color-stop-conic.html", + [ + [ + "/css/css-images/support/100x100-blue-green.html", + "==" + ] + ], + {} + ] + ], + "css/css-images/multiple-position-color-stop-linear.html": [ + [ + "/css/css-images/multiple-position-color-stop-linear.html", + [ + [ + "/css/css-images/support/100x100-blue-green.html", + "==" + ] + ], + {} + ] + ], + "css/css-images/multiple-position-color-stop-radial.html": [ + [ + "/css/css-images/multiple-position-color-stop-radial.html", + [ + [ + "/css/css-images/support/100x100-blue-green.html", + "==" + ] + ], + {} + ] + ], "css/css-images/tiled-gradients.html": [ [ "/css/css-images/tiled-gradients.html", @@ -185845,6 +185899,18 @@ {} ] ], + "html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-block-margins.html": [ + [ + "/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-block-margins.html", + [ + [ + "/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-block-margins-ref.html", + "==" + ] + ], + {} + ] + ], "html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-display-none-rendering.html": [ [ "/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-display-none-rendering.html", @@ -185893,6 +185959,18 @@ {} ] ], + "html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-tall.html": [ + [ + "/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-tall.html", + [ + [ + "/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-tall-ref.html", + "==" + ] + ], + {} + ] + ], "html/rendering/non-replaced-elements/the-hr-element-0/align.html": [ [ "/html/rendering/non-replaced-elements/the-hr-element-0/align.html", @@ -247859,6 +247937,21 @@ {} ] ], + "css/css-contain/reference/contain-size-023-ref.html": [ + [ + {} + ] + ], + "css/css-contain/reference/contain-size-025-ref.html": [ + [ + {} + ] + ], + "css/css-contain/reference/contain-size-027-ref.html": [ + [ + {} + ] + ], "css/css-contain/reference/contain-size-051-ref.html": [ [ {} @@ -258544,6 +258637,11 @@ {} ] ], + "css/css-images/support/100x100-blue-green.html": [ + [ + {} + ] + ], "css/css-images/support/1x1-green.gif": [ [ {} @@ -288574,6 +288672,11 @@ {} ] ], + "html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-block-margins-ref.html": [ + [ + {} + ] + ], "html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-display-none-rendering-ref.html": [ [ {} @@ -288599,6 +288702,11 @@ {} ] ], + "html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-tall-ref.html": [ + [ + {} + ] + ], "html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/no-red-ref.html": [ [ {} @@ -295694,6 +295802,11 @@ {} ] ], + "pointerevents/pointerlock/resources/pointerevent_pointermove_in_pointerlock-iframe.html": [ + [ + {} + ] + ], "pointerevents/resources/pointerevent_attributes_hoverable_pointers-iframe.html": [ [ {} @@ -299429,6 +299542,11 @@ {} ] ], + "resources/test/tests/unit/test-return-restrictions.html": [ + [ + {} + ] + ], "resources/test/tox.ini": [ [ {} @@ -327632,6 +327750,12 @@ {} ] ], + "content-security-policy/connect-src/connect-src-websocket-self.sub.html": [ + [ + "/content-security-policy/connect-src/connect-src-websocket-self.sub.html", + {} + ] + ], "content-security-policy/connect-src/connect-src-xmlhttprequest-allowed.sub.html": [ [ "/content-security-policy/connect-src/connect-src-xmlhttprequest-allowed.sub.html", @@ -340176,6 +340300,12 @@ {} ] ], + "css/css-values/calc-integer.html": [ + [ + "/css/css-values/calc-integer.html", + {} + ] + ], "css/css-values/calc-rounding-001.html": [ [ "/css/css-values/calc-rounding-001.html", @@ -359876,6 +360006,18 @@ {} ] ], + "html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-percentage-padding.html": [ + [ + "/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-percentage-padding.html", + {} + ] + ], + "html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-align-justify-self.html": [ + [ + "/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-align-justify-self.html", + {} + ] + ], "html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-align-text-align.html": [ [ "/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-align-text-align.html", @@ -365822,12 +365964,6 @@ {} ] ], - "html/semantics/scripting-1/the-script-element/goal-parameter.htm": [ - [ - "/html/semantics/scripting-1/the-script-element/goal-parameter.htm", - {} - ] - ], "html/semantics/scripting-1/the-script-element/historical.html": [ [ "/html/semantics/scripting-1/the-script-element/historical.html", @@ -440534,7 +440670,7 @@ "testharness" ], "background-fetch/fetch.https.window.js": [ - "b730c8909de945e01059ec4de9bcb39a2f9b8b41", + "70dacd717a0aac009c708c1157dcfe5149a6a069", "testharness" ], "background-fetch/get-ids.https.window.js": [ @@ -440542,7 +440678,7 @@ "testharness" ], "background-fetch/get.https.window.js": [ - "e4dd16cacd2e65a607854988e36b620ec4f1e301", + "cd1dc3a6c49264d2cbf5ccc9e499b5f98b36d8cb", "testharness" ], "background-fetch/idlharness.https.any.js": [ @@ -459714,11 +459850,11 @@ "testharness" ], "content-security-policy/connect-src/connect-src-eventsource-allowed.sub.html": [ - "3025e8a571a5dbcc016d831e590e5df45b20416e", + "8922d99e0392fa6a4ecd30663981208d88e33d1f", "testharness" ], "content-security-policy/connect-src/connect-src-eventsource-blocked.sub.html": [ - "9b08365cec961473754beb5592ab7573376b6a0d", + "df8a9a1e3db136aaa43c62e8629ff46b1c230dfa", "testharness" ], "content-security-policy/connect-src/connect-src-eventsource-redirect-to-blocked.sub.html": [ @@ -459726,11 +459862,15 @@ "testharness" ], "content-security-policy/connect-src/connect-src-websocket-allowed.sub.html": [ - "6216444e08ec3555089e5536fc58eff913bec548", + "4263d97fe2dfbb9e2a0f0851c07798d40a5671a9", "testharness" ], "content-security-policy/connect-src/connect-src-websocket-blocked.sub.html": [ - "249c7a346a4e2bddab6d97f546ec6eeafab7623d", + "02c52837bb8bd5cbc26f54f899fe25b5d68bd561", + "testharness" + ], + "content-security-policy/connect-src/connect-src-websocket-self.sub.html": [ + "6db324ea0e70350b1781b036afc14cc37f588dfc", "testharness" ], "content-security-policy/connect-src/connect-src-xmlhttprequest-allowed.sub.html": [ @@ -529710,7 +529850,7 @@ "reftest" ], "css/css-contain/contain-layout-independent-formatting-context-002.html": [ - "a7e8baed56db08e70c1c536cacd971d3885002b0", + "8491e3d28f90f09beb4121eed411d1a3e122284b", "reftest" ], "css/css-contain/contain-layout-independent-formatting-context-003.html": [ @@ -529982,19 +530122,19 @@ "reftest" ], "css/css-contain/contain-size-023.html": [ - "ce795c6402dab0f7e8c5482eb8a670d0afdd7456", + "a5492094e8ff437c2496927da3cef551cab738f0", "reftest" ], "css/css-contain/contain-size-025.html": [ - "5cce18c3bfd4f41988bcfcce4a49848ceeb44acb", + "bb17fe2e15f077d357251793c0f31fe2601d49a0", "reftest" ], "css/css-contain/contain-size-027.html": [ - "266402cb31406fc3f44831e5536a074e6afa5918", + "ed4bb24c9b0718c3b5f81425016d9e43076f4bfc", "reftest" ], "css/css-contain/contain-size-041.html": [ - "44069a0c69b43a7588a89bf127ac9de436710a10", + "333a2ceebf99ec6041cad12f68328a5542646169", "reftest" ], "css/css-contain/contain-size-042.html": [ @@ -530234,13 +530374,25 @@ "support" ], "css/css-contain/reference/contain-size-021-ref.html": [ - "de9cea10501b0014169e8260737f11e387270394", + "639daa8437239e6d9cf74bcb5af82755b9e2cdbb", "support" ], "css/css-contain/reference/contain-size-022-ref.html": [ "3ca9ac9ee4d4edd11249af01607c450b88ee8998", "support" ], + "css/css-contain/reference/contain-size-023-ref.html": [ + "1073100b0cecdb56cb59687ca63bdccdbee9ec1f", + "support" + ], + "css/css-contain/reference/contain-size-025-ref.html": [ + "de9cea10501b0014169e8260737f11e387270394", + "support" + ], + "css/css-contain/reference/contain-size-027-ref.html": [ + "ce4c699dc1b5811aaa689b14ab4781ae0c51acd4", + "support" + ], "css/css-contain/reference/contain-size-051-ref.html": [ "07455aaed22aef0b4e6d303185a33929053b6c15", "support" @@ -545777,6 +545929,18 @@ "6643bb918b5f79ce72d3f16ec999d675e04f59d3", "support" ], + "css/css-images/multiple-position-color-stop-conic.html": [ + "d1608c0cfe8baa967cb1bdb6cb47b4635bf009b1", + "reftest" + ], + "css/css-images/multiple-position-color-stop-linear.html": [ + "2e1f9ed7be488a6c6fa68f4bc4252524ddab82b2", + "reftest" + ], + "css/css-images/multiple-position-color-stop-radial.html": [ + "74e25df788b0736f687f5f6394c31437cc834f57", + "reftest" + ], "css/css-images/parsing/gradient-position-invalid.html": [ "63ac09fc17ede201f4008f68d5b6c626bbe5f238", "testharness" @@ -545825,6 +545989,10 @@ "b9dab78b518138272a1e29a6a2690d13f3e208e1", "testharness" ], + "css/css-images/support/100x100-blue-green.html": [ + "e4f35c3e430cc2994709f6805576d1fe2c1f9cf3", + "support" + ], "css/css-images/support/1x1-green.gif": [ "e023d92c7ad04264d06196d47a5edd828a7f71db", "support" @@ -549950,7 +550118,7 @@ "testharness" ], "css/css-properties-values-api/unit-cycles.html": [ - "b5c996a442984ee8f2b8fd9a61e41bf7d194799a", + "d65348543c4145bbd693aac67372390bfd91fc11", "testharness" ], "css/css-properties-values-api/url-resolution.html": [ @@ -569309,6 +569477,10 @@ "4b7d7c87034184a38a708dcc4c6fe19b47b12220", "reftest" ], + "css/css-values/calc-integer.html": [ + "821dac4048961cdff3eae329b02566310f75eb1f", + "testharness" + ], "css/css-values/calc-invalid-range-clamping.html": [ "a88416a2c2da6532084dc77ded1d3d5ac15e120e", "reftest" @@ -587202,7 +587374,7 @@ "support" ], "css/vendor-imports/mozilla/mozilla-central-reftests/sync-tests.sh": [ - "01adb1b8f4ec5dc7294dd3beb0feebd1ee740ca8", + "75f00e6d0a6860e3361e1fdf56777e5125849a9d", "support" ], "css/vendor-imports/mozilla/mozilla-central-reftests/text-decor-3/reftest.list": [ @@ -606801,6 +606973,10 @@ "7bd2cedb1b6771398c808d1b7c8f68840bfb9b6f", "reftest" ], + "html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-percentage-padding.html": [ + "61ad4ed4c9445a3c035f85db7ab0928cbb11b91a", + "testharness" + ], "html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-shadow-dom.html": [ "3b46eb03c6c41bc616ebcc85bc6d635496e5eeed", "support" @@ -606821,6 +606997,10 @@ "c11b466669665a29fc4f33b4bbc14c6b5598d545", "reftest" ], + "html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-align-justify-self.html": [ + "29df29d17778a9d3d592c5e942f093a44f419b3c", + "testharness" + ], "html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-align-text-align.html": [ "01483bf8ad3cee01272ba36bc0ffaf73c1b12cad", "testharness" @@ -606841,6 +607021,14 @@ "4e9539179739a3690aab276f2ba98c25bd4dfe9b", "testharness" ], + "html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-block-margins-ref.html": [ + "e0528855df0705fb9c13461f30e7d8c2dd7fbc21", + "support" + ], + "html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-block-margins.html": [ + "957eca57350eebb6a773dc784b6f701e5327b02d", + "reftest" + ], "html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-display-none-rendering-ref.html": [ "e6eff47e53c7a40e973b7f9dc298af2343f59941", "support" @@ -606897,6 +607085,14 @@ "5f27ca5c299de72c6e8aab9275fcf70b3c4246a3", "testharness" ], + "html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-tall-ref.html": [ + "004ce42129c4652d1f9e75f7953f3e74e98d0fb5", + "support" + ], + "html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-tall.html": [ + "7b9495946e20d47aaf9fc32692f3663343280e26", + "reftest" + ], "html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend.html": [ "1cda91f32baf119b8dd827275a3ba8b10c484084", "testharness" @@ -612925,10 +613121,6 @@ "ca7fdba71f164c0a1e7c195675497b02f2e0a0a5", "support" ], - "html/semantics/scripting-1/the-script-element/goal-parameter.htm": [ - "fe4d6759b91b09da5a6c7bb0b53095315d10d4a9", - "testharness" - ], "html/semantics/scripting-1/the-script-element/historical.html": [ "1f1a91228c2174773243163e5b588e56c2c74fc1", "testharness" @@ -617406,7 +617598,7 @@ "support" ], "interfaces/payment-handler.idl": [ - "b19a7302dbacaf8ef425e568d5d5409b4b2811d5", + "5648ae33457dcdcd2f0eca90d69fbe1a5fac3d5b", "support" ], "interfaces/payment-method-basic-card.idl": [ @@ -629817,12 +630009,16 @@ "43d0aa5d38b2ac65b5100c9ba8fa2b794ffd03ee", "testharness" ], + "pointerevents/extension/pointerevent_getCoalescedEvents_when_pointerlocked-manual.html": [ + "6efded85b4562bd960a4b5e584e68984a1ce6316", + "manual" + ], "pointerevents/extension/pointerevent_pointerrawmove-manual.html": [ "0c4ccf9ad48d49c62b3d138845dfa3ac631a8e4e", "manual" ], "pointerevents/extension/pointerevent_pointerrawmove_in_pointerlock-manual.html": [ - "30fff15bd92f536de826b7ef98419b6a30284d41", + "970355863bb7d6affb0b50289af75b98cfccbb57", "manual" ], "pointerevents/extension/pointerevent_touch-action-pan-down-css_touch-manual.html": [ @@ -630145,10 +630341,22 @@ "d8dbeaae172dfd6314341c55ef1fa3b9945f60fc", "manual" ], + "pointerevents/pointerlock/pointerevent_pointermove_in_pointerlock-manual.html": [ + "80c01d61c8f906364fea0497d32cbd44ad8fdd3f", + "manual" + ], + "pointerevents/pointerlock/pointerevent_pointermove_on_chorded_mouse_button_when_locked-manual.html": [ + "b2fadbfe05f7efcc674f2b4cac61a15a67560597", + "manual" + ], "pointerevents/pointerlock/resources/pointerevent_movementxy-iframe.html": [ "627af3b61cad74bb112558169b1e66f6a24b1129", "support" ], + "pointerevents/pointerlock/resources/pointerevent_pointermove_in_pointerlock-iframe.html": [ + "b7cc7068e96c7dbbf7f8ffa9e5ce9bd1ce63686f", + "support" + ], "pointerevents/resources/pointerevent_attributes_hoverable_pointers-iframe.html": [ "5e55868282ce5ce549f1d32092839f05bd43aba7", "support" @@ -639573,6 +639781,10 @@ "df9e1239a2ec48dd8b489fb7001a5295e334f963", "support" ], + "resources/test/tests/unit/test-return-restrictions.html": [ + "8472ba9c9ed3f0baed605813fad1717769875759", + "support" + ], "resources/test/tox.ini": [ "d3a30f870a1572d4423ae99f64c67d63afa345da", "support" @@ -639606,7 +639818,7 @@ "support" ], "resources/testharness.js": [ - "85e211ff60ae559d7ff39994c33a2f05056e1ef2", + "352e8b76266b7f5ce3e17278721b55a0fe80a505", "support" ], "resources/testharness.js.headers": [ @@ -654014,7 +654226,7 @@ "support" ], "tools/wpt/run.py": [ - "a1e5637bf1dede2abc0d46814746281b0bbea35e", + "21dc7c8e9777f2c5ff1734b5b9ba5970b2ce978b", "support" ], "tools/wpt/testfiles.py": [ @@ -654398,7 +654610,7 @@ "support" ], "tools/wptrunner/wptrunner/executors/executorwebdriver.py": [ - "127c909e810a26f5d16b268061981c63ee837bb6", + "6dde7191ec6059e80a9ad15f96a0eba0573d9b56", "support" ], "tools/wptrunner/wptrunner/executors/executorwebkit.py": [ @@ -657718,7 +657930,7 @@ "testharness" ], "web-animations/timing-model/animations/setting-the-target-effect-of-an-animation.html": [ - "0bcff3bc972181127279f226f8d6a3421cd864b1", + "60ea1850fc5c15ea91c075d8929d8a3dce2b4f89", "testharness" ], "web-animations/timing-model/animations/setting-the-timeline-of-an-animation.html": [ diff --git a/tests/wpt/metadata/css/css-images/multiple-position-color-stop-conic.html.ini b/tests/wpt/metadata/css/css-images/multiple-position-color-stop-conic.html.ini new file mode 100644 index 00000000000..7897d70c1a1 --- /dev/null +++ b/tests/wpt/metadata/css/css-images/multiple-position-color-stop-conic.html.ini @@ -0,0 +1,2 @@ +[multiple-position-color-stop-conic.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-images/multiple-position-color-stop-linear.html.ini b/tests/wpt/metadata/css/css-images/multiple-position-color-stop-linear.html.ini new file mode 100644 index 00000000000..b3e0af9f675 --- /dev/null +++ b/tests/wpt/metadata/css/css-images/multiple-position-color-stop-linear.html.ini @@ -0,0 +1,2 @@ +[multiple-position-color-stop-linear.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-images/multiple-position-color-stop-radial.html.ini b/tests/wpt/metadata/css/css-images/multiple-position-color-stop-radial.html.ini new file mode 100644 index 00000000000..1d178cb5280 --- /dev/null +++ b/tests/wpt/metadata/css/css-images/multiple-position-color-stop-radial.html.ini @@ -0,0 +1,2 @@ +[multiple-position-color-stop-radial.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini b/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini index b07393a05bc..decfd130b16 100644 --- a/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini +++ b/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini @@ -71,3 +71,6 @@ [bottom intermediate] expected: FAIL + [outline-width end] + expected: FAIL + diff --git a/tests/wpt/metadata/css/css-values/calc-integer.html.ini b/tests/wpt/metadata/css/css-values/calc-integer.html.ini new file mode 100644 index 00000000000..4909ec02758 --- /dev/null +++ b/tests/wpt/metadata/css/css-values/calc-integer.html.ini @@ -0,0 +1,19 @@ +[calc-integer.html] + [Accepts numbers, and rounds] + expected: FAIL + + [Rounds down if fractional part is < 0.5] + expected: FAIL + + [Basic division works] + expected: FAIL + + [Operation between and works] + expected: FAIL + + [Only rounds at the end of the conversion] + expected: FAIL + + [Rounds up if fractional part is >= 0.5] + expected: FAIL + diff --git a/tests/wpt/metadata/fetch/cross-origin-resource-policy/fetch-in-iframe.html.ini b/tests/wpt/metadata/fetch/cross-origin-resource-policy/fetch-in-iframe.html.ini index 3951cd266d5..0d630fb814a 100644 --- a/tests/wpt/metadata/fetch/cross-origin-resource-policy/fetch-in-iframe.html.ini +++ b/tests/wpt/metadata/fetch/cross-origin-resource-policy/fetch-in-iframe.html.ini @@ -1,4 +1,5 @@ [fetch-in-iframe.html] + expected: CRASH [Untitled] expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini deleted file mode 100644 index 87b07c3e670..00000000000 --- a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[traverse_the_history_1.html] - [Multiple history traversals from the same task] - expected: FAIL - diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini new file mode 100644 index 00000000000..dc2e45516de --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_5.html.ini @@ -0,0 +1,4 @@ +[traverse_the_history_5.html] + [Multiple history traversals, last would be aborted] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/history/the-location-interface/location-protocol-setter-non-broken.html.ini b/tests/wpt/metadata/html/browsers/history/the-location-interface/location-protocol-setter-non-broken.html.ini index 9579b42287e..20865f493ec 100644 --- a/tests/wpt/metadata/html/browsers/history/the-location-interface/location-protocol-setter-non-broken.html.ini +++ b/tests/wpt/metadata/html/browsers/history/the-location-interface/location-protocol-setter-non-broken.html.ini @@ -30,6 +30,3 @@ [Set HTTP URL frame location.protocol to data] expected: FAIL - [Set HTTP URL frame location.protocol to x] - expected: FAIL - diff --git a/tests/wpt/metadata/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-align-justify-self.html.ini b/tests/wpt/metadata/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-align-justify-self.html.ini new file mode 100644 index 00000000000..671b5e9012f --- /dev/null +++ b/tests/wpt/metadata/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-align-justify-self.html.ini @@ -0,0 +1,40 @@ +[legend-align-justify-self.html] + [
x
] + expected: FAIL + + [
x
] + expected: FAIL + + [
x
] + expected: FAIL + + [
x
] + expected: FAIL + + [
x
] + expected: FAIL + + [
x
] + expected: FAIL + + [
x
] + expected: FAIL + + [
x
] + expected: FAIL + + [
x
] + expected: FAIL + + [
x
] + expected: FAIL + + [
x
] + expected: FAIL + + [
x
] + expected: FAIL + + [
x
] + expected: FAIL + diff --git a/tests/wpt/metadata/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-block-margins.html.ini b/tests/wpt/metadata/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-block-margins.html.ini new file mode 100644 index 00000000000..a0802cf17f3 --- /dev/null +++ b/tests/wpt/metadata/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-block-margins.html.ini @@ -0,0 +1,2 @@ +[legend-block-margins.html] + expected: FAIL diff --git a/tests/wpt/metadata/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-tall.html.ini b/tests/wpt/metadata/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-tall.html.ini new file mode 100644 index 00000000000..062aec5955f --- /dev/null +++ b/tests/wpt/metadata/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-tall.html.ini @@ -0,0 +1,2 @@ +[legend-tall.html] + expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini b/tests/wpt/metadata/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini deleted file mode 100644 index 9e522297c94..00000000000 --- a/tests/wpt/metadata/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini +++ /dev/null @@ -1,7 +0,0 @@ -[toggleEvent.html] - [Calling open twice on 'details' fires only one toggle event] - expected: FAIL - - [Setting open=true to opened 'details' element should not fire a toggle event at the 'details' element] - expected: FAIL - diff --git a/tests/wpt/metadata/quirks/unitless-length/limited-quirks.html.ini b/tests/wpt/metadata/quirks/unitless-length/limited-quirks.html.ini new file mode 100644 index 00000000000..c7e9c7434f5 --- /dev/null +++ b/tests/wpt/metadata/quirks/unitless-length/limited-quirks.html.ini @@ -0,0 +1,283 @@ +[limited-quirks.html] + [top: -\\31 .5] + expected: FAIL + + [bottom: -1A] + expected: FAIL + + [bottom: -1a] + expected: FAIL + + [top: @1] + expected: FAIL + + [top: "1a"] + expected: FAIL + + [top: @a] + expected: FAIL + + [bottom: "1"] + expected: FAIL + + [bottom: -/**/1] + expected: FAIL + + [top: +/**/1] + expected: FAIL + + [bottom: @1a] + expected: FAIL + + [top: 1\\31 ] + expected: FAIL + + [top: url('1')] + expected: FAIL + + [bottom: -\\31 ] + expected: FAIL + + [top: calc(1)] + expected: FAIL + + [top: \\31 ] + expected: FAIL + + [bottom: +1\\31 ] + expected: FAIL + + [bottom: 1\\31 .5] + expected: FAIL + + [bottom: #0001] + expected: FAIL + + [top: calc(2 * 2px)] + expected: FAIL + + [bottom: 1a] + expected: FAIL + + [bottom: A] + expected: FAIL + + [bottom: #01] + expected: FAIL + + [top: +\\31 .5] + expected: FAIL + + [bottom: #1] + expected: FAIL + + [top: -/**/1] + expected: FAIL + + [bottom: +\\31 .5] + expected: FAIL + + [bottom: \\31 ] + expected: FAIL + + [bottom: calc(1)] + expected: FAIL + + [top: #001] + expected: FAIL + + [top: +\\31 ] + expected: FAIL + + [bottom: +\\31 ] + expected: FAIL + + [top: +1.5] + expected: FAIL + + [top: +1\\31 ] + expected: FAIL + + [bottom: @a] + expected: FAIL + + [bottom: @1] + expected: FAIL + + [top: #1] + expected: FAIL + + [top: 1a] + expected: FAIL + + [bottom: +1a] + expected: FAIL + + [bottom: +1A] + expected: FAIL + + [bottom: "a"] + expected: FAIL + + [top: #00001] + expected: FAIL + + [bottom: -1\\31 .5] + expected: FAIL + + [top: "1"] + expected: FAIL + + [bottom: 1.5] + expected: FAIL + + [bottom: -\\31 .5] + expected: FAIL + + [bottom: url('1')] + expected: FAIL + + [bottom: -1.5] + expected: FAIL + + [top: \\31 .5] + expected: FAIL + + [bottom: "1a"] + expected: FAIL + + [bottom: calc(2 * 2px)] + expected: FAIL + + [bottom: +1\\31 .5] + expected: FAIL + + [bottom: 1\\31 ] + expected: FAIL + + [bottom: +/**/1] + expected: FAIL + + [bottom: #00001] + expected: FAIL + + [top: url(1)] + expected: FAIL + + [bottom: #001] + expected: FAIL + + [top: +1\\31 .5] + expected: FAIL + + [top: -1a] + expected: FAIL + + [top: -1A] + expected: FAIL + + [bottom: url(1)] + expected: FAIL + + [top: a] + expected: FAIL + + [top: A] + expected: FAIL + + [top: #000001] + expected: FAIL + + [top: 1] + expected: FAIL + + [top: 1\\31 .5] + expected: FAIL + + [bottom: a] + expected: FAIL + + [bottom: 1] + expected: FAIL + + [bottom: +1] + expected: FAIL + + [bottom: #000001] + expected: FAIL + + [bottom: +a] + expected: FAIL + + [bottom: +A] + expected: FAIL + + [top: 1.5] + expected: FAIL + + [top: +A] + expected: FAIL + + [top: +a] + expected: FAIL + + [top: +1] + expected: FAIL + + [top: -1.5] + expected: FAIL + + [top: -1\\31 .5] + expected: FAIL + + [top: +1a] + expected: FAIL + + [top: +1A] + expected: FAIL + + [top: @1a] + expected: FAIL + + [bottom: \\31 .5] + expected: FAIL + + [top: "a"] + expected: FAIL + + [top: #01] + expected: FAIL + + [bottom: +1.5] + expected: FAIL + + [bottom: -A] + expected: FAIL + + [bottom: -a] + expected: FAIL + + [bottom: -1\\31 ] + expected: FAIL + + [top: #0001] + expected: FAIL + + [bottom: -1] + expected: FAIL + + [top: -\\31 ] + expected: FAIL + + [top: -A] + expected: FAIL + + [top: -a] + expected: FAIL + + [top: -1] + expected: FAIL + + [top: -1\\31 ] + expected: FAIL + diff --git a/tests/wpt/metadata/url/urlencoded-parser.any.js.ini b/tests/wpt/metadata/url/urlencoded-parser.any.js.ini index 45160d1be12..d8250b97409 100644 --- a/tests/wpt/metadata/url/urlencoded-parser.any.js.ini +++ b/tests/wpt/metadata/url/urlencoded-parser.any.js.ini @@ -14,6 +14,12 @@ [request.formData() with input: a=b&c=d&] expected: FAIL + [request.formData() with input: _charset_=windows-1252&test=%C2x] + expected: FAIL + + [response.formData() with input: _charset_=windows-1252&test=%C2x] + expected: FAIL + [urlencoded-parser.any.worker.html] [response.formData() with input: a=b&c=d] @@ -25,9 +31,6 @@ [request.formData() with input: _charset_=windows-1252&test=%C2x] expected: FAIL - [response.formData() with input: a=b&c=d&] - expected: FAIL - - [response.formData() with input: &&&a=b&&&&c=d&] + [request.formData() with input: a=b&c=d] expected: FAIL diff --git a/tests/wpt/metadata/workers/semantics/multiple-workers/005.html.ini b/tests/wpt/metadata/workers/semantics/multiple-workers/005.html.ini index f806a845a2a..9d72f08e38e 100644 --- a/tests/wpt/metadata/workers/semantics/multiple-workers/005.html.ini +++ b/tests/wpt/metadata/workers/semantics/multiple-workers/005.html.ini @@ -1,6 +1,5 @@ [005.html] type: testharness - expected: ERROR [dedicated worker in shared worker in dedicated worker] expected: FAIL diff --git a/tests/wpt/web-platform-tests/background-fetch/fetch.https.window.js b/tests/wpt/web-platform-tests/background-fetch/fetch.https.window.js index b730c8909de..70dacd717a0 100644 --- a/tests/wpt/web-platform-tests/background-fetch/fetch.https.window.js +++ b/tests/wpt/web-platform-tests/background-fetch/fetch.https.window.js @@ -5,6 +5,9 @@ // Covers basic functionality provided by BackgroundFetchManager.fetch(). // https://wicg.github.io/background-fetch/#background-fetch-manager-fetch +const wait = milliseconds => + new Promise(resolve => step_timeout(resolve, milliseconds)); + promise_test(async test => { // 6.3.1.9.2: If |registration|’s active worker is null, then reject promise // with a TypeError and abort these steps. @@ -12,16 +15,16 @@ promise_test(async test => { const scope = 'service_workers/' + location.pathname; const serviceWorkerRegistration = - await service_worker_unregister_and_register(test, script, scope); + await service_worker_unregister_and_register(test, script, scope); assert_equals( - serviceWorkerRegistration.active, null, - 'There must not be an activated worker'); + serviceWorkerRegistration.active, null, + 'There must not be an activated worker'); await promise_rejects( - test, new TypeError(), - serviceWorkerRegistration.backgroundFetch.fetch( - uniqueId(), ['resources/feature-name.txt']), + test, new TypeError(), + serviceWorkerRegistration.backgroundFetch.fetch( + uniqueId(), ['resources/feature-name.txt']), 'fetch() must reject on pending and installing workers'); }, 'Background Fetch requires an activated Service Worker'); @@ -30,26 +33,26 @@ backgroundFetchTest(async (test, backgroundFetch) => { // 6.3.1.6: If |requests| is empty, then return a promise rejected with a // TypeError. await promise_rejects( - test, new TypeError(), backgroundFetch.fetch(uniqueId(), []), - 'Empty sequences are treated as NULL'); + test, new TypeError(), backgroundFetch.fetch(uniqueId(), []), + 'Empty sequences are treated as NULL'); // 6.3.1.7.1: Let |internalRequest| be the request of the result of invoking // the Request constructor with |request|. If this throws an // exception, return a promise rejected with the exception. await promise_rejects( - test, new TypeError(), - backgroundFetch.fetch(uniqueId(), 'https://user:pass@domain/secret.txt'), - 'Exceptions thrown in the Request constructor are rethrown'); + test, new TypeError(), + backgroundFetch.fetch(uniqueId(), 'https://user:pass@domain/secret.txt'), + 'Exceptions thrown in the Request constructor are rethrown'); // 6.3.1.7.2: If |internalRequest|’s mode is "no-cors", then return a // promise rejected with a TypeError. { const request = - new Request('resources/feature-name.txt', {mode: 'no-cors'}); + new Request('resources/feature-name.txt', {mode: 'no-cors'}); await promise_rejects( - test, new TypeError(), backgroundFetch.fetch(uniqueId(), request), - 'Requests must not be in no-cors mode'); + test, new TypeError(), backgroundFetch.fetch(uniqueId(), request), + 'Requests must not be in no-cors mode'); } }, 'Argument verification is done for BackgroundFetchManager.fetch()'); @@ -67,7 +70,7 @@ backgroundFetchTest(async (test, backgroundFetch) => { backgroundFetchTest(async (test, backgroundFetch) => { const registrationId = uniqueId(); const registration = - await backgroundFetch.fetch(registrationId, 'resources/feature-name.txt'); + await backgroundFetch.fetch(registrationId, 'resources/feature-name.txt'); assert_equals(registration.id, registrationId); assert_equals(registration.uploadTotal, 0); @@ -75,6 +78,7 @@ backgroundFetchTest(async (test, backgroundFetch) => { assert_equals(registration.downloadTotal, 0); assert_equals(registration.result, ''); assert_equals(registration.failureReason, ''); + assert_true(registration.recordsAvailable); // Skip `downloaded`, as the transfer may have started already. const {type, eventRegistration, results} = await getMessageFromServiceWorker(); @@ -97,15 +101,15 @@ backgroundFetchTest(async (test, backgroundFetch) => { // Very large download total that will definitely exceed the quota. const options = {downloadTotal: Number.MAX_SAFE_INTEGER}; await promise_rejects( - test, 'QUOTA_EXCEEDED_ERR', - backgroundFetch.fetch(registrationId, 'resources/feature-name.txt', options), - 'This fetch should have thrown a quota exceeded error'); + test, 'QUOTA_EXCEEDED_ERR', + backgroundFetch.fetch(registrationId, 'resources/feature-name.txt', options), + 'This fetch should have thrown a quota exceeded error'); }, 'Background Fetch that exceeds the quota throws a QuotaExceededError'); backgroundFetchTest(async (test, backgroundFetch) => { const registration = await backgroundFetch.fetch( - 'my-id', ['resources/feature-name.txt', 'resources/feature-name.txt']); + 'my-id', ['resources/feature-name.txt', 'resources/feature-name.txt']); const {type, eventRegistration, results} = await getMessageFromServiceWorker(); assert_equals('backgroundfetchsuccess', type); @@ -125,8 +129,8 @@ backgroundFetchTest(async (test, backgroundFetch) => { backgroundFetchTest(async (test, backgroundFetch) => { const request = - new Request('resources/feature-name.txt', - {method: 'POST', body: 'TestBody'}); + new Request('resources/feature-name.txt', + {method: 'POST', body: 'TestBody'}); const registration = await backgroundFetch.fetch('my-id', request); @@ -145,3 +149,25 @@ backgroundFetchTest(async (test, backgroundFetch) => { } }, 'Fetches can have requests with a body'); + +backgroundFetchTest(async (test, backgroundFetch) => { + const registrationId = uniqueId(); + const registration = + await backgroundFetch.fetch(registrationId, 'resources/feature-name.txt'); + assert_true(registration.recordsAvailable); + + const {type, eventRegistration, results} = await getMessageFromServiceWorker(); + assert_equals('backgroundfetchsuccess', type); + assert_equals(results.length, 1); + + // Wait for up to 5 seconds for the |eventRegistration|'s recordsAvailable + // flag to be set to false, which happens after the successful invocation + // of the ServiceWorker event has finished. + for (let i = 0; i < 50; ++i) { + if (!registration.recordsAvailable) + break; + await wait(100); + } + + assert_false(registration.recordsAvailable); +}, 'recordsAvailable is false after onbackgroundfetchsuccess finishes execution.'); \ No newline at end of file diff --git a/tests/wpt/web-platform-tests/background-fetch/get.https.window.js b/tests/wpt/web-platform-tests/background-fetch/get.https.window.js index e4dd16cacd2..cd1dc3a6c49 100644 --- a/tests/wpt/web-platform-tests/background-fetch/get.https.window.js +++ b/tests/wpt/web-platform-tests/background-fetch/get.https.window.js @@ -43,6 +43,7 @@ backgroundFetchTest(async (test, backgroundFetch) => { assert_equals(registration.downloadTotal, 1234); assert_equals(registration.result, ''); assert_equals(registration.failureReason, ''); + assert_true(registration.recordsAvailable); // Skip `downloaded`, as the transfer may have started already. const secondRegistration = await backgroundFetch.get(registrationId); @@ -52,6 +53,8 @@ backgroundFetchTest(async (test, backgroundFetch) => { assert_equals(secondRegistration.uploadTotal, registration.uploadTotal); assert_equals(secondRegistration.uploaded, registration.uploaded); assert_equals(secondRegistration.downloadTotal, registration.downloadTotal); + assert_equals(secondRegistration.failureReason, registration.failureReason); + assert_equals(secondRegistration.recordsAvailable, registration.recordsAvailable); // While the transfer might have started, both BackgroundFetchRegistration // objects should have the latest progress values. diff --git a/tests/wpt/web-platform-tests/content-security-policy/connect-src/connect-src-eventsource-allowed.sub.html b/tests/wpt/web-platform-tests/content-security-policy/connect-src/connect-src-eventsource-allowed.sub.html index 3025e8a571a..8922d99e039 100644 --- a/tests/wpt/web-platform-tests/content-security-policy/connect-src/connect-src-eventsource-allowed.sub.html +++ b/tests/wpt/web-platform-tests/content-security-policy/connect-src/connect-src-eventsource-allowed.sub.html @@ -7,23 +7,31 @@ connect-src-eventsource-allowed - +
diff --git a/tests/wpt/web-platform-tests/content-security-policy/connect-src/connect-src-eventsource-blocked.sub.html b/tests/wpt/web-platform-tests/content-security-policy/connect-src/connect-src-eventsource-blocked.sub.html index 9b08365cec9..df8a9a1e3db 100644 --- a/tests/wpt/web-platform-tests/content-security-policy/connect-src/connect-src-eventsource-blocked.sub.html +++ b/tests/wpt/web-platform-tests/content-security-policy/connect-src/connect-src-eventsource-blocked.sub.html @@ -7,7 +7,7 @@ connect-src-eventsource-blocked - + @@ -16,21 +16,21 @@ window.addEventListener('securitypolicyviolation', function(e) { log("violated-directive=" + e.violatedDirective); }); - + try { - var es = new EventSource("http://www1.{{host}}:{{ports[http][0]}}/content-security-policy/connect-src/resources/simple-event-stream"); - // Firefox doesn't throw an exception and takes some time to close async + var es = new EventSource("http://{{domains[www1]}}:{{ports[http][0]}}/content-security-policy/connect-src/resources/simple-event-stream"); + // Firefox and Chrome don't throw an exception and takes some time to close async if (es.readyState == EventSource.CONNECTING) { setTimeout( function() { - es.readyState != EventSource.CLOSED ? log("Fail") : log("Pass"); - }, 2); + es.readyState != EventSource.CLOSED ? log("allowed") : log("blocked"); + }, 1000); } else if (es.readyState == EventSource.CLOSED) { - log("Pass"); + log("blocked"); } else { - log("Fail"); + log("allowed"); } } catch (e) { - log("Pass"); + log("blocked"); }
diff --git a/tests/wpt/web-platform-tests/content-security-policy/connect-src/connect-src-websocket-allowed.sub.html b/tests/wpt/web-platform-tests/content-security-policy/connect-src/connect-src-websocket-allowed.sub.html index 6216444e08e..4263d97fe2d 100644 --- a/tests/wpt/web-platform-tests/content-security-policy/connect-src/connect-src-websocket-allowed.sub.html +++ b/tests/wpt/web-platform-tests/content-security-policy/connect-src/connect-src-websocket-allowed.sub.html @@ -2,26 +2,31 @@ - - - connect-src-websocket-allowed + + + connect-src-websocket-blocked - + diff --git a/tests/wpt/web-platform-tests/content-security-policy/connect-src/connect-src-websocket-blocked.sub.html b/tests/wpt/web-platform-tests/content-security-policy/connect-src/connect-src-websocket-blocked.sub.html index 249c7a346a4..02c52837bb8 100644 --- a/tests/wpt/web-platform-tests/content-security-policy/connect-src/connect-src-websocket-blocked.sub.html +++ b/tests/wpt/web-platform-tests/content-security-policy/connect-src/connect-src-websocket-blocked.sub.html @@ -2,12 +2,12 @@ - - + + connect-src-websocket-blocked - + @@ -18,10 +18,15 @@ }); try { - var ws = new WebSocket("ws://localhost:8880/echo"); - log("Fail"); + var ws = new WebSocket("ws://{{domains[www1]}}:{{ports[http][0]}}/echo"); + + if (ws.readyState == WebSocket.CLOSING || ws.readyState == WebSocket.CLOSED) { + log("blocked"); + } else { + log("allowed"); + } } catch (e) { - log("Pass"); + log("blocked"); } diff --git a/tests/wpt/web-platform-tests/content-security-policy/connect-src/connect-src-websocket-self.sub.html b/tests/wpt/web-platform-tests/content-security-policy/connect-src/connect-src-websocket-self.sub.html new file mode 100644 index 00000000000..6db324ea0e7 --- /dev/null +++ b/tests/wpt/web-platform-tests/content-security-policy/connect-src/connect-src-websocket-self.sub.html @@ -0,0 +1,47 @@ + + + + + + connect-src-websocket-blocked + + + + + + + + +
+ + + diff --git a/tests/wpt/web-platform-tests/css/css-contain/contain-layout-independent-formatting-context-002.html b/tests/wpt/web-platform-tests/css/css-contain/contain-layout-independent-formatting-context-002.html index a7e8baed56d..8491e3d28f9 100644 --- a/tests/wpt/web-platform-tests/css/css-contain/contain-layout-independent-formatting-context-002.html +++ b/tests/wpt/web-platform-tests/css/css-contain/contain-layout-independent-formatting-context-002.html @@ -13,7 +13,7 @@

Test passes if it has the same output than the reference.

- +
This text should have 2em top and bottom margins (margins do not collapse).
diff --git a/tests/wpt/web-platform-tests/css/css-contain/contain-size-023.html b/tests/wpt/web-platform-tests/css/css-contain/contain-size-023.html index ce795c6402d..a5492094e8f 100644 --- a/tests/wpt/web-platform-tests/css/css-contain/contain-size-023.html +++ b/tests/wpt/web-platform-tests/css/css-contain/contain-size-023.html @@ -6,7 +6,7 @@ - + diff --git a/tests/wpt/web-platform-tests/css/css-contain/contain-size-025.html b/tests/wpt/web-platform-tests/css/css-contain/contain-size-025.html index 5cce18c3bfd..bb17fe2e15f 100644 --- a/tests/wpt/web-platform-tests/css/css-contain/contain-size-025.html +++ b/tests/wpt/web-platform-tests/css/css-contain/contain-size-025.html @@ -6,7 +6,7 @@ - + diff --git a/tests/wpt/web-platform-tests/css/css-contain/contain-size-027.html b/tests/wpt/web-platform-tests/css/css-contain/contain-size-027.html index 266402cb314..ed4bb24c9b0 100644 --- a/tests/wpt/web-platform-tests/css/css-contain/contain-size-027.html +++ b/tests/wpt/web-platform-tests/css/css-contain/contain-size-027.html @@ -6,7 +6,7 @@ - + diff --git a/tests/wpt/web-platform-tests/css/css-contain/contain-size-041.html b/tests/wpt/web-platform-tests/css/css-contain/contain-size-041.html index 44069a0c69b..333a2ceebf9 100644 --- a/tests/wpt/web-platform-tests/css/css-contain/contain-size-041.html +++ b/tests/wpt/web-platform-tests/css/css-contain/contain-size-041.html @@ -6,7 +6,7 @@ - + diff --git a/tests/wpt/web-platform-tests/css/css-contain/reference/contain-size-021-ref.html b/tests/wpt/web-platform-tests/css/css-contain/reference/contain-size-021-ref.html index de9cea10501..639daa84372 100644 --- a/tests/wpt/web-platform-tests/css/css-contain/reference/contain-size-021-ref.html +++ b/tests/wpt/web-platform-tests/css/css-contain/reference/contain-size-021-ref.html @@ -1,13 +1,31 @@ + +CSS Containment Test: Reference file + + - +

This test passes if the painted blue area is exactly as wide as the orange square. -

This test passes if the painted blue area is exactly as wide as the orange square. +

+
Image download support must be enabled
+
-
Image download support must be enabled
- -
Image download support must be enabled
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/css-contain/reference/contain-size-023-ref.html b/tests/wpt/web-platform-tests/css/css-contain/reference/contain-size-023-ref.html new file mode 100644 index 00000000000..1073100b0ce --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-contain/reference/contain-size-023-ref.html @@ -0,0 +1,33 @@ + + +CSS Containment Test: Reference file + + + +

This test passes if the painted blue area is exactly as wide as the orange square. + +

+
B
+
+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/css-contain/reference/contain-size-025-ref.html b/tests/wpt/web-platform-tests/css/css-contain/reference/contain-size-025-ref.html new file mode 100644 index 00000000000..de9cea10501 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-contain/reference/contain-size-025-ref.html @@ -0,0 +1,13 @@ + + + + + CSS Reference Test + + + +

This test passes if the painted blue area is exactly as wide as the orange square. + +

Image download support must be enabled
+ +
Image download support must be enabled
diff --git a/tests/wpt/web-platform-tests/css/css-contain/reference/contain-size-027-ref.html b/tests/wpt/web-platform-tests/css/css-contain/reference/contain-size-027-ref.html new file mode 100644 index 00000000000..ce4c699dc1b --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-contain/reference/contain-size-027-ref.html @@ -0,0 +1,41 @@ + + +CSS Containment Test: Reference file + + + +

This test passes if the painted blue area is exactly as wide as the orange square. + +

+
+ B + L +
+
+ +
+
+
diff --git a/tests/wpt/web-platform-tests/css/css-images/multiple-position-color-stop-conic.html b/tests/wpt/web-platform-tests/css/css-images/multiple-position-color-stop-conic.html new file mode 100644 index 00000000000..d1608c0cfe8 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-images/multiple-position-color-stop-conic.html @@ -0,0 +1,14 @@ + +Conic gradient with a two position color stop + + + + +
diff --git a/tests/wpt/web-platform-tests/css/css-images/multiple-position-color-stop-linear.html b/tests/wpt/web-platform-tests/css/css-images/multiple-position-color-stop-linear.html new file mode 100644 index 00000000000..2e1f9ed7be4 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-images/multiple-position-color-stop-linear.html @@ -0,0 +1,14 @@ + +Linear gradient with a two position color stop + + + + +
diff --git a/tests/wpt/web-platform-tests/css/css-images/multiple-position-color-stop-radial.html b/tests/wpt/web-platform-tests/css/css-images/multiple-position-color-stop-radial.html new file mode 100644 index 00000000000..74e25df788b --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-images/multiple-position-color-stop-radial.html @@ -0,0 +1,14 @@ + +Radial gradient with a two position color stop + + + + +
diff --git a/tests/wpt/web-platform-tests/css/css-images/support/100x100-blue-green.html b/tests/wpt/web-platform-tests/css/css-images/support/100x100-blue-green.html new file mode 100644 index 00000000000..e4f35c3e430 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-images/support/100x100-blue-green.html @@ -0,0 +1,2 @@ + +
diff --git a/tests/wpt/web-platform-tests/css/css-properties-values-api/unit-cycles.html b/tests/wpt/web-platform-tests/css/css-properties-values-api/unit-cycles.html index b5c996a4429..d65348543c4 100644 --- a/tests/wpt/web-platform-tests/css/css-properties-values-api/unit-cycles.html +++ b/tests/wpt/web-platform-tests/css/css-properties-values-api/unit-cycles.html @@ -18,14 +18,29 @@ register_length('--font-size-ex'); register_length('--font-size-ch'); register_length('--font-size-px'); + register_length('--font-size-em-via-var'); + register_length('--font-size-rem-via-var'); + register_length('--font-size-ex-via-var'); + register_length('--font-size-ch-via-var'); +
+
+
x
+
+
+
+
+
x
+
+
+ diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-align-justify-self.html b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-align-justify-self.html new file mode 100644 index 00000000000..29df29d1777 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-align-justify-self.html @@ -0,0 +1,34 @@ + +legend align to justify-self + + +
x
+
x
+
x
+
x
+
x
+
x
+
x
+ +
x
+
x
+ +
x
+
x
+
x
+
x
+ diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-block-margins-ref.html b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-block-margins-ref.html new file mode 100644 index 00000000000..e0528855df0 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-block-margins-ref.html @@ -0,0 +1,13 @@ + +Reference for legend block margins + +

There should be no red.

+
+
X
+
Y
+
diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-block-margins.html b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-block-margins.html new file mode 100644 index 00000000000..957eca57350 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-block-margins.html @@ -0,0 +1,16 @@ + +legend block margins + + +

There should be no red.

+
+
+ X +
Y
+
diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-tall-ref.html b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-tall-ref.html new file mode 100644 index 00000000000..004ce42129c --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-tall-ref.html @@ -0,0 +1,20 @@ + +Reference for tall legend + +

There should be no red.

+
X
+
+
HELLO
diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-tall.html b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-tall.html new file mode 100644 index 00000000000..7b9495946e2 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-tall.html @@ -0,0 +1,20 @@ + +tall legend + + +

There should be no red.

+
+
XHELLO
diff --git a/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/goal-parameter.htm b/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/goal-parameter.htm deleted file mode 100644 index fe4d6759b91..00000000000 --- a/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/goal-parameter.htm +++ /dev/null @@ -1,138 +0,0 @@ - - - - Goal Parameter on JavaScript MIME - - - - - - - - - - - diff --git a/tests/wpt/web-platform-tests/interfaces/payment-handler.idl b/tests/wpt/web-platform-tests/interfaces/payment-handler.idl index b19a7302dba..5648ae33457 100644 --- a/tests/wpt/web-platform-tests/interfaces/payment-handler.idl +++ b/tests/wpt/web-platform-tests/interfaces/payment-handler.idl @@ -59,6 +59,13 @@ partial interface ServiceWorkerGlobalScope { attribute EventHandler onpaymentrequest; }; +dictionary PaymentMethodChangeResponse { + DOMString error; + PaymentCurrencyAmount total; + FrozenArray modifiers; + object paymentMethodErrors; +}; + [Constructor(DOMString type, PaymentRequestEventInit eventInitDict), Exposed=ServiceWorker] interface PaymentRequestEvent : ExtendableEvent { readonly attribute USVString topOrigin; @@ -68,7 +75,9 @@ interface PaymentRequestEvent : ExtendableEvent { readonly attribute object total; readonly attribute FrozenArray modifiers; readonly attribute DOMString instrumentKey; + readonly attribute boolean requestBillingAddress; Promise openWindow(USVString url); + Promise changePaymentMethod(DOMString methodName, optional object? methodDetails = null); void respondWith(Promise handlerResponsePromise); }; diff --git a/tests/wpt/web-platform-tests/pointerevents/extension/pointerevent_getCoalescedEvents_when_pointerlocked-manual.html b/tests/wpt/web-platform-tests/pointerevents/extension/pointerevent_getCoalescedEvents_when_pointerlocked-manual.html new file mode 100644 index 00000000000..6efded85b45 --- /dev/null +++ b/tests/wpt/web-platform-tests/pointerevents/extension/pointerevent_getCoalescedEvents_when_pointerlocked-manual.html @@ -0,0 +1,62 @@ + + + + Pointer Events pointer lock tests + + + + + + + + + +

PointerMove getCoalescedEvent in locked state test

+

+

+ Test Description: This test checks if pointerevent.getCoalescedEvent work correctly when pointer is locked. +
    +
  1. Press left button down on the green rectangle to lock pointer.
  2. +
  3. Move the mouse
  4. +
+ + + Test passes if the proper behavior of the events is observed. +

+
+
+
+
+ + diff --git a/tests/wpt/web-platform-tests/pointerevents/extension/pointerevent_pointerrawmove_in_pointerlock-manual.html b/tests/wpt/web-platform-tests/pointerevents/extension/pointerevent_pointerrawmove_in_pointerlock-manual.html index 30fff15bd92..970355863bb 100644 --- a/tests/wpt/web-platform-tests/pointerevents/extension/pointerevent_pointerrawmove_in_pointerlock-manual.html +++ b/tests/wpt/web-platform-tests/pointerevents/extension/pointerevent_pointerrawmove_in_pointerlock-manual.html @@ -11,9 +11,14 @@

pointerrawmove

-

Test Description: This test checks if pointerrawmove is dispatched correctly while in pointerlock mode.

-

Click in the box (and accept the pointerlock permission if asked).

-

Move your mouse.

+

Test Description: This test checks if pointerrawmove is dispatched correctly while in pointerlock mode. +
    +
  1. Click in the black box (and accept the pointerlock permission if asked).
  2. +
  3. Move your mouse.
  4. +
  5. Click in the purple box inside the iframe
  6. +
  7. Move your mouse.
  8. +
+

+ + + + + +

pointerlock

+

Test Description: This test checks if pointermove is dispatched correctly while in pointerlock mode. +
    +
  1. Click in the black box (and accept the pointerlock permission if asked).
  2. +
  3. Move your mouse.
  4. +
  5. Click in the purple box inside the iframe
  6. +
  7. Move your mouse.
  8. +
+

+
+ + +
+
+ + diff --git a/tests/wpt/web-platform-tests/pointerevents/pointerlock/pointerevent_pointermove_on_chorded_mouse_button_when_locked-manual.html b/tests/wpt/web-platform-tests/pointerevents/pointerlock/pointerevent_pointermove_on_chorded_mouse_button_when_locked-manual.html new file mode 100644 index 00000000000..b2fadbfe05f --- /dev/null +++ b/tests/wpt/web-platform-tests/pointerevents/pointerlock/pointerevent_pointermove_on_chorded_mouse_button_when_locked-manual.html @@ -0,0 +1,98 @@ + + + + Pointermove on button state changes + + + + + + + + + +

PointerMove

+

Test Description: This test checks if pointermove event are triggered by button state changes +
    +
  1. Lick on the black rectangle to lock the pointer
  2. +
  3. Press a button and hold it
  4. +
  5. Press a second button
  6. +
  7. Release the second button
  8. +
  9. Release the first button to complete the test
  10. +
+

+
+ +

Pointer Lock Pointer Events pointermove on button state changes Tests

+
+

The following pointer types were detected: .

+

Refresh the page to run the tests again.

+
+
+ + diff --git a/tests/wpt/web-platform-tests/pointerevents/pointerlock/resources/pointerevent_pointermove_in_pointerlock-iframe.html b/tests/wpt/web-platform-tests/pointerevents/pointerlock/resources/pointerevent_pointermove_in_pointerlock-iframe.html new file mode 100644 index 00000000000..b7cc7068e96 --- /dev/null +++ b/tests/wpt/web-platform-tests/pointerevents/pointerlock/resources/pointerevent_pointermove_in_pointerlock-iframe.html @@ -0,0 +1,10 @@ + + + + + + + +
+ + diff --git a/tests/wpt/web-platform-tests/resources/test/tests/unit/test-return-restrictions.html b/tests/wpt/web-platform-tests/resources/test/tests/unit/test-return-restrictions.html new file mode 100644 index 00000000000..8472ba9c9ed --- /dev/null +++ b/tests/wpt/web-platform-tests/resources/test/tests/unit/test-return-restrictions.html @@ -0,0 +1,155 @@ + + + + + + Restrictions on return value from `test` + + + + + diff --git a/tests/wpt/web-platform-tests/resources/testharness.js b/tests/wpt/web-platform-tests/resources/testharness.js index 85e211ff60a..352e8b76266 100644 --- a/tests/wpt/web-platform-tests/resources/testharness.js +++ b/tests/wpt/web-platform-tests/resources/testharness.js @@ -541,7 +541,22 @@ policies and contribution forms [3]. var test_name = name ? name : test_environment.next_default_test_name(); properties = properties ? properties : {}; var test_obj = new Test(test_name, properties); - test_obj.step(func, test_obj, test_obj); + var value = test_obj.step(func, test_obj, test_obj); + + if (value !== undefined) { + var msg = "test named \"" + test_name + + "\" inappropriately returned a value"; + + try { + if (value && value.hasOwnProperty("then")) { + msg += ", consider using `promise_test` instead"; + } + } catch (err) {} + + tests.status.status = tests.status.ERROR; + tests.status.message = msg; + } + if (test_obj.phase === test_obj.phases.STARTED) { test_obj.done(); } diff --git a/tests/wpt/web-platform-tests/tools/wpt/run.py b/tests/wpt/web-platform-tests/tools/wpt/run.py index a1e5637bf1d..21dc7c8e977 100644 --- a/tests/wpt/web-platform-tests/tools/wpt/run.py +++ b/tests/wpt/web-platform-tests/tools/wpt/run.py @@ -47,15 +47,17 @@ def create_parser(): parser.add_argument("--yes", "-y", dest="prompt", action="store_false", default=True, help="Don't prompt before installing components") parser.add_argument("--install-browser", action="store_true", - help="Install the browser") + help="Install the browser from the release channel specified by --channel " + "(or the nightly channel by default).") parser.add_argument("--channel", action="store", choices=install.channel_by_name.keys(), - default=None, help='Name of browser release channel.' - '"stable" and "release" are synonyms for the latest browser stable release,' - '"nightly", "dev", "experimental", and "preview" are all synonyms for ' - 'the latest available development release. For WebDriver installs, ' - 'we attempt to select an appropriate, compatible, version for the ' - 'latest browser release on the selected channel.') + default=None, help='Name of browser release channel. ' + '"stable" and "release" are synonyms for the latest browser stable ' + 'release, "nightly", "dev", "experimental", and "preview" are all ' + 'synonyms for the latest available development release. (For WebDriver ' + 'installs, we attempt to select an appropriate, compatible version for ' + 'the latest browser release on the selected channel.) ' + 'This flag overrides --browser-channel.') parser._add_container_actions(wptcommandline.create_parser()) return parser @@ -249,6 +251,9 @@ class Chrome(BrowserSetup): kwargs["webdriver_binary"] = webdriver_binary else: raise WptrunError("Unable to locate or install chromedriver binary") + if kwargs["browser_channel"] == "dev": + logger.info("Automatically turning on experimental features for Chrome Dev") + kwargs["binary_args"].append("--enable-experimental-web-platform-features") class ChromeAndroid(BrowserSetup): @@ -273,6 +278,7 @@ class ChromeAndroid(BrowserSetup): else: raise WptrunError("Unable to locate or install chromedriver binary") + class ChromeWebDriver(Chrome): name = "chrome_webdriver" browser_cls = browser.ChromeWebDriver @@ -453,6 +459,7 @@ def setup_wptrunner(venv, prompt=True, install_browser=False, **kwargs): setup_cls.install_requirements() if install_browser and not kwargs["channel"]: + logger.info("--install-browser is given but --channel is not set, default to nightly channel") kwargs["channel"] = "nightly" if kwargs["channel"]: @@ -480,7 +487,7 @@ def setup_wptrunner(venv, prompt=True, install_browser=False, **kwargs): def run(venv, **kwargs): - #Remove arguments that aren't passed to wptrunner + # Remove arguments that aren't passed to wptrunner prompt = kwargs.pop("prompt", True) install_browser = kwargs.pop("install_browser", False) diff --git a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/executors/executorwebdriver.py b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/executors/executorwebdriver.py index 127c909e810..6dde7191ec6 100644 --- a/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/executors/executorwebdriver.py +++ b/tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/executors/executorwebdriver.py @@ -236,7 +236,7 @@ class WebDriverRun(object): def _run(self): try: self.result = True, self.func(self.protocol, self.url, self.timeout) - except client.TimeoutException: + except (client.TimeoutException, client.ScriptTimeoutException): self.result = False, ("EXTERNAL-TIMEOUT", None) except (socket.timeout, client.UnknownErrorException): self.result = False, ("CRASH", None) diff --git a/tests/wpt/web-platform-tests/web-animations/timing-model/animations/setting-the-target-effect-of-an-animation.html b/tests/wpt/web-platform-tests/web-animations/timing-model/animations/setting-the-target-effect-of-an-animation.html index 0bcff3bc972..60ea1850fc5 100644 --- a/tests/wpt/web-platform-tests/web-animations/timing-model/animations/setting-the-target-effect-of-an-animation.html +++ b/tests/wpt/web-platform-tests/web-animations/timing-model/animations/setting-the-target-effect-of-an-animation.html @@ -113,7 +113,7 @@ test(t => { 'existing animation, the target effect\'s timing is updated to reflect ' + 'the current time of the new animation.'); -test(async t => { +promise_test(async t => { const anim = createDiv(t).animate(null, 100 * MS_PER_SEC); anim.updatePlaybackRate(2); assert_equals(anim.playbackRate, 1);