From 17f4d588798b068de48bdd448f52099e98558fb8 Mon Sep 17 00:00:00 2001 From: WPT Sync Bot Date: Thu, 2 Mar 2023 01:47:05 +0000 Subject: [PATCH] Update web-platform-tests to revision b'3b791e5b10812a4ca4473d93679fc70d1a7f5f88' --- .../FileAPI/url/url-charset.window.js.ini | 4 - tests/wpt/metadata/MANIFEST.json | 431 ++++++++++++++---- .../CSS2/floats/hit-test-floats-002.html.ini | 3 - .../block-in-inline-hittest-002.html.ini | 3 - ...k-in-inline-hittest-relpos-zindex.html.ini | 3 - .../image-set/image-set-computed.sub.html.ini | 12 + .../text-wrap-balance-002.html.ini | 2 + .../white-space-vs-joiners-002.html.ini | 2 + .../properties-value-inherit-003.html.ini | 87 ---- .../variable-definition.html.ini | 9 - .../css/cssom-view/CaretPosition-001.html.ini | 3 - .../cssom-view/elementFromPoint-001.html.ini | 3 - .../elementFromPoint-float-in-table.html.ini | 3 - .../elementFromPoint-subpixel.html.ini | 3 + .../elementsFromPoint-invalid-cases.html.ini | 3 + .../css-images.sub.tentative.html.ini | 3 - .../tentative/known-mime-type.sub.any.js.ini | 12 + .../worker-blob-fetch.window.js.ini | 3 + ...n-fragment-scrolling-cross-origin.html.ini | 2 +- .../srcdoc/consecutive-srcdoc.html.ini | 3 +- .../navigating-across-documents/005.html.ini | 1 - ...c-aboutblank-navigate-immediately.html.ini | 3 +- .../javascript-url-referrer.window.js.ini | 4 + ...tion-unload-cross-origin.sub.window.js.ini | 3 - ...avigation-unload-same-origin.window.js.ini | 3 - .../replace-before-load/a-click.html.ini | 3 - .../traverse-during-unload.html.ini | 4 + ...creating_browsing_context_test_01.html.ini | 3 +- .../supported-elements.html.ini | 12 +- .../iframe_sandbox_popups_escaping-1.html.ini | 3 +- ...rame_sandbox_popups_nonescaping-2.html.ini | 3 +- ...-special-cases.tentative.sub.window.js.ini | 1 + .../multipart-formdata.window.js.ini | 3 + .../text-plain.window.js.ini | 6 + .../urlencoded2.window.js.ini | 6 + .../parsing/DOMContentLoaded-defer.html.ini | 3 - .../document-write/module-delayed.html.ini | 3 + ...le-event-handler-settings-objects.html.ini | 3 - .../audiocontext-not-fully-active.html.ini | 1 - .../cross-partition.https.tentative.html.ini | 2 +- .../017.html.ini | 0 .../018.html.ini | 0 .../Worker/Worker-constructor.html.ini | 2 + .../css/stylesheet_media_queries.html.ini | 3 + .../mozilla/meta/mozilla/scrollBy.html.ini | 3 - ...ontent-and-allowed-schemes.https.window.js | 15 +- .../port-blocking.https.window.js | 8 +- .../battery-status/api-defined.https.html | 30 ++ ...y-allowed-in-same-origin-iframe.https.html | 2 +- ...owed-in-cross-origin-iframe.https.sub.html | 2 +- .../battery-promise-window.https.html | 2 +- ...multiple-promises-after-resolve.https.html | 23 + .../multiple-promises.https.html | 22 + .../no-leak-on-detached-use.https.html | 48 ++ .../battery-status/page-visibility.https.html | 38 ++ .../promise-with-eventlisteners.https.html | 36 ++ .../resources/battery-status-helpers.js | 34 ++ .../{ => resources}/support-iframe.html | 0 .../{ => resources}/support-window-open.html | 0 .../window-postmessage-open-close.html | 9 + .../restricted-level-precision.https.html | 22 + .../cookies/resources/set-cookie.py | 2 +- .../support/ref-common.css | 1 - .../support/test-common.css | 1 - .../image-set/image-set-computed.sub.html | 4 + ...parallel-flow-after-spanner-in-inline.html | 13 + ...parallel-flow-after-spanner-in-inline.html | 15 + .../parallel-flow-after-spanner-001.html | 14 + .../parallel-flow-after-spanner-002.html | 14 + .../reference/text-wrap-balance-002-ref.html | 12 + .../white-space-vs-joiners-001-ref.html | 27 ++ .../white-space-vs-joiners-002-ref.html | 23 + .../white-space/text-wrap-balance-002.html | 15 + .../white-space-vs-joiners-001.html | 37 ++ .../white-space-vs-joiners-002.html | 29 ++ .../css-variables/variable-definition.html | 2 +- .../3d-transform-incoming.html | 2 +- .../3d-transform-outgoing.html | 2 +- ...ontent-visibility-auto-shared-element.html | 2 +- .../css-tags-paint-order-with-entry.html | 2 +- .../css-tags-paint-order.html | 2 +- .../css-tags-shared-element.html | 2 +- .../far-away-capture.html | 2 +- .../css-view-transitions/japanese-tag.html | 2 +- .../new-and-old-sizes-match-ref.html | 2 +- .../new-and-old-sizes-match.html | 2 +- .../new-content-captures-clip-path.html | 2 +- .../new-content-captures-different-size.html | 2 +- .../new-content-captures-opacity.html | 2 +- ...new-content-captures-positioned-spans.html | 2 +- .../new-content-captures-spans.html | 2 +- .../new-content-container-writing-modes.html | 2 +- .../new-content-element-writing-modes.html | 2 +- .../new-content-intrinsic-aspect-ratio.html | 2 +- .../new-content-is-empty-div.html | 2 +- .../new-content-is-inline.html | 2 + .../new-content-object-fit-fill.html | 2 +- .../new-content-object-fit-none.html | 2 +- ...t-object-view-box-clip-path-reference.html | 2 +- ...new-content-object-view-box-clip-path.html | 2 +- ...tent-object-view-box-overflow-clipped.html | 2 +- .../new-content-object-view-box-overflow.html | 2 +- .../new-content-scaling.html | 2 +- .../new-content-with-overflow-zoomed.html | 2 +- .../new-content-with-overflow.html | 2 +- .../new-element-on-start.html | 2 +- .../old-content-captures-clip-path.html | 2 +- .../old-content-captures-different-size.html | 2 +- .../old-content-captures-opacity.html | 2 +- .../old-content-container-writing-modes.html | 2 +- .../old-content-element-writing-modes.html | 2 +- .../old-content-intrinsic-aspect-ratio.html | 2 +- .../old-content-is-empty-div.html | 2 +- .../old-content-is-inline.html | 2 + .../old-content-object-fit-fill.html | 2 +- .../old-content-object-fit-none.html | 2 +- ...t-object-view-box-clip-path-reference.html | 2 +- ...old-content-object-view-box-clip-path.html | 2 +- .../old-content-object-view-box-overflow.html | 2 +- .../old-content-with-overflow-zoomed.html | 2 +- .../old-content-with-overflow.html | 2 +- .../root-style-change-during-animation.html | 2 + .../set-universal-specificity.html | 2 +- ...justifyleft-in-closed-editable-dialog.html | 17 + .../authentication-redirection.any.js | 5 +- .../fetch/orb/resources/empty.json | 1 + .../orb/tentative/known-mime-type.sub.any.js | 12 +- .../fetch/origin/assorted.window.js | 4 +- .../origin/resources/redirect-and-stash.py | 10 +- .../model/move-fullscreen-element.html | 29 ++ ...on-response-from-service-worker.https.html | 6 +- .../none-sw-from-none.https.html | 6 +- .../none-sw-from-require-corp.https.html | 6 +- .../require-corp-sw-from-none.https.html | 6 +- ...quire-corp-sw-from-require-corp.https.html | 6 +- .../require-corp.https.html | 2 +- .../resources/nothing-cross-origin-corp.js | 1 + ...s => nothing-cross-origin-corp.js.headers} | 0 .../resources/nothing-cross-origin-corp.txt | 1 - .../resources/require-corp-sw.js | 2 +- .../sandbox.https.html | 2 +- tests/wpt/web-platform-tests/lint.ignore | 3 +- .../tentative/loaf-iframe-popup.html | 67 --- .../fetch-cross-origin-redirect.https.html | 2 +- .../chromium/mock-battery-monitor.headers | 1 + .../chromium/mock-battery-monitor.js | 61 +++ ...ew-timeline-with-transform-on-subject.html | 76 +++ .../local-url-inherit-controller-frame.html | 2 +- .../opaque-response-preloaded-worker.js | 2 +- .../service-worker/resources/sample.js | 1 + .../sandboxed-iframe-fetch-event-iframe.py | 2 +- ...StorageAccessForOrigin.sub.https.window.js | 36 +- .../execute_async_script/execute_async.py | 21 + .../webdriver/tests/execute_script/execute.py | 21 + .../webnn/hard_swish.https.any.js | 10 + .../webnn/resources/test_data/hard_swish.json | 334 ++++++++++++++ .../webnn/resources/utils.js | 18 +- 157 files changed, 1609 insertions(+), 430 deletions(-) delete mode 100644 tests/wpt/metadata/FileAPI/url/url-charset.window.js.ini delete mode 100644 tests/wpt/metadata/css/CSS2/floats/hit-test-floats-002.html.ini create mode 100644 tests/wpt/metadata/css/css-text/white-space/text-wrap-balance-002.html.ini create mode 100644 tests/wpt/metadata/css/css-text/white-space/white-space-vs-joiners-002.html.ini delete mode 100644 tests/wpt/metadata/css/cssom-view/CaretPosition-001.html.ini delete mode 100644 tests/wpt/metadata/css/cssom-view/elementFromPoint-001.html.ini delete mode 100644 tests/wpt/metadata/css/cssom-view/elementFromPoint-float-in-table.html.ini create mode 100644 tests/wpt/metadata/css/cssom-view/elementFromPoint-subpixel.html.ini create mode 100644 tests/wpt/metadata/css/cssom-view/elementsFromPoint-invalid-cases.html.ini delete mode 100644 tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-cross-origin.sub.window.js.ini delete mode 100644 tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin.window.js.ini delete mode 100644 tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/a-click.html.ini create mode 100644 tests/wpt/metadata/html/browsers/history/the-history-interface/traverse-during-unload.html.ini delete mode 100644 tests/wpt/metadata/html/syntax/parsing/DOMContentLoaded-defer.html.ini create mode 100644 tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/document-write/module-delayed.html.ini rename tests/wpt/metadata/webmessaging/{with-ports => without-ports}/017.html.ini (100%) rename tests/wpt/metadata/webmessaging/{with-ports => without-ports}/018.html.ini (100%) create mode 100644 tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini create mode 100644 tests/wpt/mozilla/meta/css/stylesheet_media_queries.html.ini delete mode 100644 tests/wpt/mozilla/meta/mozilla/scrollBy.html.ini create mode 100644 tests/wpt/web-platform-tests/battery-status/api-defined.https.html create mode 100644 tests/wpt/web-platform-tests/battery-status/multiple-promises-after-resolve.https.html create mode 100644 tests/wpt/web-platform-tests/battery-status/multiple-promises.https.html create mode 100644 tests/wpt/web-platform-tests/battery-status/no-leak-on-detached-use.https.html create mode 100644 tests/wpt/web-platform-tests/battery-status/page-visibility.https.html create mode 100644 tests/wpt/web-platform-tests/battery-status/promise-with-eventlisteners.https.html create mode 100644 tests/wpt/web-platform-tests/battery-status/resources/battery-status-helpers.js rename tests/wpt/web-platform-tests/battery-status/{ => resources}/support-iframe.html (100%) rename tests/wpt/web-platform-tests/battery-status/{ => resources}/support-window-open.html (100%) create mode 100644 tests/wpt/web-platform-tests/battery-status/resources/window-postmessage-open-close.html create mode 100644 tests/wpt/web-platform-tests/battery-status/restricted-level-precision.https.html create mode 100644 tests/wpt/web-platform-tests/css/css-multicol/crashtests/multicol-parallel-flow-after-spanner-in-inline.html create mode 100644 tests/wpt/web-platform-tests/css/css-multicol/crashtests/multicol-table-caption-parallel-flow-after-spanner-in-inline.html create mode 100644 tests/wpt/web-platform-tests/css/css-multicol/parallel-flow-after-spanner-001.html create mode 100644 tests/wpt/web-platform-tests/css/css-multicol/parallel-flow-after-spanner-002.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/white-space/reference/text-wrap-balance-002-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/white-space/reference/white-space-vs-joiners-001-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/white-space/reference/white-space-vs-joiners-002-ref.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/white-space/text-wrap-balance-002.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/white-space/white-space-vs-joiners-001.html create mode 100644 tests/wpt/web-platform-tests/css/css-text/white-space/white-space-vs-joiners-002.html create mode 100644 tests/wpt/web-platform-tests/editing/crashtests/delete-after-justifyleft-in-closed-editable-dialog.html create mode 100644 tests/wpt/web-platform-tests/fetch/orb/resources/empty.json create mode 100644 tests/wpt/web-platform-tests/fullscreen/model/move-fullscreen-element.html create mode 100644 tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/nothing-cross-origin-corp.js rename tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/{nothing-cross-origin-corp.txt.headers => nothing-cross-origin-corp.js.headers} (100%) delete mode 100644 tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/nothing-cross-origin-corp.txt delete mode 100644 tests/wpt/web-platform-tests/long-animation-frame/tentative/loaf-iframe-popup.html create mode 100644 tests/wpt/web-platform-tests/resources/chromium/mock-battery-monitor.headers create mode 100644 tests/wpt/web-platform-tests/resources/chromium/mock-battery-monitor.js create mode 100644 tests/wpt/web-platform-tests/scroll-animations/css/view-timeline-with-transform-on-subject.html create mode 100644 tests/wpt/web-platform-tests/service-workers/service-worker/resources/sample.js create mode 100644 tests/wpt/web-platform-tests/webnn/hard_swish.https.any.js create mode 100644 tests/wpt/web-platform-tests/webnn/resources/test_data/hard_swish.json diff --git a/tests/wpt/metadata/FileAPI/url/url-charset.window.js.ini b/tests/wpt/metadata/FileAPI/url/url-charset.window.js.ini deleted file mode 100644 index 08ab7bd35cd..00000000000 --- a/tests/wpt/metadata/FileAPI/url/url-charset.window.js.ini +++ /dev/null @@ -1,4 +0,0 @@ -[url-charset.window.html] - expected: TIMEOUT - [Blob charset should override any auto-detected charset.] - expected: TIMEOUT diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 07ef0919af7..ab7a64df10b 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -2339,6 +2339,20 @@ {} ] ], + "multicol-parallel-flow-after-spanner-in-inline.html": [ + "2c0981239b961b5fe7a8041dab2636e32e1ce945", + [ + null, + {} + ] + ], + "multicol-table-caption-parallel-flow-after-spanner-in-inline.html": [ + "8de7e2f0d83779accf2f5716669451348b9d798a", + [ + null, + {} + ] + ], "multicol-with-monolithic-oof-with-multicol-with-oof.html": [ "43133fc2331f92550ff5417813b0e9e7354547ba", [ @@ -4207,6 +4221,13 @@ {} ] ], + "delete-after-justifyleft-in-closed-editable-dialog.html": [ + "185cb01ee51dbf91717887f51ad82812690e0e90", + [ + null, + {} + ] + ], "delete-and-justifycenter-recursively-with-mutation-event-listeners.html": [ "ce0c7e886f7c2755b96f21b4b431560e35a132e3", [ @@ -207115,6 +207136,32 @@ {} ] ], + "parallel-flow-after-spanner-001.html": [ + "38cc5c10157861af3cbcadc7e57fb7aba63ed7f6", + [ + null, + [ + [ + "/css/reference/ref-filled-green-100px-square.xht", + "==" + ] + ], + {} + ] + ], + "parallel-flow-after-spanner-002.html": [ + "f766be584d9217c2092b5bcf7f449b69b753a966", + [ + null, + [ + [ + "/css/reference/ref-filled-green-100px-square.xht", + "==" + ] + ], + {} + ] + ], "relative-child-overflowing-column-gap.html": [ "4359e7f7a71c1116eb80e0408c190baae59d72a4", [ @@ -241698,6 +241745,19 @@ {} ] ], + "text-wrap-balance-002.html": [ + "7366c6ac0f10ada47f67c7ad35fc073016bccf96", + [ + null, + [ + [ + "/css/css-text/white-space/reference/text-wrap-balance-002-ref.html", + "!=" + ] + ], + {} + ] + ], "textarea-break-spaces-001.html": [ "ad81e99768f9816c6e8a659c13aed81c4f22d940", [ @@ -243433,6 +243493,32 @@ {} ] ], + "white-space-vs-joiners-001.html": [ + "88c11f11549283082330e546c2cf5b6e006f2ace", + [ + null, + [ + [ + "/css/css-text/white-space/reference/white-space-vs-joiners-001-ref.html", + "==" + ] + ], + {} + ] + ], + "white-space-vs-joiners-002.html": [ + "25470f02f2dd27e8cba993feed8f9881e518e3a3", + [ + null, + [ + [ + "/css/css-text/white-space/reference/white-space-vs-joiners-002-ref.html", + "==" + ] + ], + {} + ] + ], "white-space-wrap-after-nowrap-001.html": [ "5947c289e8752c26a17631f37309de7874d68986", [ @@ -276247,7 +276333,7 @@ }, "css-view-transitions": { "3d-transform-incoming.html": [ - "cdf1b32ab73013e19be759cbf1b233c654d67131", + "1a0719eaa9e0027e752ce2c24609ec18c44427c0", [ null, [ @@ -276280,7 +276366,7 @@ ] ], "3d-transform-outgoing.html": [ - "746b93afd40c1c1e33f8ca3b4a8e0fa2970e635c", + "1796284c06d0de95538a7b8b923b505fb9218571", [ null, [ @@ -276359,7 +276445,7 @@ ] ], "content-visibility-auto-shared-element.html": [ - "11b4957fbcca7d1ceb8b151741eba1b86cb5708e", + "d76eab2fcd67372c3df2558748035929b3a5ed4f", [ null, [ @@ -276533,7 +276619,7 @@ ] ], "css-tags-paint-order-with-entry.html": [ - "703b64f5c68c732d42d5ffeb1bb590f3c8ebf543", + "efd1aff5df79b2e8ee6a775bd987876483f3464c", [ null, [ @@ -276566,7 +276652,7 @@ ] ], "css-tags-paint-order.html": [ - "c0e8769b473052d3adc8f192d454f5bb59c10647", + "28a955bad66c21adfd8f7ec938cb9fc2ff9a62b9", [ null, [ @@ -276579,7 +276665,7 @@ ] ], "css-tags-shared-element.html": [ - "33bbae70fc6b918d12a17c856a3c75c1c0071ff7", + "9046b915b4f03fba81c58e44ad3d61c4236d468a", [ null, [ @@ -276664,7 +276750,7 @@ ] ], "far-away-capture.html": [ - "bfe0b9fb9484f5984fbea9460d40818a40ab6ddd", + "7b003cbb76961d9747448949eaf9001cc218b4f3", [ null, [ @@ -276878,7 +276964,7 @@ ] ], "japanese-tag.html": [ - "976dcab4fca8f8cf17fbdedbf7af0a162036eb37", + "67115a6fae6a8b63db7a7264efe921e056f5c7cb", [ null, [ @@ -276917,7 +277003,7 @@ ] ], "new-and-old-sizes-match.html": [ - "78efa9d82fa7591f62d855b2fe8ab80c4140f0fe", + "1549a402af0cfb1fb18e8e8e7d76a71035577ad9", [ null, [ @@ -276950,7 +277036,7 @@ ] ], "new-content-captures-clip-path.html": [ - "4a2dfc78c2746c02ca7aae34685292fbc76aed47", + "0d4c94e47d61790b77be1805a128ae93cae1ceb8", [ null, [ @@ -276983,7 +277069,7 @@ ] ], "new-content-captures-different-size.html": [ - "a891dec55532d6a740a459772f65acb39136cd9b", + "a3ecddaf26c6d4be142525da40caaf947827684d", [ null, [ @@ -277017,7 +277103,7 @@ ] ], "new-content-captures-opacity.html": [ - "ab4efd1f42478c2fb1c78b224a564623b3197046", + "7f23f9110a915dff94ce768a6e69c73ceb6df5d4", [ null, [ @@ -277030,7 +277116,7 @@ ] ], "new-content-captures-positioned-spans.html": [ - "b88654cd379c92316e6eee6ed6e27ba0c80038fb", + "39bbfbfb123f70f3282a8ce09a69fb4892e87dc8", [ null, [ @@ -277056,7 +277142,7 @@ ] ], "new-content-captures-spans.html": [ - "843f6752d76740550f8348ed3cd3c9134700aa77", + "661d7c8a01ad9f0c655ba48db7a893ead5da1b4c", [ null, [ @@ -277069,7 +277155,7 @@ ] ], "new-content-container-writing-modes.html": [ - "e7ac768e17d6104d0f70cab29a891c8b08b03c8c", + "7b55a0f012fb772fc26c85ea5568553511a82855", [ null, [ @@ -277082,7 +277168,7 @@ ] ], "new-content-element-writing-modes.html": [ - "d7740d78f54f52766c58adfcd618d1e260bdba42", + "78ce545b74ad5df5c8cdb3b4d44e1b77808e9b81", [ null, [ @@ -277142,7 +277228,7 @@ ] ], "new-content-intrinsic-aspect-ratio.html": [ - "53ec94122f06998a01c3b69b47d5c312e15e21d0", + "69e8f82e9f1b2c3e0b9fc710260585863e081b9a", [ null, [ @@ -277155,7 +277241,7 @@ ] ], "new-content-is-empty-div.html": [ - "bacc63f1945835678628f59c229540e990e6e30e", + "53f3e23b686f90fff4582c05b113e713010b6a21", [ null, [ @@ -277168,7 +277254,7 @@ ] ], "new-content-is-inline.html": [ - "c341444f3425de43a7bc47f2a718a36337398141", + "d971ec4eaa618cd4313a9e9ce4b269a1dad6ee13", [ null, [ @@ -277201,7 +277287,7 @@ ] ], "new-content-object-fit-fill.html": [ - "b891eee16d5e93258f8bf8df0ce80b5bdb9b2d6e", + "2a34348c12a6f0df60672f003d5a77fa36fc9564", [ null, [ @@ -277234,7 +277320,7 @@ ] ], "new-content-object-fit-none.html": [ - "d4b81b1a0eeadb38f13b7ae00a4d694d90e43568", + "0ec9d0bc8a4f77ec8e9e08f02b0dffc1f1a279e9", [ null, [ @@ -277247,7 +277333,7 @@ ] ], "new-content-object-view-box-clip-path-reference.html": [ - "01a3ed3204fb418947a1d89f237ef918327a394e", + "a8507f5f33e98dcb45c2670c88b918682bb3c23b", [ null, [ @@ -277260,7 +277346,7 @@ ] ], "new-content-object-view-box-clip-path.html": [ - "dcd5fec70a1c539c65dbd665d13442f0a4725966", + "d6a3f925cbf55d600aecd087b8b8bd460a1ef3b3", [ null, [ @@ -277273,7 +277359,7 @@ ] ], "new-content-object-view-box-overflow-clipped.html": [ - "593901529f43b2daa0b02e1e1eb9c9ff0e05d2fd", + "247a33d15bc7fb14a74f41027a8b93531f24e64e", [ null, [ @@ -277286,7 +277372,7 @@ ] ], "new-content-object-view-box-overflow.html": [ - "2bbea1e1c4c54d5e5e6281de8f14ccc4bae8aad1", + "d0c129a1abfe6410d3a1481b4afcf85828721602", [ null, [ @@ -277299,7 +277385,7 @@ ] ], "new-content-scaling.html": [ - "4ea3c2e04a486b74c8c92b2ca473ad9f2a2bfe44", + "5ce6d5ba693b4c493d2481b07ba3d34851389570", [ null, [ @@ -277332,7 +277418,7 @@ ] ], "new-content-with-overflow-zoomed.html": [ - "59170ebf00349710d34c8f5fd2966352b1d23594", + "fef9b26b2c2611ecd873e2315174791362d1d665", [ null, [ @@ -277345,7 +277431,7 @@ ] ], "new-content-with-overflow.html": [ - "e2dc045089b024fce27e8a1ce1facacbab5ef2aa", + "d2c802dbf53f0769963098f7ae9ddd0c3d971aa9", [ null, [ @@ -277358,7 +277444,7 @@ ] ], "new-element-on-start.html": [ - "e3ec5463bfd3797b18831063253324fdc8fd52c7", + "f0a8c144a98e92071f4da0435bbe61f16f9f5e6f", [ null, [ @@ -277457,7 +277543,7 @@ ] ], "old-content-captures-clip-path.html": [ - "a2faa7f1575af4c6ac3f65b3fb303f6dbab875d3", + "0734edd56fd19f49ac720da21652043174a0cfa5", [ null, [ @@ -277470,7 +277556,7 @@ ] ], "old-content-captures-different-size.html": [ - "a8d375f06463eef00ea8bf0d509e0137658c2a88", + "547cc4d7ba2eda41c9a3436206c4dbb580c65a04", [ null, [ @@ -277504,7 +277590,7 @@ ] ], "old-content-captures-opacity.html": [ - "ee3e3e4cde132895f9e1b4f2a1ca5dcd02710d3d", + "0b727f7972fa813f5e560a7805434e7693db34e9", [ null, [ @@ -277570,7 +277656,7 @@ ] ], "old-content-container-writing-modes.html": [ - "9896c27152746f9598666455d1ffa133026ec1b0", + "383585335d65bf0312625362c65d8bf41fe6e5e7", [ null, [ @@ -277583,7 +277669,7 @@ ] ], "old-content-element-writing-modes.html": [ - "5029c6aaaa362e47033389005ba050993100cfeb", + "b6903d10e61c16e981a0bad5e322d182bdc2cdb2", [ null, [ @@ -277630,7 +277716,7 @@ ] ], "old-content-intrinsic-aspect-ratio.html": [ - "b46a77821781f857a5fc4742056b296092b1f113", + "d166f438f4dae41757bd3f23e269b9fc3c1b411a", [ null, [ @@ -277643,7 +277729,7 @@ ] ], "old-content-is-empty-div.html": [ - "137060c1ddb7ad88da61593238b1b4178f158966", + "54c56994d8cdafc2d8ee7612af16f1938b3f2ec6", [ null, [ @@ -277656,7 +277742,7 @@ ] ], "old-content-is-inline.html": [ - "9f350237adcb1ea234c98f9374c8e357a14e6e78", + "9da15266bae3e2a07cd456814024127d7e94053e", [ null, [ @@ -277689,7 +277775,7 @@ ] ], "old-content-object-fit-fill.html": [ - "9ad8b14843fbb059229234fb8970f87e5a83ee48", + "fb7549cc4088fbc83e79eefbc8d6971f40014512", [ null, [ @@ -277722,7 +277808,7 @@ ] ], "old-content-object-fit-none.html": [ - "1275aece7cae48d02e6fc403af743337d8d20d94", + "06472302b9e6369303d6c742577fd8770dc2520c", [ null, [ @@ -277735,7 +277821,7 @@ ] ], "old-content-object-view-box-clip-path-reference.html": [ - "14a1ee83d9271555f3d85b5e4a73feeb2cf532b2", + "ac566029a0feca1b5b5149ec14139a4785d1f09d", [ null, [ @@ -277768,7 +277854,7 @@ ] ], "old-content-object-view-box-clip-path.html": [ - "dff57c68f6b5f5f6cfa807df9d280d499605fc45", + "73100d052814a1f935610cd14952ab27fe527d26", [ null, [ @@ -277801,7 +277887,7 @@ ] ], "old-content-object-view-box-overflow.html": [ - "ff9bb4e7d2be4eb7194b3bbe9730210e105fd089", + "7a1ef2d0052192f151aa5163f382d3ae1c6b93ea", [ null, [ @@ -277814,7 +277900,7 @@ ] ], "old-content-with-overflow-zoomed.html": [ - "10257b761fa639410849e8982e317b38baa0161c", + "887bf7c64823d644603f3e319e046259c4b7e21b", [ null, [ @@ -277827,7 +277913,7 @@ ] ], "old-content-with-overflow.html": [ - "6ed31d375c6f83f90253e7d4b324d81cb56f87f2", + "7a40c8e386aea92c3129568c109f23be3c15d007", [ null, [ @@ -277899,7 +277985,7 @@ ] ], "root-style-change-during-animation.html": [ - "d1d291124bd6dfa57b36e24072a1be830940753f", + "1453e5019d7de6176a7967056e14703e01f292e3", [ null, [ @@ -278109,7 +278195,7 @@ ] ], "set-universal-specificity.html": [ - "ec50b1e4078589752dcc9f887a39f877cd443a40", + "1e8b7d0eb868b2aa6e9226d4073130a9c565f62c", [ null, [ @@ -324279,14 +324365,24 @@ "9ff0bc6190a43f41e60f53e40e18c649662f8f2a", [] ], - "support-iframe.html": [ - "d4e5b31f130067ddf1a28d7cf787e61e83d340c1", - [] - ], - "support-window-open.html": [ - "afffc3af28ebd4f000779091132a781792da02b8", - [] - ] + "resources": { + "battery-status-helpers.js": [ + "02acfe6c295b817d46adc5268155ea847f17b7df", + [] + ], + "support-iframe.html": [ + "d4e5b31f130067ddf1a28d7cf787e61e83d340c1", + [] + ], + "support-window-open.html": [ + "afffc3af28ebd4f000779091132a781792da02b8", + [] + ], + "window-postmessage-open-close.html": [ + "3adb8ceecdc36eb667eb8238ca20515714c9e86f", + [] + ] + } }, "beacon": { "META.yml": [ @@ -346071,7 +346167,7 @@ [] ], "set-cookie.py": [ - "b18408767c1cf1d0d0e9d81011c246d4a729540c", + "1163531564f45f4a33af1fea0f5d85e1b7283b70", [] ], "set.py": [ @@ -369557,11 +369653,11 @@ [] ], "ref-common.css": [ - "92d77de0e5da9dac150abfdead25b2ab8345c7f0", + "10da2b7920676ef2c3351522d88d2259134ba612", [] ], "test-common.css": [ - "218dfcb77060426b0588dd5b28979a4a038befd4", + "776105f11a45408fdba64fa72a32ee05e6f4a502", [] ] }, @@ -392672,6 +392768,10 @@ "19e42688a2d94abe4444bff9b573210ac73978c5", [] ], + "text-wrap-balance-002-ref.html": [ + "d8c1834d9572e33a8f4b5306871fb725dbd9ce5d", + [] + ], "textarea-pre-wrap-001-ref.html": [ "31070ea92815e4d3a3ece48ed69da03de02f671e", [] @@ -392872,6 +392972,14 @@ "0faae57a3e7f19e0a5908866e134eb1ba451a7d1", [] ], + "white-space-vs-joiners-001-ref.html": [ + "cab555640698e3bcbb602e96e6eccb7e034db154", + [] + ], + "white-space-vs-joiners-002-ref.html": [ + "63bbe7ac0260897c844259e0f27872ac28b3e79e", + [] + ], "white-space-wrap-after-nowrap-001-ref.html": [ "71e1c82465cb8354f21f5e88af9ec3db082e94b0", [] @@ -397769,7 +397877,7 @@ [] ], "new-and-old-sizes-match-ref.html": [ - "b8c3b34c03a693c9f1e71a040a2176dd8dc5413d", + "ca597dfbb84be1a473c3d31747a97c7273d5d5b1", [] ], "new-content-captures-clip-path-ref.html": [ @@ -407347,6 +407455,10 @@ "f2a886f39de7d36f08be433bdba1e47851752aa9", [] ], + "empty.json": [ + "0967ef424bce6791893e9a57bb952f80fd536e93", + [] + ], "font.ttf": [ "9023592ef5aa83a03dd6957398897a585062ca57", [] @@ -407402,7 +407514,7 @@ "origin": { "resources": { "redirect-and-stash.py": [ - "9bf9e1f18c2b171bd891b9276e1c40d549b8539f", + "36c584c08ccd3feb189fdfe151cfc0d187e0a2b4", [] ], "referrer-policy.py": [ @@ -413153,11 +413265,11 @@ "6604450991a122e3e241e40b1b9e0516c525389d", [] ], - "nothing-cross-origin-corp.txt": [ - "e61d8ee36c9af68287e4f7538d3f1420521df598", + "nothing-cross-origin-corp.js": [ + "662e9364f99ef5ab103932aabd9c3d5aced0ac38", [] ], - "nothing-cross-origin-corp.txt.headers": [ + "nothing-cross-origin-corp.js.headers": [ "1b88136c01cbca187f68799b0a54169b34978ac7", [] ], @@ -413198,7 +413310,7 @@ [] ], "require-corp-sw.js": [ - "10f05726fa29fba90e798ae59dccde978abeefe3", + "fedecee9ea9338e075b91e1ccfdbad1163d7c83a", [] ], "require-corp-sw.js.headers": [ @@ -426663,7 +426775,7 @@ ] }, "lint.ignore": [ - "cddc3203b676f5121d5877364ce25ecfa3821270", + "e74817f1732c54f233662d6f03a2b4bbbed1f5f1", [] ], "loading": { @@ -433006,6 +433118,14 @@ "6c61a34a4ec2e75096db0eb9f7748b142f0db7bb", [] ], + "mock-battery-monitor.headers": [ + "6805c323df5a975231648b830e33ce183c3cbbd3", + [] + ], + "mock-battery-monitor.js": [ + "8fa27bc56a1d828e96e4a4b6a7276c9f1afb6250", + [] + ], "mock-direct-sockets.js": [ "6d557f7a01530664d619c1568f1482bfd121e4b7", [] @@ -435748,7 +435868,7 @@ [] ], "local-url-inherit-controller-frame.html": [ - "5520c3a31bf70a88ec7441f29cc7d5ab3401332f", + "b1e554d2204d728bfec17fa24c3706bd9d66bdfe", [] ], "local-url-inherit-controller-worker.js": [ @@ -435956,7 +436076,7 @@ [] ], "opaque-response-preloaded-worker.js": [ - "9859bad45b7d1062cd0b8bb0431270689793d129", + "4fbe35df277ec8ffa31147b9c64f146dc09f93ef", [] ], "opaque-response-preloaded-xhr.html": [ @@ -436179,6 +436299,10 @@ "12a179980df2ff60c258827119c78a645e1a74a7", [] ], + "sample.js": [ + "b8889db05d084cb64b95e24015921168b63a4b72", + [] + ], "sample.txt": [ "802992c4220de19a90767f3000a79a31b98d0df7", [] @@ -436188,7 +436312,7 @@ [] ], "sandboxed-iframe-fetch-event-iframe.py": [ - "409a15b156e7f40e1c7bd9ebe4fd88be02ddb4bb", + "0281b6c2755e2ab63e4d00baf4969d57935d9f3b", [] ], "sandboxed-iframe-fetch-event-worker.js": [ @@ -452089,6 +452213,10 @@ "3738e19f7c641020309de975b4474fd652fbcb35", [] ], + "hard_swish.json": [ + "8d7812d21e23a1e9aef93dfd14bf2872d556550e", + [] + ], "leaky_relu.json": [ "a95a9a0cfcee9bd549f2e1aed40429592b2049ba", [] @@ -452195,7 +452323,7 @@ ] }, "utils.js": [ - "858424a36d427f8f297a46b154b66a086aefd32d", + "266ef3ac08927bfcef8753147924fa1cf18732f0", [] ] } @@ -471076,7 +471204,7 @@ ] ], "mixed-content-and-allowed-schemes.https.window.js": [ - "b5efd4b9167a07ca4d694e88421a075bd3b914ca", + "87a84bf9fb5456473cee8fdb00da8f122a6265c3", [ "background-fetch/mixed-content-and-allowed-schemes.https.window.html", { @@ -471094,7 +471222,7 @@ ] ], "port-blocking.https.window.js": [ - "24af8d991d5e0ed363d221af7e71789c3fdfe600", + "358f382b64993209b96f2ad0ac8cf0d9d412380f", [ "background-fetch/port-blocking.https.window.html", { @@ -471235,6 +471363,13 @@ ] }, "battery-status": { + "api-defined.https.html": [ + "9fe41d4b492efb1ae232c4e05b64753854e70167", + [ + null, + {} + ] + ], "battery-allowed-by-permissions-policy-attribute-redirect-on-load.https.sub.html": [ "f65f3629df8ef9670b6a12148b1a0a303e0b74f0", [ @@ -471257,7 +471392,7 @@ ] ], "battery-allowed-in-same-origin-iframe.https.html": [ - "c0d684f26d7d272cdff5e9545ffbd4f2c354c4a3", + "03475162dfc5d3be5eaeb4a4ad90b2d6aff47d0b", [ null, {} @@ -471278,14 +471413,14 @@ ] ], "battery-disallowed-in-cross-origin-iframe.https.sub.html": [ - "097db219cf7947cf61e6a29ea89a561ee59834b7", + "c86e01f6ab589fb9c999fe3fa5abbe06ce73026e", [ null, {} ] ], "battery-promise-window.https.html": [ - "37700aa5cb823dd5eb36b73547409b9b35cd092e", + "362ef93667781c4e08e410098ecac80372965deb", [ null, {} @@ -471320,6 +471455,50 @@ "timeout": "long" } ] + ], + "multiple-promises-after-resolve.https.html": [ + "2b43f124c01b31e090f971669fe4fc8e6ba1c1a2", + [ + null, + {} + ] + ], + "multiple-promises.https.html": [ + "35015c80ba97751df051b622cecdce219f69d2a4", + [ + null, + {} + ] + ], + "no-leak-on-detached-use.https.html": [ + "8ea7ea303c262206b20e9f488e138f14aa6f7838", + [ + null, + {} + ] + ], + "page-visibility.https.html": [ + "27cc0208a88bf46194a882343a0c107a7d64906f", + [ + null, + { + "testdriver": true + } + ] + ], + "promise-with-eventlisteners.https.html": [ + "6d7544b85605c3b9c20b2bbab07b12ca78122131", + [ + null, + {} + ] + ], + "restricted-level-precision.https.html": [ + "a66a22cecf9b884819bd9847f30752667fc025ea", + [ + null, + {} + ] ] }, "beacon": { @@ -502730,7 +502909,7 @@ }, "image-set": { "image-set-computed.sub.html": [ - "3fd04ac92c54ff9c5aeb0b0662b1c4d134e466ca", + "a25ca17835b5dcf5a85d6216b6f3fe8d33b60042", [ null, {} @@ -518734,7 +518913,7 @@ ] ], "variable-definition.html": [ - "aaaaf6be23201d8176cd00c34027229e263abdc3", + "d38b64c72efe82967be1b6ee1af1bd09431b21f8", [ null, {} @@ -550467,7 +550646,7 @@ ] ], "authentication-redirection.any.js": [ - "a0175e6d2a72da37501cde7e2350655b036df602", + "16656b5435a18bfd5a04f3aac4709d2361276335", [ "fetch/api/credentials/authentication-redirection.any.html", { @@ -558426,7 +558605,7 @@ ] ], "known-mime-type.sub.any.js": [ - "a7bb66305834b63866e6a5518cf88c0075e7f8dd", + "d0954c83555977ea8714db524957a809286db321", [ "fetch/orb/tentative/known-mime-type.sub.any.html", { @@ -558550,7 +558729,7 @@ }, "origin": { "assorted.window.js": [ - "423790dfb1e1cdbc1a98bc4f8faf235dfa1f0e84", + "033d010f35a50fb0f38434e1c50bdcdb145cc38d", [ "fetch/origin/assorted.window.html", { @@ -561895,6 +562074,15 @@ ] ], "model": { + "move-fullscreen-element.html": [ + "27f4c5dd82e3913cc8506cd744e8855ce4bbf135", + [ + null, + { + "testdriver": true + } + ] + ], "move-to-fullscreen-iframe.html": [ "0103b2979ffe8401be84a1cc32445cf4a5128434", [ @@ -589040,7 +589228,7 @@ ] ], "coep-on-response-from-service-worker.https.html": [ - "939c618227be7c34f279f446b6c0ea892807ca19", + "b25b04ca4a4db5ab9224e1de747471d5ae8a6945", [ null, {} @@ -590167,14 +590355,14 @@ ] ], "none-sw-from-none.https.html": [ - "b539561effd93df24734d25f1f0fc61a50498adf", + "6d2cf0f64f0677ee9ab93fd4071086642afeaf00", [ null, {} ] ], "none-sw-from-require-corp.https.html": [ - "36cf4a153bfa7b5db387dcb2cbff46eea7f94a25", + "dc1209c40dc86993b486904625a623f2a3c9b643", [ null, {} @@ -590500,14 +590688,14 @@ ] ], "require-corp-sw-from-none.https.html": [ - "a60b8bd457ea0af21c882bf37f0f107c1065026e", + "451761e8184d49eb842cda47c270a0d50d7afa33", [ null, {} ] ], "require-corp-sw-from-require-corp.https.html": [ - "deefc92b804c60559fe1c3a4b43feecba17bb6a9", + "c270e3a0d6d0bc801c773394819e40bb010e89b6", [ null, {} @@ -590528,7 +590716,7 @@ ] ], "require-corp.https.html": [ - "d187e0f760129fac1034d8fd5220e05d7cf93202", + "ad64a485c013700fe0ae9f0e97f3784f69cfb60a", [ null, { @@ -590537,7 +590725,7 @@ ] ], "sandbox.https.html": [ - "1e3f80a9186107350c307a3ff16fd5ad84e11ead", + "7a29ac19440f4e3d7dcd0d5a51612976a279fda5", [ null, {} @@ -620147,13 +620335,6 @@ } ] ], - "loaf-iframe-popup.html": [ - "9cdb2c334108743124fcc8306a955277735b9745", - [ - null, - {} - ] - ], "loaf-timeline.html": [ "c434a26ef8d18aa84836dbef56f737df425beb57", [ @@ -647825,7 +648006,7 @@ ] ], "fetch-cross-origin-redirect.https.html": [ - "4193422653a5954ff033518c690f65460bc5433b", + "1605e224ab43b2fa11579f9c64d9706e6a188f9c", [ null, {} @@ -651041,6 +651222,13 @@ null, {} ] + ], + "view-timeline-with-transform-on-subject.html": [ + "e4abac7219be6392e98ffb6ec4118ec18c0450cf", + [ + null, + {} + ] ] }, "scroll-timelines": { @@ -668498,7 +668686,7 @@ ] ], "requestStorageAccessForOrigin.sub.https.window.js": [ - "060501d1b007377a8d9975102ffe67be131a792c", + "76e5bf83b1eed2fb19f6c2ae5547b422dea6d764", [ "top-level-storage-access-api/tentative/requestStorageAccessForOrigin.sub.https.window.html", { @@ -687432,6 +687620,57 @@ } ] ], + "hard_swish.https.any.js": [ + "052c7f2a208013ffca4d5c4ddb09404cd69d17d5", + [ + "webnn/hard_swish.https.any.html", + { + "script_metadata": [ + [ + "title", + "test WebNN API tanh operation" + ], + [ + "global", + "window,dedicatedworker" + ], + [ + "script", + "./resources/utils.js" + ], + [ + "timeout", + "long" + ] + ], + "timeout": "long" + } + ], + [ + "webnn/hard_swish.https.any.worker.html", + { + "script_metadata": [ + [ + "title", + "test WebNN API tanh operation" + ], + [ + "global", + "window,dedicatedworker" + ], + [ + "script", + "./resources/utils.js" + ], + [ + "timeout", + "long" + ] + ], + "timeout": "long" + } + ] + ], "idlharness.https.any.js": [ "a443fa14b91a5b52496025c7468f8ce6cfb6db57", [ @@ -734639,7 +734878,7 @@ ] ], "execute_async.py": [ - "d0b9daee4155cad89cda865794917f35069e923a", + "42cf4aacee8342939c515b5e56a40ef15a1cacfb", [ null, {} @@ -734706,7 +734945,7 @@ ] ], "execute.py": [ - "adfd2836f32a4d9855387169a3da4d1d5841beca", + "fbccc98633867b9ab137b26f0f8818b98a29c81f", [ null, {} diff --git a/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-002.html.ini b/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-002.html.ini deleted file mode 100644 index 968f62a2553..00000000000 --- a/tests/wpt/metadata/css/CSS2/floats/hit-test-floats-002.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[hit-test-floats-002.html] - [Hit test float] - expected: FAIL diff --git a/tests/wpt/metadata/css/CSS2/normal-flow/block-in-inline-hittest-002.html.ini b/tests/wpt/metadata/css/CSS2/normal-flow/block-in-inline-hittest-002.html.ini index ee34bc91078..51432362d66 100644 --- a/tests/wpt/metadata/css/CSS2/normal-flow/block-in-inline-hittest-002.html.ini +++ b/tests/wpt/metadata/css/CSS2/normal-flow/block-in-inline-hittest-002.html.ini @@ -1,6 +1,3 @@ [block-in-inline-hittest-002.html] [elementsFromPoint] expected: FAIL - - [elementFromPoint] - expected: FAIL diff --git a/tests/wpt/metadata/css/CSS2/normal-flow/block-in-inline-hittest-relpos-zindex.html.ini b/tests/wpt/metadata/css/CSS2/normal-flow/block-in-inline-hittest-relpos-zindex.html.ini index f9e216a8cfc..cdd8b55f192 100644 --- a/tests/wpt/metadata/css/CSS2/normal-flow/block-in-inline-hittest-relpos-zindex.html.ini +++ b/tests/wpt/metadata/css/CSS2/normal-flow/block-in-inline-hittest-relpos-zindex.html.ini @@ -1,6 +1,3 @@ [block-in-inline-hittest-relpos-zindex.html] [position: relative; z-index: -1;] expected: FAIL - - [block-in-inline-hittest-relpos-zindex] - expected: FAIL diff --git a/tests/wpt/metadata/css/css-images/image-set/image-set-computed.sub.html.ini b/tests/wpt/metadata/css/css-images/image-set/image-set-computed.sub.html.ini index 09eec3392a8..021d78e469a 100644 --- a/tests/wpt/metadata/css/css-images/image-set/image-set-computed.sub.html.ini +++ b/tests/wpt/metadata/css/css-images/image-set/image-set-computed.sub.html.ini @@ -64,3 +64,15 @@ [Property content value '-webkit-image-set(url('http://web-platform.test/example.png') 192dpi, linear-gradient(black, white) 1x)'] expected: FAIL + + [Property background-image value 'image-set(url("http://web-platform.test/example.png") type("image/unsupported"))'] + expected: FAIL + + [Property background-image value '-webkit-image-set(url("http://web-platform.test/example.png") type("image/unsupported"))'] + expected: FAIL + + [Property background-image value 'image-set(url("http://web-platform.test/example.png") 2x type("image/unsupported"), url("http://web-platform.test/example.png") 1x type("image/unsupported"))'] + expected: FAIL + + [Property background-image value '-webkit-image-set(url("http://web-platform.test/example.png") 2x type("image/unsupported"), url("http://web-platform.test/example.png") 1x type("image/unsupported"))'] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/white-space/text-wrap-balance-002.html.ini b/tests/wpt/metadata/css/css-text/white-space/text-wrap-balance-002.html.ini new file mode 100644 index 00000000000..2da3336ac63 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/white-space/text-wrap-balance-002.html.ini @@ -0,0 +1,2 @@ +[text-wrap-balance-002.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-text/white-space/white-space-vs-joiners-002.html.ini b/tests/wpt/metadata/css/css-text/white-space/white-space-vs-joiners-002.html.ini new file mode 100644 index 00000000000..ba1a8d81019 --- /dev/null +++ b/tests/wpt/metadata/css/css-text/white-space/white-space-vs-joiners-002.html.ini @@ -0,0 +1,2 @@ +[white-space-vs-joiners-002.html] + expected: FAIL diff --git a/tests/wpt/metadata/css/css-transitions/properties-value-inherit-003.html.ini b/tests/wpt/metadata/css/css-transitions/properties-value-inherit-003.html.ini index 2b8affa2206..0734ab0db2c 100644 --- a/tests/wpt/metadata/css/css-transitions/properties-value-inherit-003.html.ini +++ b/tests/wpt/metadata/css/css-transitions/properties-value-inherit-003.html.ini @@ -4,90 +4,3 @@ [background-position length-em(em) / values] expected: FAIL - - [border-top-width length-em(em) / events] - expected: FAIL - - [border-right-width length-em(em) / events] - expected: FAIL - - [border-bottom-width length-em(em) / events] - expected: FAIL - - [border-left-width length-em(em) / events] - expected: FAIL - - [padding-bottom length-em(em) / events] - expected: FAIL - - [padding-left length-em(em) / events] - expected: FAIL - - [padding-right length-em(em) / events] - expected: FAIL - - [padding-top length-em(em) / events] - expected: FAIL - - [margin-bottom length-em(em) / events] - expected: FAIL - - [margin-left length-em(em) / events] - expected: FAIL - - [margin-right length-em(em) / events] - expected: FAIL - - [margin-top length-em(em) / events] - expected: FAIL - - [height length-em(em) / events] - expected: FAIL - - [width length-em(em) / events] - expected: FAIL - - [min-height length-em(em) / events] - expected: FAIL - - [min-width length-em(em) / events] - expected: FAIL - - [max-height length-em(em) / events] - expected: FAIL - - [max-width length-em(em) / events] - expected: FAIL - - [top length-em(em) / events] - expected: FAIL - - [right length-em(em) / events] - expected: FAIL - - [bottom length-em(em) / events] - expected: FAIL - - [left length-em(em) / events] - expected: FAIL - - [line-height length-em(em) / events] - expected: FAIL - - [letter-spacing length-em(em) / events] - expected: FAIL - - [word-spacing length-em(em) / events] - expected: FAIL - - [text-indent length-em(em) / events] - expected: FAIL - - [outline-offset length-em(em) / events] - expected: FAIL - - [outline-width length-em(em) / events] - expected: FAIL - - [vertical-align length-em(em) / events] - expected: FAIL diff --git a/tests/wpt/metadata/css/css-variables/variable-definition.html.ini b/tests/wpt/metadata/css/css-variables/variable-definition.html.ini index f27f6aacc38..a3daa11079d 100644 --- a/tests/wpt/metadata/css/css-variables/variable-definition.html.ini +++ b/tests/wpt/metadata/css/css-variables/variable-definition.html.ini @@ -80,9 +80,6 @@ [ trailing white space (single space)] expected: FAIL - [ middle white space (double space) 2] - expected: FAIL - [ trailing white space (double space) 2] expected: FAIL @@ -95,9 +92,6 @@ [ trailing white space (single space) (Computed Style)] expected: FAIL - [ middle white space (double space) 2 (Computed Style)] - expected: FAIL - [ trailing white space (double space) 2 (Computed Style)] expected: FAIL @@ -110,9 +104,6 @@ [ trailing white space (single space) (Cascading)] expected: FAIL - [ middle white space (double space) 2 (Cascading)] - expected: FAIL - [ trailing white space (double space) 2 (Cascading)] expected: FAIL diff --git a/tests/wpt/metadata/css/cssom-view/CaretPosition-001.html.ini b/tests/wpt/metadata/css/cssom-view/CaretPosition-001.html.ini deleted file mode 100644 index f18b8d2fcf9..00000000000 --- a/tests/wpt/metadata/css/cssom-view/CaretPosition-001.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[CaretPosition-001.html] - [Element at (400, 100)] - expected: FAIL diff --git a/tests/wpt/metadata/css/cssom-view/elementFromPoint-001.html.ini b/tests/wpt/metadata/css/cssom-view/elementFromPoint-001.html.ini deleted file mode 100644 index 72b09371038..00000000000 --- a/tests/wpt/metadata/css/cssom-view/elementFromPoint-001.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[elementFromPoint-001.html] - [CSSOM View - 5 - extensions to the Document interface] - expected: FAIL diff --git a/tests/wpt/metadata/css/cssom-view/elementFromPoint-float-in-table.html.ini b/tests/wpt/metadata/css/cssom-view/elementFromPoint-float-in-table.html.ini deleted file mode 100644 index db065588308..00000000000 --- a/tests/wpt/metadata/css/cssom-view/elementFromPoint-float-in-table.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[elementFromPoint-float-in-table.html] - [float-in-div] - expected: FAIL diff --git a/tests/wpt/metadata/css/cssom-view/elementFromPoint-subpixel.html.ini b/tests/wpt/metadata/css/cssom-view/elementFromPoint-subpixel.html.ini new file mode 100644 index 00000000000..8f6f663ba61 --- /dev/null +++ b/tests/wpt/metadata/css/cssom-view/elementFromPoint-subpixel.html.ini @@ -0,0 +1,3 @@ +[elementFromPoint-subpixel.html] + [Hit test top left corner of box] + expected: FAIL diff --git a/tests/wpt/metadata/css/cssom-view/elementsFromPoint-invalid-cases.html.ini b/tests/wpt/metadata/css/cssom-view/elementsFromPoint-invalid-cases.html.ini new file mode 100644 index 00000000000..a3496a40d07 --- /dev/null +++ b/tests/wpt/metadata/css/cssom-view/elementsFromPoint-invalid-cases.html.ini @@ -0,0 +1,3 @@ +[elementsFromPoint-invalid-cases.html] + [The root element is the last element returned for otherwise empty queries within the viewport] + expected: FAIL diff --git a/tests/wpt/metadata/fetch/metadata/generated/css-images.sub.tentative.html.ini b/tests/wpt/metadata/fetch/metadata/generated/css-images.sub.tentative.html.ini index 0d48169e3cc..f9de5391ad6 100644 --- a/tests/wpt/metadata/fetch/metadata/generated/css-images.sub.tentative.html.ini +++ b/tests/wpt/metadata/fetch/metadata/generated/css-images.sub.tentative.html.ini @@ -146,6 +146,3 @@ [list-style-image sec-fetch-site - HTTPS downgrade-upgrade] expected: FAIL - - [background-image sec-fetch-site - HTTPS downgrade (header not sent)] - expected: TIMEOUT diff --git a/tests/wpt/metadata/fetch/orb/tentative/known-mime-type.sub.any.js.ini b/tests/wpt/metadata/fetch/orb/tentative/known-mime-type.sub.any.js.ini index 462b0e35384..7bbdf6ce8b2 100644 --- a/tests/wpt/metadata/fetch/orb/tentative/known-mime-type.sub.any.js.ini +++ b/tests/wpt/metadata/fetch/orb/tentative/known-mime-type.sub.any.js.ini @@ -8,6 +8,12 @@ [ORB should block opaque application/json] expected: FAIL + [ORB should block opaque application/json (non-empty)] + expected: FAIL + + [ORB should block opaque application/json (empty)] + expected: FAIL + [known-mime-type.sub.any.worker.html] [ORB should block opaque font/ttf] @@ -18,3 +24,9 @@ [ORB should block opaque application/json] expected: FAIL + + [ORB should block opaque application/json (non-empty)] + expected: FAIL + + [ORB should block opaque application/json (empty)] + expected: FAIL diff --git a/tests/wpt/metadata/fetch/private-network-access/worker-blob-fetch.window.js.ini b/tests/wpt/metadata/fetch/private-network-access/worker-blob-fetch.window.js.ini index eebbbd32f99..03a7b6f1d92 100644 --- a/tests/wpt/metadata/fetch/private-network-access/worker-blob-fetch.window.js.ini +++ b/tests/wpt/metadata/fetch/private-network-access/worker-blob-fetch.window.js.ini @@ -43,3 +43,6 @@ [public https to local https: failure.] expected: FAIL + + [public to public: success.] + expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-fragment-scrolling-cross-origin.html.ini b/tests/wpt/metadata/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-fragment-scrolling-cross-origin.html.ini index 6e9f7acf151..c8a3c8f9e68 100644 --- a/tests/wpt/metadata/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-fragment-scrolling-cross-origin.html.ini +++ b/tests/wpt/metadata/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-fragment-scrolling-cross-origin.html.ini @@ -1,6 +1,6 @@ [scroll-restoration-fragment-scrolling-cross-origin.html] type: testharness - expected: TIMEOUT + expected: ERROR [Manual scroll restoration should take precedent over scrolling to fragment in cross origin navigation] expected: TIMEOUT diff --git a/tests/wpt/metadata/html/browsers/browsing-the-web/history-traversal/srcdoc/consecutive-srcdoc.html.ini b/tests/wpt/metadata/html/browsers/browsing-the-web/history-traversal/srcdoc/consecutive-srcdoc.html.ini index f2dee7b3ea9..eaebad750fe 100644 --- a/tests/wpt/metadata/html/browsers/browsing-the-web/history-traversal/srcdoc/consecutive-srcdoc.html.ini +++ b/tests/wpt/metadata/html/browsers/browsing-the-web/history-traversal/srcdoc/consecutive-srcdoc.html.ini @@ -1,6 +1,7 @@ [consecutive-srcdoc.html] + expected: TIMEOUT [changing srcdoc does a replace navigation since the URL is still about:srcdoc] expected: FAIL [changing srcdoc to about:srcdoc#yo then another srcdoc does two push navigations and we can navigate back] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/005.html.ini b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/005.html.ini index f7ee5361549..33efcdbcf48 100644 --- a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/005.html.ini +++ b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/005.html.ini @@ -1,4 +1,3 @@ [005.html] - expected: TIMEOUT [Link with onclick navigation and href navigation ] expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-src-aboutblank-navigate-immediately.html.ini b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-src-aboutblank-navigate-immediately.html.ini index dc1144214ef..856bb1c9901 100644 --- a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-src-aboutblank-navigate-immediately.html.ini +++ b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/initial-empty-document/iframe-src-aboutblank-navigate-immediately.html.ini @@ -1,9 +1,10 @@ [iframe-src-aboutblank-navigate-immediately.html] + expected: TIMEOUT [Navigating to a different document with window.open] expected: FAIL [Navigating to a different document with form submission] - expected: FAIL + expected: TIMEOUT [Navigating to a different document with link click] expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-referrer.window.js.ini b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-referrer.window.js.ini index 5a245d61359..bcda478adb1 100644 --- a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-referrer.window.js.ini +++ b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-referrer.window.js.ini @@ -1,6 +1,10 @@ [javascript-url-referrer.window.html] + expected: TIMEOUT [unsafe-url referrer policy used to create the starting page] expected: FAIL [origin referrer policy used to create the starting page] expected: FAIL + + [no-referrer referrer policy used to create the starting page] + expected: TIMEOUT diff --git a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-cross-origin.sub.window.js.ini b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-cross-origin.sub.window.js.ini deleted file mode 100644 index 4ecd6d9f753..00000000000 --- a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-cross-origin.sub.window.js.ini +++ /dev/null @@ -1,3 +0,0 @@ -[navigation-unload-cross-origin.sub.window.html] - [Cross-origin navigation started from unload handler must be ignored] - expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin.window.js.ini b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin.window.js.ini deleted file mode 100644 index 7dc346632a4..00000000000 --- a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin.window.js.ini +++ /dev/null @@ -1,3 +0,0 @@ -[navigation-unload-same-origin.window.html] - [Same-origin navigation started from unload handler must be ignored] - expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/a-click.html.ini b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/a-click.html.ini deleted file mode 100644 index 60a4fa51f8a..00000000000 --- a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/replace-before-load/a-click.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[a-click.html] - [aElement.click() before the load event must NOT replace] - expected: FAIL diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse-during-unload.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse-during-unload.html.ini new file mode 100644 index 00000000000..f5b7b25324f --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse-during-unload.html.ini @@ -0,0 +1,4 @@ +[traverse-during-unload.html] + expected: TIMEOUT + [Traversing the history during unload] + expected: TIMEOUT diff --git a/tests/wpt/metadata/html/browsers/the-window-object/open-close/creating_browsing_context_test_01.html.ini b/tests/wpt/metadata/html/browsers/the-window-object/open-close/creating_browsing_context_test_01.html.ini index ca84728f1e9..4b4820d1729 100644 --- a/tests/wpt/metadata/html/browsers/the-window-object/open-close/creating_browsing_context_test_01.html.ini +++ b/tests/wpt/metadata/html/browsers/the-window-object/open-close/creating_browsing_context_test_01.html.ini @@ -1,4 +1,3 @@ [creating_browsing_context_test_01.html] - expected: TIMEOUT [first argument: absolute url] - expected: TIMEOUT + expected: FAIL diff --git a/tests/wpt/metadata/html/interaction/focus/the-autofocus-attribute/supported-elements.html.ini b/tests/wpt/metadata/html/interaction/focus/the-autofocus-attribute/supported-elements.html.ini index 58a99633547..d169bd2e9fa 100644 --- a/tests/wpt/metadata/html/interaction/focus/the-autofocus-attribute/supported-elements.html.ini +++ b/tests/wpt/metadata/html/interaction/focus/the-autofocus-attribute/supported-elements.html.ini @@ -1,19 +1,15 @@ [supported-elements.html] - expected: TIMEOUT [Contenteditable element should support autofocus] expected: FAIL [Element with tabindex should support autofocus] - expected: TIMEOUT + expected: FAIL [Host element with delegatesFocus including no focusable descendants should be skipped] - expected: NOTRUN + expected: FAIL [Area element should support autofocus] - expected: NOTRUN + expected: FAIL [Host element with delegatesFocus should support autofocus] - expected: NOTRUN - - [Non-HTMLElement should not support autofocus] - expected: NOTRUN + expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html.ini index 2d3fbf0f308..25d9964f057 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html.ini @@ -1,5 +1,4 @@ [iframe_sandbox_popups_escaping-1.html] type: testharness - expected: TIMEOUT [Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used] - expected: TIMEOUT + expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html.ini index 76e34322dca..6bec7a732b8 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html.ini @@ -1,5 +1,4 @@ [iframe_sandbox_popups_nonescaping-2.html] type: testharness - expected: TIMEOUT [Check that popups from a sandboxed iframe do not escape the sandbox] - expected: NOTRUN + expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/sandbox-top-navigation-child-special-cases.tentative.sub.window.js.ini b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/sandbox-top-navigation-child-special-cases.tentative.sub.window.js.ini index 31745fdcdcf..31928ad3947 100644 --- a/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/sandbox-top-navigation-child-special-cases.tentative.sub.window.js.ini +++ b/tests/wpt/metadata/html/semantics/embedded-content/the-iframe-element/sandbox-top-navigation-child-special-cases.tentative.sub.window.js.ini @@ -1,4 +1,5 @@ [sandbox-top-navigation-child-special-cases.tentative.sub.window.html] + expected: TIMEOUT [Allow top with user activation + user activation] expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/forms/form-submission-0/multipart-formdata.window.js.ini b/tests/wpt/metadata/html/semantics/forms/form-submission-0/multipart-formdata.window.js.ini index 11b380b0903..aa36ec5b723 100644 --- a/tests/wpt/metadata/html/semantics/forms/form-submission-0/multipart-formdata.window.js.ini +++ b/tests/wpt/metadata/html/semantics/forms/form-submission-0/multipart-formdata.window.js.ini @@ -175,3 +175,6 @@ [multipart/form-data: backslash in value (formdata event)] expected: FAIL + + [multipart/form-data: Basic test (formdata event)] + expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/forms/form-submission-0/text-plain.window.js.ini b/tests/wpt/metadata/html/semantics/forms/form-submission-0/text-plain.window.js.ini index 9bed02bc412..155e1335aa4 100644 --- a/tests/wpt/metadata/html/semantics/forms/form-submission-0/text-plain.window.js.ini +++ b/tests/wpt/metadata/html/semantics/forms/form-submission-0/text-plain.window.js.ini @@ -172,3 +172,9 @@ [text/plain: Basic test (formdata event)] expected: FAIL + + [text/plain: Basic File test (formdata event)] + expected: FAIL + + [text/plain: 0x00 in name (formdata event)] + expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/forms/form-submission-0/urlencoded2.window.js.ini b/tests/wpt/metadata/html/semantics/forms/form-submission-0/urlencoded2.window.js.ini index 113d3171f16..e21beb8eba0 100644 --- a/tests/wpt/metadata/html/semantics/forms/form-submission-0/urlencoded2.window.js.ini +++ b/tests/wpt/metadata/html/semantics/forms/form-submission-0/urlencoded2.window.js.ini @@ -172,3 +172,9 @@ [application/x-www-form-urlencoded: 0x00 in filename (formdata event)] expected: FAIL + + [application/x-www-form-urlencoded: 0x00 in name (normal form)] + expected: FAIL + + [application/x-www-form-urlencoded: \\r\\n in filename (formdata event)] + expected: FAIL diff --git a/tests/wpt/metadata/html/syntax/parsing/DOMContentLoaded-defer.html.ini b/tests/wpt/metadata/html/syntax/parsing/DOMContentLoaded-defer.html.ini deleted file mode 100644 index b8bdf33cb65..00000000000 --- a/tests/wpt/metadata/html/syntax/parsing/DOMContentLoaded-defer.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[DOMContentLoaded-defer.html] - [The end: DOMContentLoaded and defer scripts] - expected: FAIL diff --git a/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/document-write/module-delayed.html.ini b/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/document-write/module-delayed.html.ini new file mode 100644 index 00000000000..fc0233f5241 --- /dev/null +++ b/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/document-write/module-delayed.html.ini @@ -0,0 +1,3 @@ +[module-delayed.html] + [async document.write in a module] + expected: FAIL diff --git a/tests/wpt/metadata/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini b/tests/wpt/metadata/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini index e55f8f2ce3c..8845054116d 100644 --- a/tests/wpt/metadata/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini +++ b/tests/wpt/metadata/html/webappapis/scripting/events/compile-event-handler-settings-objects.html.ini @@ -3,6 +3,3 @@ expected: TIMEOUT [The incumbent settings object while executing the compiled callback via Web IDL's invoke must be that of the node document] expected: TIMEOUT - - [The entry settings object while executing the compiled callback via Web IDL's invoke must be that of the node document] - expected: FAIL diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiocontext-interface/audiocontext-not-fully-active.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiocontext-interface/audiocontext-not-fully-active.html.ini index b7537329068..eed03df37f3 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audiocontext-interface/audiocontext-not-fully-active.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiocontext-interface/audiocontext-not-fully-active.html.ini @@ -1,5 +1,4 @@ [audiocontext-not-fully-active.html] - expected: TIMEOUT [frame in navigated remote-site frame] expected: FAIL diff --git a/tests/wpt/metadata/webmessaging/broadcastchannel/cross-partition.https.tentative.html.ini b/tests/wpt/metadata/webmessaging/broadcastchannel/cross-partition.https.tentative.html.ini index 39d039a0132..04c2032c723 100644 --- a/tests/wpt/metadata/webmessaging/broadcastchannel/cross-partition.https.tentative.html.ini +++ b/tests/wpt/metadata/webmessaging/broadcastchannel/cross-partition.https.tentative.html.ini @@ -1,5 +1,5 @@ [cross-partition.https.tentative.html] - expected: CRASH + expected: TIMEOUT [BroadcastChannel messages aren't received from a cross-partition iframe] expected: FAIL diff --git a/tests/wpt/metadata/webmessaging/with-ports/017.html.ini b/tests/wpt/metadata/webmessaging/without-ports/017.html.ini similarity index 100% rename from tests/wpt/metadata/webmessaging/with-ports/017.html.ini rename to tests/wpt/metadata/webmessaging/without-ports/017.html.ini diff --git a/tests/wpt/metadata/webmessaging/with-ports/018.html.ini b/tests/wpt/metadata/webmessaging/without-ports/018.html.ini similarity index 100% rename from tests/wpt/metadata/webmessaging/with-ports/018.html.ini rename to tests/wpt/metadata/webmessaging/without-ports/018.html.ini diff --git a/tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini b/tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini new file mode 100644 index 00000000000..80f9a4f15b8 --- /dev/null +++ b/tests/wpt/metadata/workers/constructors/Worker/Worker-constructor.html.ini @@ -0,0 +1,2 @@ +[Worker-constructor.html] + expected: ERROR diff --git a/tests/wpt/mozilla/meta/css/stylesheet_media_queries.html.ini b/tests/wpt/mozilla/meta/css/stylesheet_media_queries.html.ini new file mode 100644 index 00000000000..77ca6b0688d --- /dev/null +++ b/tests/wpt/mozilla/meta/css/stylesheet_media_queries.html.ini @@ -0,0 +1,3 @@ +[stylesheet_media_queries.html] + [Media queries within stylesheets] + expected: FAIL diff --git a/tests/wpt/mozilla/meta/mozilla/scrollBy.html.ini b/tests/wpt/mozilla/meta/mozilla/scrollBy.html.ini deleted file mode 100644 index f78f699f620..00000000000 --- a/tests/wpt/mozilla/meta/mozilla/scrollBy.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[scrollBy.html] - [Ensure that the window.scrollBy function affects scroll position as expected] - expected: FAIL diff --git a/tests/wpt/web-platform-tests/background-fetch/mixed-content-and-allowed-schemes.https.window.js b/tests/wpt/web-platform-tests/background-fetch/mixed-content-and-allowed-schemes.https.window.js index b5efd4b9167..87a84bf9fb5 100644 --- a/tests/wpt/web-platform-tests/background-fetch/mixed-content-and-allowed-schemes.https.window.js +++ b/tests/wpt/web-platform-tests/background-fetch/mixed-content-and-allowed-schemes.https.window.js @@ -30,22 +30,29 @@ backgroundFetchTest((t, bgFetch) => { return bgFetch.fetch(uniqueId(), 'http://localhost'); }, 'localhost http: fetch should register ok'); +function testBgFetch(bgFetch, url) +{ + return bgFetch.fetch(uniqueId(), url).then(fetch => { + return fetch.match(url); + }).then(match => match.responseReady); +} + backgroundFetchTest((t, bgFetch) => { return promise_rejects_js(t, TypeError, - bgFetch.fetch(uniqueId(), 'wss:127.0.0.1')); + testBgFetch(bgFetch, 'wss:127.0.0.1')); }, 'wss: fetch should reject'); backgroundFetchTest((t, bgFetch) => { return promise_rejects_js(t, TypeError, - bgFetch.fetch(uniqueId(), 'file:///')); + testBgFetch(bgFetch, 'file:///')); }, 'file: fetch should reject'); backgroundFetchTest((t, bgFetch) => { return promise_rejects_js(t, TypeError, - bgFetch.fetch(uniqueId(), 'data:text/plain,foo')); + testBgFetch(bgFetch, 'data:text/plain,foo')); }, 'data: fetch should reject'); backgroundFetchTest((t, bgFetch) => { return promise_rejects_js(t, TypeError, - bgFetch.fetch(uniqueId(), 'foobar:bazqux')); + testBgFetch(bgFetch, 'foobar:bazqux')); }, 'unknown scheme fetch should reject'); diff --git a/tests/wpt/web-platform-tests/background-fetch/port-blocking.https.window.js b/tests/wpt/web-platform-tests/background-fetch/port-blocking.https.window.js index 24af8d991d5..358f382b649 100644 --- a/tests/wpt/web-platform-tests/background-fetch/port-blocking.https.window.js +++ b/tests/wpt/web-platform-tests/background-fetch/port-blocking.https.window.js @@ -28,8 +28,12 @@ backgroundFetchTest((t, bgFetch) => { return bgFetch.fetch(uniqueId(), 'https://example.com:8080'); }, 'fetch to non-default non-bad port (8080) should register ok'); -backgroundFetchTest((t, bgFetch) => { +backgroundFetchTest(async (t, bgFetch) => { + const promise = bgFetch.fetch(uniqueId(), 'https://example.com:587').then(fetch => { + return fetch.match('https://example.com:587'); + }).then(record => record.responseReady); + return promise_rejects_js( t, TypeError, - bgFetch.fetch(uniqueId(), 'https://example.com:587')); + promise); }, 'fetch to bad port (SMTP) should reject'); diff --git a/tests/wpt/web-platform-tests/battery-status/api-defined.https.html b/tests/wpt/web-platform-tests/battery-status/api-defined.https.html new file mode 100644 index 00000000000..9fe41d4b492 --- /dev/null +++ b/tests/wpt/web-platform-tests/battery-status/api-defined.https.html @@ -0,0 +1,30 @@ + + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/battery-status/battery-allowed-in-same-origin-iframe.https.html b/tests/wpt/web-platform-tests/battery-status/battery-allowed-in-same-origin-iframe.https.html index c0d684f26d7..03475162dfc 100644 --- a/tests/wpt/web-platform-tests/battery-status/battery-allowed-in-same-origin-iframe.https.html +++ b/tests/wpt/web-platform-tests/battery-status/battery-allowed-in-same-origin-iframe.https.html @@ -18,7 +18,7 @@ function load_iframe(iframe, src) { promise_test(async t => { let iframe = document.getElementById('blank'); - const src = 'support-iframe.html'; + const src = 'resources/support-iframe.html'; iframe = await load_iframe(iframe, src); await iframe.contentWindow.navigator.getBattery(); }, "navigator.getBattery() is allowed in same origin iframe"); diff --git a/tests/wpt/web-platform-tests/battery-status/battery-disallowed-in-cross-origin-iframe.https.sub.html b/tests/wpt/web-platform-tests/battery-status/battery-disallowed-in-cross-origin-iframe.https.sub.html index 097db219cf7..c86e01f6ab5 100644 --- a/tests/wpt/web-platform-tests/battery-status/battery-disallowed-in-cross-origin-iframe.https.sub.html +++ b/tests/wpt/web-platform-tests/battery-status/battery-disallowed-in-cross-origin-iframe.https.sub.html @@ -19,7 +19,7 @@ function load_iframe(iframe, src) { promise_test(async t => { let iframe = document.getElementById('blank'); const path = location.pathname.substring(0, location.pathname.lastIndexOf('/') + 1); - const src = 'https://{{domains[www1]}}:{{ports[https][0]}}' + path + 'support-iframe.html'; + const src = 'https://{{domains[www1]}}:{{ports[https][0]}}' + path + 'resources/support-iframe.html'; iframe = await load_iframe(iframe, src); await promise_rejects_dom(t, 'NotAllowedError', iframe.contentWindow.navigator.getBattery()); }, "throw a 'NotAllowedError' when invoking navigator.getBattery() within cross-origin iframe"); diff --git a/tests/wpt/web-platform-tests/battery-status/battery-promise-window.https.html b/tests/wpt/web-platform-tests/battery-status/battery-promise-window.https.html index 37700aa5cb8..362ef936677 100644 --- a/tests/wpt/web-platform-tests/battery-status/battery-promise-window.https.html +++ b/tests/wpt/web-platform-tests/battery-status/battery-promise-window.https.html @@ -20,7 +20,7 @@
+ + + + + + + + diff --git a/tests/wpt/web-platform-tests/battery-status/multiple-promises.https.html b/tests/wpt/web-platform-tests/battery-status/multiple-promises.https.html new file mode 100644 index 00000000000..35015c80ba9 --- /dev/null +++ b/tests/wpt/web-platform-tests/battery-status/multiple-promises.https.html @@ -0,0 +1,22 @@ + + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/battery-status/no-leak-on-detached-use.https.html b/tests/wpt/web-platform-tests/battery-status/no-leak-on-detached-use.https.html new file mode 100644 index 00000000000..8ea7ea303c2 --- /dev/null +++ b/tests/wpt/web-platform-tests/battery-status/no-leak-on-detached-use.https.html @@ -0,0 +1,48 @@ + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/battery-status/page-visibility.https.html b/tests/wpt/web-platform-tests/battery-status/page-visibility.https.html new file mode 100644 index 00000000000..27cc0208a88 --- /dev/null +++ b/tests/wpt/web-platform-tests/battery-status/page-visibility.https.html @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/battery-status/promise-with-eventlisteners.https.html b/tests/wpt/web-platform-tests/battery-status/promise-with-eventlisteners.https.html new file mode 100644 index 00000000000..6d7544b8560 --- /dev/null +++ b/tests/wpt/web-platform-tests/battery-status/promise-with-eventlisteners.https.html @@ -0,0 +1,36 @@ + + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/battery-status/resources/battery-status-helpers.js b/tests/wpt/web-platform-tests/battery-status/resources/battery-status-helpers.js new file mode 100644 index 00000000000..02acfe6c295 --- /dev/null +++ b/tests/wpt/web-platform-tests/battery-status/resources/battery-status-helpers.js @@ -0,0 +1,34 @@ +'use strict'; + +// These tests rely on the User Agent providing an implementation of +// platform battery status backends. +// +// In Chromium-based browsers this implementation is provided by a polyfill +// in order to reduce the amount of test-only code shipped to users. To enable +// these tests the browser must be run with these options: +// +// --enable-blink-features=MojoJS,MojoJSTest + +let mockBatteryMonitor = undefined; + +function battery_status_test(func, name, properties) { + promise_test(async t => { + if (mockBatteryMonitor === undefined) { + if (isChromiumBased) { + const mocks = + await import('/resources/chromium/mock-battery-monitor.js'); + mockBatteryMonitor = mocks.mockBatteryMonitor; + } + } + assert_implements( + mockBatteryMonitor, 'missing mockBatteryMonitor after initialization'); + + mockBatteryMonitor.start(); + + t.add_cleanup(() => { + mockBatteryMonitor.reset(); + return mockBatteryMonitor.stop(); + }); + return func(t, mockBatteryMonitor); + }, name, properties); +} diff --git a/tests/wpt/web-platform-tests/battery-status/support-iframe.html b/tests/wpt/web-platform-tests/battery-status/resources/support-iframe.html similarity index 100% rename from tests/wpt/web-platform-tests/battery-status/support-iframe.html rename to tests/wpt/web-platform-tests/battery-status/resources/support-iframe.html diff --git a/tests/wpt/web-platform-tests/battery-status/support-window-open.html b/tests/wpt/web-platform-tests/battery-status/resources/support-window-open.html similarity index 100% rename from tests/wpt/web-platform-tests/battery-status/support-window-open.html rename to tests/wpt/web-platform-tests/battery-status/resources/support-window-open.html diff --git a/tests/wpt/web-platform-tests/battery-status/resources/window-postmessage-open-close.html b/tests/wpt/web-platform-tests/battery-status/resources/window-postmessage-open-close.html new file mode 100644 index 00000000000..3adb8ceecdc --- /dev/null +++ b/tests/wpt/web-platform-tests/battery-status/resources/window-postmessage-open-close.html @@ -0,0 +1,9 @@ + + + + + + + diff --git a/tests/wpt/web-platform-tests/battery-status/restricted-level-precision.https.html b/tests/wpt/web-platform-tests/battery-status/restricted-level-precision.https.html new file mode 100644 index 00000000000..a66a22cecf9 --- /dev/null +++ b/tests/wpt/web-platform-tests/battery-status/restricted-level-precision.https.html @@ -0,0 +1,22 @@ + + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/cookies/resources/set-cookie.py b/tests/wpt/web-platform-tests/cookies/resources/set-cookie.py index b18408767c1..1163531564f 100644 --- a/tests/wpt/web-platform-tests/cookies/resources/set-cookie.py +++ b/tests/wpt/web-platform-tests/cookies/resources/set-cookie.py @@ -34,5 +34,5 @@ def main(request, response): (b"Content-Type", b"application/json"), (b"Set-Cookie", cookie) ] - body = b"dummy value" + body = b"var dummy='value';" return headers, body diff --git a/tests/wpt/web-platform-tests/css/css-counter-styles/counter-style-at-rule/support/ref-common.css b/tests/wpt/web-platform-tests/css/css-counter-styles/counter-style-at-rule/support/ref-common.css index 92d77de0e5d..10da2b79206 100644 --- a/tests/wpt/web-platform-tests/css/css-counter-styles/counter-style-at-rule/support/ref-common.css +++ b/tests/wpt/web-platform-tests/css/css-counter-styles/counter-style-at-rule/support/ref-common.css @@ -5,7 +5,6 @@ body { div, p { padding: 0; margin: 0; line-height: 150%; - float: left; } p { padding-right: .5em; diff --git a/tests/wpt/web-platform-tests/css/css-counter-styles/counter-style-at-rule/support/test-common.css b/tests/wpt/web-platform-tests/css/css-counter-styles/counter-style-at-rule/support/test-common.css index 218dfcb7706..776105f11a4 100644 --- a/tests/wpt/web-platform-tests/css/css-counter-styles/counter-style-at-rule/support/test-common.css +++ b/tests/wpt/web-platform-tests/css/css-counter-styles/counter-style-at-rule/support/test-common.css @@ -10,7 +10,6 @@ ol, ul { list-style-position: inside; } li, p { - float: left; padding: 0; } p { diff --git a/tests/wpt/web-platform-tests/css/css-images/image-set/image-set-computed.sub.html b/tests/wpt/web-platform-tests/css/css-images/image-set/image-set-computed.sub.html index 3fd04ac92c5..a25ca17835b 100644 --- a/tests/wpt/web-platform-tests/css/css-images/image-set/image-set-computed.sub.html +++ b/tests/wpt/web-platform-tests/css/css-images/image-set/image-set-computed.sub.html @@ -29,4 +29,8 @@ test_computed_value_variants('background-image', "image-set(url(http://{{host}}/ test_computed_value_variants('background-image', "image-set(url(http://{{host}}/example.png) type('image/png'))", 'image-set(url("http://{{host}}/example.png") 1dppx type("image/png"))'); test_computed_value_variants('background-image', "image-set(url(http://{{host}}/example.png) type('image/png') 1x)", 'image-set(url("http://{{host}}/example.png") 1dppx type("image/png"))'); test_computed_value_variants('content', "image-set(url('http://{{host}}/example.png') 192dpi, linear-gradient(black, white) 1x)", 'image-set(url("http://{{host}}/example.png") 2dppx, linear-gradient(rgb(0, 0, 0), rgb(255, 255, 255)) 1dppx)'); + +// Unsupported type should still serialize. +test_computed_value_variants('background-image', 'image-set(url("http://{{host}}/example.png") type("image/unsupported"))', 'image-set(url("http://{{host}}/example.png") 1dppx type("image/unsupported"))'); +test_computed_value_variants('background-image', 'image-set(url("http://{{host}}/example.png") 2x type("image/unsupported"), url("http://{{host}}/example.png") 1x type("image/unsupported"))', 'image-set(url("http://{{host}}/example.png") 2dppx type("image/unsupported"), url("http://{{host}}/example.png") 1dppx type("image/unsupported"))'); diff --git a/tests/wpt/web-platform-tests/css/css-multicol/crashtests/multicol-parallel-flow-after-spanner-in-inline.html b/tests/wpt/web-platform-tests/css/css-multicol/crashtests/multicol-parallel-flow-after-spanner-in-inline.html new file mode 100644 index 00000000000..2c0981239b9 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-multicol/crashtests/multicol-parallel-flow-after-spanner-in-inline.html @@ -0,0 +1,13 @@ + + + +
+ +
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/css-multicol/crashtests/multicol-table-caption-parallel-flow-after-spanner-in-inline.html b/tests/wpt/web-platform-tests/css/css-multicol/crashtests/multicol-table-caption-parallel-flow-after-spanner-in-inline.html new file mode 100644 index 00000000000..8de7e2f0d83 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-multicol/crashtests/multicol-table-caption-parallel-flow-after-spanner-in-inline.html @@ -0,0 +1,15 @@ + + + +
+ +
+
+ + +
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/css-multicol/parallel-flow-after-spanner-001.html b/tests/wpt/web-platform-tests/css/css-multicol/parallel-flow-after-spanner-001.html new file mode 100644 index 00000000000..38cc5c10157 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-multicol/parallel-flow-after-spanner-001.html @@ -0,0 +1,14 @@ + + + + +

Test passes if there is a filled green square and no red.

+
+ +
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/css-multicol/parallel-flow-after-spanner-002.html b/tests/wpt/web-platform-tests/css/css-multicol/parallel-flow-after-spanner-002.html new file mode 100644 index 00000000000..f766be584d9 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-multicol/parallel-flow-after-spanner-002.html @@ -0,0 +1,14 @@ + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
+
+
+
diff --git a/tests/wpt/web-platform-tests/css/css-text/white-space/reference/text-wrap-balance-002-ref.html b/tests/wpt/web-platform-tests/css/css-text/white-space/reference/text-wrap-balance-002-ref.html new file mode 100644 index 00000000000..d8c1834d957 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/white-space/reference/text-wrap-balance-002-ref.html @@ -0,0 +1,12 @@ + + + +
+ 123 567 901 345 789 123 +
diff --git a/tests/wpt/web-platform-tests/css/css-text/white-space/reference/white-space-vs-joiners-001-ref.html b/tests/wpt/web-platform-tests/css/css-text/white-space/reference/white-space-vs-joiners-001-ref.html new file mode 100644 index 00000000000..cab55564069 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/white-space/reference/white-space-vs-joiners-001-ref.html @@ -0,0 +1,27 @@ + + + +CSS Text reference + + + + + + + + diff --git a/tests/wpt/web-platform-tests/css/css-text/white-space/reference/white-space-vs-joiners-002-ref.html b/tests/wpt/web-platform-tests/css/css-text/white-space/reference/white-space-vs-joiners-002-ref.html new file mode 100644 index 00000000000..63bbe7ac026 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/white-space/reference/white-space-vs-joiners-002-ref.html @@ -0,0 +1,23 @@ + + + +CSS Text reference + + + + + +

+ This + is + a + simple + test +

+ diff --git a/tests/wpt/web-platform-tests/css/css-text/white-space/text-wrap-balance-002.html b/tests/wpt/web-platform-tests/css/css-text/white-space/text-wrap-balance-002.html new file mode 100644 index 00000000000..7366c6ac0f1 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/white-space/text-wrap-balance-002.html @@ -0,0 +1,15 @@ + + + + + +
+ 123 567 901 345 789 123 +
diff --git a/tests/wpt/web-platform-tests/css/css-text/white-space/white-space-vs-joiners-001.html b/tests/wpt/web-platform-tests/css/css-text/white-space/white-space-vs-joiners-001.html new file mode 100644 index 00000000000..88c11f11549 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/white-space/white-space-vs-joiners-001.html @@ -0,0 +1,37 @@ + + + +CSS Text Test: join controls do not disrupt white-space processing + + + + + + + + + + + + diff --git a/tests/wpt/web-platform-tests/css/css-text/white-space/white-space-vs-joiners-002.html b/tests/wpt/web-platform-tests/css/css-text/white-space/white-space-vs-joiners-002.html new file mode 100644 index 00000000000..25470f02f2d --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-text/white-space/white-space-vs-joiners-002.html @@ -0,0 +1,29 @@ + + + +CSS Text Test: join controls do not disrupt white-space processing + + + + + + + + + +

+ ‍This‍ + ‍is‍ + ‍a‍ + ‍simple‍ + ‍test‍ +

+ diff --git a/tests/wpt/web-platform-tests/css/css-variables/variable-definition.html b/tests/wpt/web-platform-tests/css/css-variables/variable-definition.html index aaaaf6be232..d38b64c72ef 100644 --- a/tests/wpt/web-platform-tests/css/css-variables/variable-definition.html +++ b/tests/wpt/web-platform-tests/css/css-variables/variable-definition.html @@ -36,7 +36,7 @@ { varName:"--var", expectedValue:"value1 value2", style:"--var:value1 value2", testName:" middle white space (single space)"}, { varName:"--var", expectedValue:"value", style:"--var:value ", testName:" trailing white space (single space)"}, { varName:"--var", expectedValue:"value", style:"--var: value", testName:" leading white space (double space) 2"}, - { varName:"--var", expectedValue:"value1 value2", style:"--var:value1 value2",testName:" middle white space (double space) 2"}, + { varName:"--var", expectedValue:"value1 value2", style:"--var:value1 value2",testName:" middle white space (double space) 2"}, { varName:"--var", expectedValue:"value", style:"--var:value ", testName:" trailing white space (double space) 2"}, { varName:"--var", expectedValue:"value1", style:"--var:value1 !important;", testName:"!important"}, { varName:"--var", expectedValue:"value1", style:"--var:value1!important;--var:value2;", testName:"!important 2"}, diff --git a/tests/wpt/web-platform-tests/css/css-view-transitions/3d-transform-incoming.html b/tests/wpt/web-platform-tests/css/css-view-transitions/3d-transform-incoming.html index cdf1b32ab73..1a0719eaa9e 100644 --- a/tests/wpt/web-platform-tests/css/css-view-transitions/3d-transform-incoming.html +++ b/tests/wpt/web-platform-tests/css/css-view-transitions/3d-transform-incoming.html @@ -38,7 +38,7 @@ div { box-sizing: border-box; will-change: transform } ::view-transition-group(hidden) { animation-duration: 300s; } ::view-transition-image-pair(hidden) { visibility: hidden; } ::view-transition-group(root) { visibility: hidden; } -::view-transition { background: pink; } +::view-transition { width: 100%; height: 100%; background: pink; } ::view-transition-group(*) { animation-delay: 300s; } ::view-transition-new(*) { animation: unset; opacity: 1; } ::view-transition-old(*) { animation: unset; opacity: 0; } diff --git a/tests/wpt/web-platform-tests/css/css-view-transitions/3d-transform-outgoing.html b/tests/wpt/web-platform-tests/css/css-view-transitions/3d-transform-outgoing.html index 746b93afd40..1796284c06d 100644 --- a/tests/wpt/web-platform-tests/css/css-view-transitions/3d-transform-outgoing.html +++ b/tests/wpt/web-platform-tests/css/css-view-transitions/3d-transform-outgoing.html @@ -39,7 +39,7 @@ div { box-sizing: border-box; will-change: transform } ::view-transition-group(hidden) { animation-duration: 300s; } ::view-transition-image-pair(hidden) { visibility: hidden; } ::view-transition-group(root) { visibility: hidden; } -::view-transition { background: pink; } +::view-transition { width: 100%; height: 100%; background: pink; } ::view-transition-group(*) { animation-duration: 0s; } ::view-transition-new(*) { animation: unset; opacity: 0; } ::view-transition-old(*) { animation: unset; opacity: 1; } diff --git a/tests/wpt/web-platform-tests/css/css-view-transitions/content-visibility-auto-shared-element.html b/tests/wpt/web-platform-tests/css/css-view-transitions/content-visibility-auto-shared-element.html index 11b4957fbcc..d76eab2fcd6 100644 --- a/tests/wpt/web-platform-tests/css/css-view-transitions/content-visibility-auto-shared-element.html +++ b/tests/wpt/web-platform-tests/css/css-view-transitions/content-visibility-auto-shared-element.html @@ -47,7 +47,7 @@ html::view-transition-group(*) { animation-duration: 0s; } html::view-transition-new(*) { animation: unset; opacity: 0; } html::view-transition-old(*) { animation: unset; opacity: 1; } html::view-transition-group(root) { display: none; } -html::view-transition { background: pink } +html::view-transition { width: 100%; height: 100%; background: pink } diff --git a/tests/wpt/web-platform-tests/css/css-view-transitions/css-tags-paint-order-with-entry.html b/tests/wpt/web-platform-tests/css/css-view-transitions/css-tags-paint-order-with-entry.html index 703b64f5c68..efd1aff5df7 100644 --- a/tests/wpt/web-platform-tests/css/css-view-transitions/css-tags-paint-order-with-entry.html +++ b/tests/wpt/web-platform-tests/css/css-view-transitions/css-tags-paint-order-with-entry.html @@ -84,7 +84,7 @@ html::view-transition-old(two), html::view-transition-old(three) { animation: unset; opacity: 1; } html::view-transition-group(root) { animation: unset; opacity: 0; } -html::view-transition { background: lightpink; } +html::view-transition { width: 100%; height: 100%; background: lightpink; } diff --git a/tests/wpt/web-platform-tests/css/css-view-transitions/css-tags-paint-order.html b/tests/wpt/web-platform-tests/css/css-view-transitions/css-tags-paint-order.html index c0e8769b473..28a955bad66 100644 --- a/tests/wpt/web-platform-tests/css/css-view-transitions/css-tags-paint-order.html +++ b/tests/wpt/web-platform-tests/css/css-view-transitions/css-tags-paint-order.html @@ -69,7 +69,7 @@ html::view-transition-old(two), html::view-transition-old(three) { animation: unset; opacity: 1; } html::view-transition-group(root) { animation: unset; opacity: 0; } -html::view-transition { background: lightpink; } +html::view-transition { width: 100%; height: 100%; background: lightpink; } diff --git a/tests/wpt/web-platform-tests/css/css-view-transitions/css-tags-shared-element.html b/tests/wpt/web-platform-tests/css/css-view-transitions/css-tags-shared-element.html index 33bbae70fc6..9046b915b4f 100644 --- a/tests/wpt/web-platform-tests/css/css-view-transitions/css-tags-shared-element.html +++ b/tests/wpt/web-platform-tests/css/css-view-transitions/css-tags-shared-element.html @@ -51,7 +51,7 @@ html::view-transition-old(left-element), html::view-transition-old(right-element) { animation: unset; opacity: 1; } html::view-transition-group(root) { animation: unset; opacity: 0; } -html::view-transition { background: lightpink; } +html::view-transition { width: 100%; height: 100%; background: lightpink; } diff --git a/tests/wpt/web-platform-tests/css/css-view-transitions/far-away-capture.html b/tests/wpt/web-platform-tests/css/css-view-transitions/far-away-capture.html index bfe0b9fb948..7b003cbb769 100644 --- a/tests/wpt/web-platform-tests/css/css-view-transitions/far-away-capture.html +++ b/tests/wpt/web-platform-tests/css/css-view-transitions/far-away-capture.html @@ -41,7 +41,7 @@ html::view-transition-group(*) { animation-duration: 0s; } html::view-transition-new(*) { animation: unset; opacity: 0; } html::view-transition-old(*) { animation: unset; opacity: 1; } html::view-transition-group(root) { display: none; } -html::view-transition { background: pink } +html::view-transition { width: 100%; height: 100%; background: pink } diff --git a/tests/wpt/web-platform-tests/css/css-view-transitions/japanese-tag.html b/tests/wpt/web-platform-tests/css/css-view-transitions/japanese-tag.html index 976dcab4fca..67115a6fae6 100644 --- a/tests/wpt/web-platform-tests/css/css-view-transitions/japanese-tag.html +++ b/tests/wpt/web-platform-tests/css/css-view-transitions/japanese-tag.html @@ -60,7 +60,7 @@ html::view-transition-old(第三) { animation: unset; opacity: 1; } /* hide the root so we show transition background to ensure we're in a transition */ html::view-transition-group(root) { animation: unset; opacity: 0; } -html::view-transition { background: lightpink; } +html::view-transition { width: 100%; height: 100%; background: lightpink; } diff --git a/tests/wpt/web-platform-tests/css/css-view-transitions/new-and-old-sizes-match-ref.html b/tests/wpt/web-platform-tests/css/css-view-transitions/new-and-old-sizes-match-ref.html index b8c3b34c03a..ca597dfbb84 100644 --- a/tests/wpt/web-platform-tests/css/css-view-transitions/new-and-old-sizes-match-ref.html +++ b/tests/wpt/web-platform-tests/css/css-view-transitions/new-and-old-sizes-match-ref.html @@ -32,7 +32,7 @@ html::view-transition-new(*) { animation: unset; opacity: 0; } html::view-transition-old(*) { animation: unset; opacity: 1; } /* hide the root so we show transition background to ensure we're in a transition */ html::view-transition-group(root) { animation: unset; opacity: 0; } -html::view-transition { background: lightpink; } +html::view-transition { width: 100%; height: 100%; background: lightpink; }
X
+ + + + diff --git a/tests/wpt/web-platform-tests/fetch/api/credentials/authentication-redirection.any.js b/tests/wpt/web-platform-tests/fetch/api/credentials/authentication-redirection.any.js index a0175e6d2a7..16656b5435a 100644 --- a/tests/wpt/web-platform-tests/fetch/api/credentials/authentication-redirection.any.js +++ b/tests/wpt/web-platform-tests/fetch/api/credentials/authentication-redirection.any.js @@ -16,7 +16,10 @@ promise_test(async test => { }, "getAuthorizationHeaderValue - no redirection"); promise_test(async test => { - const result = await getAuthorizationHeaderValue("/fetch/api/resources/redirect.py?location=" + encodeURIComponent("/fetch/api/resources/dump-authorization-header.py")); + result = await getAuthorizationHeaderValue("/fetch/api/resources/redirect.py?location=" + encodeURIComponent("/fetch/api/resources/dump-authorization-header.py")); + assert_equals(result, authorizationValue); + + result = await getAuthorizationHeaderValue(get_host_info().HTTPS_REMOTE_ORIGIN + "/fetch/api/resources/redirect.py?allow_headers=Authorization&location=" + encodeURIComponent(get_host_info().HTTPS_REMOTE_ORIGIN + "/fetch/api/resources/dump-authorization-header.py")); assert_equals(result, authorizationValue); }, "getAuthorizationHeaderValue - same origin redirection"); diff --git a/tests/wpt/web-platform-tests/fetch/orb/resources/empty.json b/tests/wpt/web-platform-tests/fetch/orb/resources/empty.json new file mode 100644 index 00000000000..0967ef424bc --- /dev/null +++ b/tests/wpt/web-platform-tests/fetch/orb/resources/empty.json @@ -0,0 +1 @@ +{} diff --git a/tests/wpt/web-platform-tests/fetch/orb/tentative/known-mime-type.sub.any.js b/tests/wpt/web-platform-tests/fetch/orb/tentative/known-mime-type.sub.any.js index a7bb6630583..d0954c83555 100644 --- a/tests/wpt/web-platform-tests/fetch/orb/tentative/known-mime-type.sub.any.js +++ b/tests/wpt/web-platform-tests/fetch/orb/tentative/known-mime-type.sub.any.js @@ -29,7 +29,17 @@ promise_test( TypeError, fetchORB(`${path}/data.json`, null, contentType("application/json")) ), - "ORB should block opaque application/json" + "ORB should block opaque application/json (non-empty)" +); + +promise_test( + t => + promise_rejects_js( + t, + TypeError, + fetchORB(`${path}/empty.json`, null, contentType("application/json")) + ), + "ORB should block opaque application/json (empty)" ); promise_test(async () => { diff --git a/tests/wpt/web-platform-tests/fetch/origin/assorted.window.js b/tests/wpt/web-platform-tests/fetch/origin/assorted.window.js index 423790dfb1e..033d010f35a 100644 --- a/tests/wpt/web-platform-tests/fetch/origin/assorted.window.js +++ b/tests/wpt/web-platform-tests/fetch/origin/assorted.window.js @@ -10,7 +10,7 @@ promise_test(async function () { // Cross-origin -> same-origin will result in setting the tainted origin flag for the second // request. let url = origins.HTTP_ORIGIN + redirectPath + "?stash=" + stash; - url = origins.HTTP_REMOTE_ORIGIN + redirectPath + "?stash=" + stash + "&location=" + encodeURIComponent(url); + url = origins.HTTP_REMOTE_ORIGIN + redirectPath + "?stash=" + stash + "&location=" + encodeURIComponent(url) + "&dummyJS"; await fetch(url, { mode: "no-cors", method: "POST" }); @@ -123,7 +123,7 @@ function fetchReferrerPolicy(referrerPolicy, destination, fetchMode, expectedOri let fetchUrl = (destination === "same-origin" ? origins.HTTP_ORIGIN : origins.HTTP_REMOTE_ORIGIN) + - redirectPath + "?stash=" + stash; + redirectPath + "?stash=" + stash + "&dummyJS"; await fetch(fetchUrl, { mode: fetchMode, method: httpMethod , "referrerPolicy": referrerPolicy}); diff --git a/tests/wpt/web-platform-tests/fetch/origin/resources/redirect-and-stash.py b/tests/wpt/web-platform-tests/fetch/origin/resources/redirect-and-stash.py index 9bf9e1f18c2..36c584c08cc 100644 --- a/tests/wpt/web-platform-tests/fetch/origin/resources/redirect-and-stash.py +++ b/tests/wpt/web-platform-tests/fetch/origin/resources/redirect-and-stash.py @@ -23,10 +23,16 @@ def main(request, response): request.server.stash.put(key, origin_list) if b"location" in request.GET: + location = request.GET.first(b"location") + if b"dummyJS" in request.GET: + location += b"&dummyJS" response.status = 308 - response.headers.set(b"Location", request.GET.first(b"location")) + response.headers.set(b"Location", location) return response.headers.set(b"Content-Type", b"text/html") response.headers.set(b"Access-Control-Allow-Origin", b"*") - response.content = b"\n" + if b"dummyJS" in request.GET: + response.content = b"console.log('dummy JS')" + else: + response.content = b"\n" diff --git a/tests/wpt/web-platform-tests/fullscreen/model/move-fullscreen-element.html b/tests/wpt/web-platform-tests/fullscreen/model/move-fullscreen-element.html new file mode 100644 index 00000000000..27f4c5dd82e --- /dev/null +++ b/tests/wpt/web-platform-tests/fullscreen/model/move-fullscreen-element.html @@ -0,0 +1,29 @@ + + +Moving the fullscreen element should not leave the fullscreen flag + + + + + + + +
Fullscreen element
+ +
+ + + diff --git a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/coep-on-response-from-service-worker.https.html b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/coep-on-response-from-service-worker.https.html index 939c618227b..b25b04ca4a4 100644 --- a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/coep-on-response-from-service-worker.https.html +++ b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/coep-on-response-from-service-worker.https.html @@ -44,7 +44,7 @@ promise_test(async (t) => { promise_test(async (t) => { const w = frame.contentWindow; - await w.fetch('resources/nothing-cross-origin-corp.txt', {mode: 'no-cors'}); + await w.fetch('resources/nothing-cross-origin-corp.js', {mode: 'no-cors'}); }, 'making a same-origin request for CORP: cross-origin'); promise_test(async (t) => { @@ -63,7 +63,7 @@ promise_test(async (t) => { promise_test(async (t) => { const w = frame.contentWindow; await w.fetch( - remote('resources/nothing-cross-origin-corp.txt'), + remote('resources/nothing-cross-origin-corp.js'), {mode: 'no-cors'}); }, 'making a cross-origin request for CORP: cross-origin'); @@ -85,7 +85,7 @@ promise_test(async (t) => { promise_test(async (t) => { const w = frame.contentWindow; await w.fetch( - remote('resources/nothing-cross-origin-corp.txt?passthrough'), + remote('resources/nothing-cross-origin-corp.js?passthrough'), {mode: 'no-cors'}); }, 'making a cross-origin request for CORP: cross-origin [PASS THROUGH]'); diff --git a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/none-sw-from-none.https.html b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/none-sw-from-none.https.html index b539561effd..6d2cf0f64f0 100644 --- a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/none-sw-from-none.https.html +++ b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/none-sw-from-none.https.html @@ -34,7 +34,7 @@ promise_test(async (t) => { }, 'making a same-origin request for no CORP'); promise_test(async (t) => { - await fetch('resources/nothing-cross-origin-corp.txt', {mode: 'no-cors'}); + await fetch('resources/nothing-cross-origin-corp.js', {mode: 'no-cors'}); }, 'making a same-origin request for CORP: cross-origin'); promise_test(async (t) => { @@ -49,7 +49,7 @@ promise_test(async (t) => { promise_test(async (t) => { await fetch( - remote('resources/nothing-cross-origin-corp.txt'), + remote('resources/nothing-cross-origin-corp.js'), {mode: 'no-cors'}); }, 'making a cross-origin request for CORP: cross-origin'); @@ -66,7 +66,7 @@ promise_test(async (t) => { promise_test(async (t) => { await fetch( - remote('resources/nothing-cross-origin-corp.txt?passthrough'), + remote('resources/nothing-cross-origin-corp.js?passthrough'), {mode: 'no-cors'}); }, 'making a cross-origin request for CORP: cross-origin [PASS THROUGH]'); diff --git a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/none-sw-from-require-corp.https.html b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/none-sw-from-require-corp.https.html index 36cf4a153bf..dc1209c40dc 100644 --- a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/none-sw-from-require-corp.https.html +++ b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/none-sw-from-require-corp.https.html @@ -34,7 +34,7 @@ promise_test(async (t) => { }, 'making a same-origin request for no CORP'); promise_test(async (t) => { - await fetch('resources/nothing-cross-origin-corp.txt', {mode: 'no-cors'}); + await fetch('resources/nothing-cross-origin-corp.js', {mode: 'no-cors'}); }, 'making a same-origin request for CORP: cross-origin'); promise_test(async (t) => { @@ -50,7 +50,7 @@ promise_test(async (t) => { promise_test(async (t) => { await fetch( - remote('resources/nothing-cross-origin-corp.txt'), + remote('resources/nothing-cross-origin-corp.js'), {mode: 'no-cors'}); }, 'making a cross-origin request for CORP: cross-origin'); @@ -69,7 +69,7 @@ promise_test(async (t) => { promise_test(async (t) => { await fetch( - remote('resources/nothing-cross-origin-corp.txt?passthrough'), + remote('resources/nothing-cross-origin-corp.js?passthrough'), {mode: 'no-cors'}); }, 'making a cross-origin request for CORP: cross-origin [PASS THROUGH]'); diff --git a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw-from-none.https.html b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw-from-none.https.html index a60b8bd457e..451761e8184 100644 --- a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw-from-none.https.html +++ b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw-from-none.https.html @@ -35,7 +35,7 @@ promise_test(async (t) => { }, 'making a same-origin request for no CORP'); promise_test(async (t) => { - await fetch('resources/nothing-cross-origin-corp.txt', {mode: 'no-cors'}); + await fetch('resources/nothing-cross-origin-corp.js', {mode: 'no-cors'}); }, 'making a same-origin request for CORP: cross-origin'); promise_test(async (t) => { @@ -51,7 +51,7 @@ promise_test(async (t) => { promise_test(async (t) => { await fetch( - remote('resources/nothing-cross-origin-corp.txt'), + remote('resources/nothing-cross-origin-corp.js'), {mode: 'no-cors'}); }, 'making a cross-origin request for CORP: cross-origin'); @@ -68,7 +68,7 @@ promise_test(async (t) => { promise_test(async (t) => { await fetch( - remote('resources/nothing-cross-origin-corp.txt?passthrough'), + remote('resources/nothing-cross-origin-corp.js?passthrough'), {mode: 'no-cors'}); }, 'making a cross-origin request for CORP: cross-origin [PASS THROUGH]'); diff --git a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw-from-require-corp.https.html b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw-from-require-corp.https.html index deefc92b804..c270e3a0d6d 100644 --- a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw-from-require-corp.https.html +++ b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/require-corp-sw-from-require-corp.https.html @@ -35,7 +35,7 @@ promise_test(async (t) => { }, 'making a same-origin request for no CORP'); promise_test(async (t) => { - await fetch('resources/nothing-cross-origin-corp.txt', {mode: 'no-cors'}); + await fetch('resources/nothing-cross-origin-corp.js', {mode: 'no-cors'}); }, 'making a same-origin request for CORP: cross-origin'); promise_test(async (t) => { @@ -51,7 +51,7 @@ promise_test(async (t) => { promise_test(async (t) => { await fetch( - remote('resources/nothing-cross-origin-corp.txt'), + remote('resources/nothing-cross-origin-corp.js'), {mode: 'no-cors'}); }, 'making a cross-origin request for CORP: cross-origin'); @@ -70,7 +70,7 @@ promise_test(async (t) => { promise_test(async (t) => { await fetch( - remote('resources/nothing-cross-origin-corp.txt?passthrough'), + remote('resources/nothing-cross-origin-corp.js?passthrough'), {mode: 'no-cors'}); }, 'making a cross-origin request for CORP: cross-origin [PASS THROUGH]'); diff --git a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/require-corp.https.html b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/require-corp.https.html index d187e0f7601..ad64a485c01 100644 --- a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/require-corp.https.html +++ b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/require-corp.https.html @@ -120,7 +120,7 @@ async_test(t => { }); promise_test(async t => { - const response = await fetch(get_host_info().HTTPS_REMOTE_ORIGIN+"/html/cross-origin-embedder-policy/resources/nothing-cross-origin-corp.txt", {mode: "no-cors"}); + const response = await fetch(get_host_info().HTTPS_REMOTE_ORIGIN+"/html/cross-origin-embedder-policy/resources/nothing-cross-origin-corp.js", {mode: "no-cors"}); assert_equals(response.type, "opaque"); }, `"require-corp" top-level: fetch() to CORP: cross-origin response should succeed`); diff --git a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/nothing-cross-origin-corp.js b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/nothing-cross-origin-corp.js new file mode 100644 index 00000000000..662e9364f99 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/nothing-cross-origin-corp.js @@ -0,0 +1 @@ +/* Just an empty JS file */ diff --git a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/nothing-cross-origin-corp.txt.headers b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/nothing-cross-origin-corp.js.headers similarity index 100% rename from tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/nothing-cross-origin-corp.txt.headers rename to tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/nothing-cross-origin-corp.js.headers diff --git a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/nothing-cross-origin-corp.txt b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/nothing-cross-origin-corp.txt deleted file mode 100644 index e61d8ee36c9..00000000000 --- a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/nothing-cross-origin-corp.txt +++ /dev/null @@ -1 +0,0 @@ -nothing with cross-origin CORP diff --git a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/require-corp-sw.js b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/require-corp-sw.js index 10f05726fa2..fedecee9ea9 100644 --- a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/require-corp-sw.js +++ b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/resources/require-corp-sw.js @@ -12,7 +12,7 @@ self.addEventListener('message', e => { if (e.data === 'WithCorp') { url = get_host_info().HTTPS_REMOTE_ORIGIN + '/html/cross-origin-embedder-policy/resources/' + - 'nothing-cross-origin-corp.txt'; + 'nothing-cross-origin-corp.js'; } else if (e.data === 'WithoutCorp') { url = get_host_info().HTTPS_REMOTE_ORIGIN + '/common/blank.html'; } diff --git a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/sandbox.https.html b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/sandbox.https.html index 1e3f80a9186..7a29ac19440 100644 --- a/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/sandbox.https.html +++ b/tests/wpt/web-platform-tests/html/cross-origin-embedder-policy/sandbox.https.html @@ -16,7 +16,7 @@ async_test(t => { const origins = get_host_info(); const frame = document.createElement("iframe"); - const nothingCrossOriginCORP = new URL("resources/nothing-cross-origin-corp.txt", window.location).pathname; + const nothingCrossOriginCORP = new URL("resources/nothing-cross-origin-corp.js", window.location).pathname; const nothingSameOriginCORP = new URL("resources/nothing-same-origin-corp.txt", window.location).pathname; frame.sandbox = "allow-scripts"; frame.srcdoc = ` - - - - - -
- - diff --git a/tests/wpt/web-platform-tests/resource-timing/fetch-cross-origin-redirect.https.html b/tests/wpt/web-platform-tests/resource-timing/fetch-cross-origin-redirect.https.html index 4193422653a..1605e224ab4 100644 --- a/tests/wpt/web-platform-tests/resource-timing/fetch-cross-origin-redirect.https.html +++ b/tests/wpt/web-platform-tests/resource-timing/fetch-cross-origin-redirect.https.html @@ -12,7 +12,7 @@ const {REMOTE_ORIGIN, ORIGIN} = get_host_info(); const redirect = "/common/redirect.py?" + - "location=/resource-timing/resources/green.html"; + "location=/resource-timing/resources/empty_script.js"; const cross_origin_redirect = REMOTE_ORIGIN + redirect; const same_origin_redirect = ORIGIN + redirect; diff --git a/tests/wpt/web-platform-tests/resources/chromium/mock-battery-monitor.headers b/tests/wpt/web-platform-tests/resources/chromium/mock-battery-monitor.headers new file mode 100644 index 00000000000..6805c323df5 --- /dev/null +++ b/tests/wpt/web-platform-tests/resources/chromium/mock-battery-monitor.headers @@ -0,0 +1 @@ +Content-Type: text/javascript; charset=utf-8 diff --git a/tests/wpt/web-platform-tests/resources/chromium/mock-battery-monitor.js b/tests/wpt/web-platform-tests/resources/chromium/mock-battery-monitor.js new file mode 100644 index 00000000000..8fa27bc56a1 --- /dev/null +++ b/tests/wpt/web-platform-tests/resources/chromium/mock-battery-monitor.js @@ -0,0 +1,61 @@ +import {BatteryMonitor, BatteryMonitorReceiver} from '/gen/services/device/public/mojom/battery_monitor.mojom.m.js'; + +class MockBatteryMonitor { + constructor() { + this.receiver_ = new BatteryMonitorReceiver(this); + this.interceptor_ = + new MojoInterfaceInterceptor(BatteryMonitor.$interfaceName); + this.interceptor_.oninterfacerequest = e => + this.receiver_.$.bindHandle(e.handle); + this.reset(); + } + + start() { + this.interceptor_.start(); + } + + stop() { + this.interceptor_.stop(); + } + + reset() { + this.pendingRequests_ = []; + this.status_ = null; + this.lastKnownStatus_ = null; + } + + queryNextStatus() { + const result = new Promise(resolve => this.pendingRequests_.push(resolve)); + this.runCallbacks_(); + return result; + } + + setBatteryStatus(charging, chargingTime, dischargingTime, level) { + this.status_ = {charging, chargingTime, dischargingTime, level}; + this.lastKnownStatus_ = this.status_; + this.runCallbacks_(); + } + + verifyBatteryStatus(manager) { + assert_not_equals(manager, undefined); + assert_not_equals(this.lastKnownStatus_, null); + assert_equals(manager.charging, this.lastKnownStatus_.charging); + assert_equals(manager.chargingTime, this.lastKnownStatus_.chargingTime); + assert_equals( + manager.dischargingTime, this.lastKnownStatus_.dischargingTime); + assert_equals(manager.level, this.lastKnownStatus_.level); + } + + runCallbacks_() { + if (!this.status_ || !this.pendingRequests_.length) + return; + + let result = {status: this.status_}; + while (this.pendingRequests_.length) { + this.pendingRequests_.pop()(result); + } + this.status_ = null; + } +} + +export const mockBatteryMonitor = new MockBatteryMonitor(); diff --git a/tests/wpt/web-platform-tests/scroll-animations/css/view-timeline-with-transform-on-subject.html b/tests/wpt/web-platform-tests/scroll-animations/css/view-timeline-with-transform-on-subject.html new file mode 100644 index 00000000000..e4abac7219b --- /dev/null +++ b/tests/wpt/web-platform-tests/scroll-animations/css/view-timeline-with-transform-on-subject.html @@ -0,0 +1,76 @@ + + + + + + + + + +Animation range and delay + + + +
+
+
+
+
+ + + diff --git a/tests/wpt/web-platform-tests/service-workers/service-worker/resources/local-url-inherit-controller-frame.html b/tests/wpt/web-platform-tests/service-workers/service-worker/resources/local-url-inherit-controller-frame.html index 5520c3a31bf..b1e554d2204 100644 --- a/tests/wpt/web-platform-tests/service-workers/service-worker/resources/local-url-inherit-controller-frame.html +++ b/tests/wpt/web-platform-tests/service-workers/service-worker/resources/local-url-inherit-controller-frame.html @@ -2,7 +2,7 @@