From 973465a9b61c98080d5cf592888108d72325d09c Mon Sep 17 00:00:00 2001 From: Servo WPT Sync <32481905+servo-wpt-sync@users.noreply.github.com> Date: Sun, 13 Jul 2025 04:09:35 +0200 Subject: [PATCH] Sync WPT with upstream (13-07-2025) (#38026) Automated downstream sync of changes from upstream as of 13-07-2025 [no-wpt-sync] Signed-off-by: WPT Sync Bot --- .../url/url-in-tags-revoke.window.js.ini | 3 - tests/wpt/meta/MANIFEST.json | 168 +++++- ...frame-ancestors-path-ignored.window.js.ini | 3 + .../layer-cssom-order-reverse.html.ini | 3 - .../column-rule-outset-interpolation.html.ini | 504 ++++++++++++++++++ ...tions-outset-neutral-keyframe-001.html.ini | 3 + ...tions-outset-neutral-keyframe-002.html.ini | 3 + .../row-rule-outset-interpolation.html.ini | 504 ++++++++++++++++++ .../parsing/item-tolerance-computed.html.ini | 3 + .../parsing/item-tolerance-valid.html.ini | 6 + ...scroll-markers-computed.tentative.html.ini | 12 + .../text-wrap-balance-line-clamp-005.html.ini | 2 + .../navigating-across-documents/009.html.ini | 3 + ...avigation-unload-same-origin.window.js.ini | 3 - .../text/canvas.2d.disconnected.html.ini | 2 - .../supported-elements.html.ini | 5 +- .../iframe_sandbox_popups_escaping-2.html.ini | 1 + ...rame_sandbox_popups_nonescaping-3.html.ini | 2 +- ...igation-id-worker-created-entries.html.ini | 3 + .../meta/preload/preload-error.sub.html.ini | 3 - .../tentative/document-initiated.html.ini | 1 - ...oaded-as-classic-script.tentative.html.ini | 4 + ...e-phase-import-non-UTF8.tentative.html.ini | 2 + ...e-dynamics-compressor-connections.html.ini | 14 + ...frame-opens-3P-window.partitioned.html.ini | 4 - .../position-area-percents-001-ref.html | 57 ++ .../position-area-percents-001.html | 56 ++ .../column-rule-outset-interpolation.html | 122 +++++ ...corations-outset-neutral-keyframe-001.html | 25 + ...corations-outset-neutral-keyframe-002.html | 25 + .../row-rule-outset-interpolation.html | 122 +++++ .../parsing/item-tolerance-computed.html | 1 + .../parsing/item-tolerance-invalid.html | 7 + .../parsing/item-tolerance-valid.html | 2 + .../scroll-markers-computed.tentative.html | 14 + .../scroll-markers-invalid.tentative.html | 18 + .../text-wrap-balance-line-clamp-005-ref.html | 26 + .../text-wrap-balance-line-clamp-005.html | 72 +++ .../crashtests/filter-primitive-crash.html | 17 + .../icon-color-defaults-to-text-color.html | 25 + .../icon-css-property-fill-reftest-ref.html | 11 + .../icon-css-property-fill-reftest.html | 5 +- ...nterestfor-input-modalities.tentative.html | 2 - ...nterestfor-partial-interest.tentative.html | 52 -- .../interestfor-popover-focus.tentative.html | 46 -- .../interestfor-pseudo-classes.tentative.html | 124 ++--- .../interest-for/resources/invoker-utils.js | 11 - .../navigation-id-worker-created-entries.html | 5 +- .../svg/crashtests/firefox-bug-1966754.html | 10 + .../esm-integration/resources/non-UTF8.wasm | Bin 0 -> 48 bytes ...sm-loaded-as-classic-script.tentative.html | 32 ++ ...ource-phase-import-non-UTF8.tentative.html | 18 + ...-rate-dynamics-compressor-connections.html | 117 ++-- .../browsing_context_print.py | 33 ++ 54 files changed, 1978 insertions(+), 338 deletions(-) create mode 100644 tests/wpt/meta/content-security-policy/frame-ancestors/frame-ancestors-path-ignored.window.js.ini delete mode 100644 tests/wpt/meta/css/css-cascade/layer-cssom-order-reverse.html.ini create mode 100644 tests/wpt/meta/css/css-gaps/animation/column-rule-outset-interpolation.html.ini create mode 100644 tests/wpt/meta/css/css-gaps/animation/gap-decorations-outset-neutral-keyframe-001.html.ini create mode 100644 tests/wpt/meta/css/css-gaps/animation/gap-decorations-outset-neutral-keyframe-002.html.ini create mode 100644 tests/wpt/meta/css/css-gaps/animation/row-rule-outset-interpolation.html.ini create mode 100644 tests/wpt/meta/css/css-overflow/parsing/scroll-markers-computed.tentative.html.ini create mode 100644 tests/wpt/meta/css/css-text/white-space/text-wrap-balance-line-clamp-005.html.ini create mode 100644 tests/wpt/meta/html/browsers/browsing-the-web/navigating-across-documents/009.html.ini delete mode 100644 tests/wpt/meta/html/browsers/browsing-the-web/navigating-across-documents/navigation-unload-same-origin.window.js.ini delete mode 100644 tests/wpt/meta/html/canvas/element/manual/text/canvas.2d.disconnected.html.ini create mode 100644 tests/wpt/meta/wasm/webapi/esm-integration/reuse-wasm-loaded-as-classic-script.tentative.html.ini create mode 100644 tests/wpt/meta/wasm/webapi/esm-integration/source-phase-import-non-UTF8.tentative.html.ini delete mode 100644 tests/wpt/meta/webstorage/localstorage-about-blank-3P-iframe-opens-3P-window.partitioned.html.ini create mode 100644 tests/wpt/tests/css/css-anchor-position/position-area-percents-001-ref.html create mode 100644 tests/wpt/tests/css/css-anchor-position/position-area-percents-001.html create mode 100644 tests/wpt/tests/css/css-gaps/animation/column-rule-outset-interpolation.html create mode 100644 tests/wpt/tests/css/css-gaps/animation/gap-decorations-outset-neutral-keyframe-001.html create mode 100644 tests/wpt/tests/css/css-gaps/animation/gap-decorations-outset-neutral-keyframe-002.html create mode 100644 tests/wpt/tests/css/css-gaps/animation/row-rule-outset-interpolation.html create mode 100644 tests/wpt/tests/css/css-overflow/parsing/scroll-markers-computed.tentative.html create mode 100644 tests/wpt/tests/css/css-overflow/parsing/scroll-markers-invalid.tentative.html create mode 100644 tests/wpt/tests/css/css-text/white-space/reference/text-wrap-balance-line-clamp-005-ref.html create mode 100644 tests/wpt/tests/css/css-text/white-space/text-wrap-balance-line-clamp-005.html create mode 100644 tests/wpt/tests/css/filter-effects/crashtests/filter-primitive-crash.html create mode 100644 tests/wpt/tests/html/semantics/permission-element/permission-icon/icon-color-defaults-to-text-color.html create mode 100644 tests/wpt/tests/html/semantics/permission-element/permission-icon/icon-css-property-fill-reftest-ref.html delete mode 100644 tests/wpt/tests/html/semantics/the-button-element/interest-for/interestfor-partial-interest.tentative.html delete mode 100644 tests/wpt/tests/html/semantics/the-button-element/interest-for/interestfor-popover-focus.tentative.html create mode 100644 tests/wpt/tests/svg/crashtests/firefox-bug-1966754.html create mode 100644 tests/wpt/tests/wasm/webapi/esm-integration/resources/non-UTF8.wasm create mode 100644 tests/wpt/tests/wasm/webapi/esm-integration/reuse-wasm-loaded-as-classic-script.tentative.html create mode 100644 tests/wpt/tests/wasm/webapi/esm-integration/source-phase-import-non-UTF8.tentative.html create mode 100644 tests/wpt/tests/webdriver/tests/bidi/integration/parallel_execution/browsing_context_print.py diff --git a/tests/wpt/meta/FileAPI/url/url-in-tags-revoke.window.js.ini b/tests/wpt/meta/FileAPI/url/url-in-tags-revoke.window.js.ini index 745f3e84edb..62c2d998e8f 100644 --- a/tests/wpt/meta/FileAPI/url/url-in-tags-revoke.window.js.ini +++ b/tests/wpt/meta/FileAPI/url/url-in-tags-revoke.window.js.ini @@ -14,6 +14,3 @@ [Opening a blob URL in a new window by clicking an tag works immediately before revoking the URL.] expected: TIMEOUT - - [Fetching a blob URL immediately before revoking it works in + + + + + + + + diff --git a/tests/wpt/tests/css/css-gaps/animation/gap-decorations-outset-neutral-keyframe-001.html b/tests/wpt/tests/css/css-gaps/animation/gap-decorations-outset-neutral-keyframe-001.html new file mode 100644 index 00000000000..3793b235179 --- /dev/null +++ b/tests/wpt/tests/css/css-gaps/animation/gap-decorations-outset-neutral-keyframe-001.html @@ -0,0 +1,25 @@ + + + + + gap decorations row-rule-outset neutral keyframe + + + + + + + +
+ + + diff --git a/tests/wpt/tests/css/css-gaps/animation/gap-decorations-outset-neutral-keyframe-002.html b/tests/wpt/tests/css/css-gaps/animation/gap-decorations-outset-neutral-keyframe-002.html new file mode 100644 index 00000000000..993606fc560 --- /dev/null +++ b/tests/wpt/tests/css/css-gaps/animation/gap-decorations-outset-neutral-keyframe-002.html @@ -0,0 +1,25 @@ + + + + + gap decorations column-rule-outset neutral keyframe + + + + + + + +
+ + + diff --git a/tests/wpt/tests/css/css-gaps/animation/row-rule-outset-interpolation.html b/tests/wpt/tests/css/css-gaps/animation/row-rule-outset-interpolation.html new file mode 100644 index 00000000000..ad6d9079355 --- /dev/null +++ b/tests/wpt/tests/css/css-gaps/animation/row-rule-outset-interpolation.html @@ -0,0 +1,122 @@ + + + + + row-rule-outset interpolation + + + + + + + + + + + diff --git a/tests/wpt/tests/css/css-masonry/tentative/parsing/item-tolerance-computed.html b/tests/wpt/tests/css/css-masonry/tentative/parsing/item-tolerance-computed.html index 57f36c9f4a1..2d5a9125b6e 100644 --- a/tests/wpt/tests/css/css-masonry/tentative/parsing/item-tolerance-computed.html +++ b/tests/wpt/tests/css/css-masonry/tentative/parsing/item-tolerance-computed.html @@ -19,6 +19,7 @@ diff --git a/tests/wpt/tests/css/css-masonry/tentative/parsing/item-tolerance-valid.html b/tests/wpt/tests/css/css-masonry/tentative/parsing/item-tolerance-valid.html index 9dc6721541e..820ef8a9436 100644 --- a/tests/wpt/tests/css/css-masonry/tentative/parsing/item-tolerance-valid.html +++ b/tests/wpt/tests/css/css-masonry/tentative/parsing/item-tolerance-valid.html @@ -13,6 +13,8 @@ + + +
+ diff --git a/tests/wpt/tests/css/css-overflow/parsing/scroll-markers-invalid.tentative.html b/tests/wpt/tests/css/css-overflow/parsing/scroll-markers-invalid.tentative.html new file mode 100644 index 00000000000..1c9ba6989e6 --- /dev/null +++ b/tests/wpt/tests/css/css-overflow/parsing/scroll-markers-invalid.tentative.html @@ -0,0 +1,18 @@ + + +CSS Overflow: parsing scroll-marker-group with modes invalid values + + + + +
+ diff --git a/tests/wpt/tests/css/css-text/white-space/reference/text-wrap-balance-line-clamp-005-ref.html b/tests/wpt/tests/css/css-text/white-space/reference/text-wrap-balance-line-clamp-005-ref.html new file mode 100644 index 00000000000..56c9e2459bb --- /dev/null +++ b/tests/wpt/tests/css/css-text/white-space/reference/text-wrap-balance-line-clamp-005-ref.html @@ -0,0 +1,26 @@ + + + +CSS Test reference + + + +

Test passes if the box with a blue frame is identical to the orange one. + +

abc def
AB CD EF GH
IJ KL MN O…
+ +
abc def
AB CD EF GH
IJ KL MN O…
diff --git a/tests/wpt/tests/css/css-text/white-space/text-wrap-balance-line-clamp-005.html b/tests/wpt/tests/css/css-text/white-space/text-wrap-balance-line-clamp-005.html new file mode 100644 index 00000000000..b7999903a7a --- /dev/null +++ b/tests/wpt/tests/css/css-text/white-space/text-wrap-balance-line-clamp-005.html @@ -0,0 +1,72 @@ + + + +CSS test: balancing and line-clamp + + + + + + + +

Test passes if the box with a blue frame is identical to the orange one. + +

+ abc def +
+ AB CD EF GH + IJ KL MN O + PQ RST +
+ uvwxyz +
+ +
abc def
AB CD EF GH
IJ KL MN O…
+ + diff --git a/tests/wpt/tests/css/filter-effects/crashtests/filter-primitive-crash.html b/tests/wpt/tests/css/filter-effects/crashtests/filter-primitive-crash.html new file mode 100644 index 00000000000..8b40745c746 --- /dev/null +++ b/tests/wpt/tests/css/filter-effects/crashtests/filter-primitive-crash.html @@ -0,0 +1,17 @@ + + + Having lots of filter primitives shouldn't crash. + +
test
+ + + + + + diff --git a/tests/wpt/tests/html/semantics/permission-element/permission-icon/icon-color-defaults-to-text-color.html b/tests/wpt/tests/html/semantics/permission-element/permission-icon/icon-color-defaults-to-text-color.html new file mode 100644 index 00000000000..a5f98cfe8aa --- /dev/null +++ b/tests/wpt/tests/html/semantics/permission-element/permission-icon/icon-color-defaults-to-text-color.html @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + diff --git a/tests/wpt/tests/html/semantics/permission-element/permission-icon/icon-css-property-fill-reftest-ref.html b/tests/wpt/tests/html/semantics/permission-element/permission-icon/icon-css-property-fill-reftest-ref.html new file mode 100644 index 00000000000..10f8e7982f2 --- /dev/null +++ b/tests/wpt/tests/html/semantics/permission-element/permission-icon/icon-css-property-fill-reftest-ref.html @@ -0,0 +1,11 @@ + + +A standard permission element of type location, with blue text and icon color + + + + diff --git a/tests/wpt/tests/html/semantics/permission-element/permission-icon/icon-css-property-fill-reftest.html b/tests/wpt/tests/html/semantics/permission-element/permission-icon/icon-css-property-fill-reftest.html index 130849e79ba..0fbd8625e9f 100644 --- a/tests/wpt/tests/html/semantics/permission-element/permission-icon/icon-css-property-fill-reftest.html +++ b/tests/wpt/tests/html/semantics/permission-element/permission-icon/icon-css-property-fill-reftest.html @@ -2,8 +2,11 @@ The icon of the element should change if the fill color is changed - + - - diff --git a/tests/wpt/tests/html/semantics/the-button-element/interest-for/interestfor-popover-focus.tentative.html b/tests/wpt/tests/html/semantics/the-button-element/interest-for/interestfor-popover-focus.tentative.html deleted file mode 100644 index d9b1bca5b10..00000000000 --- a/tests/wpt/tests/html/semantics/the-button-element/interest-for/interestfor-popover-focus.tentative.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - -
Popover with
- - - - - diff --git a/tests/wpt/tests/html/semantics/the-button-element/interest-for/interestfor-pseudo-classes.tentative.html b/tests/wpt/tests/html/semantics/the-button-element/interest-for/interestfor-pseudo-classes.tentative.html index 2004aa2b3d9..56344e35d1b 100644 --- a/tests/wpt/tests/html/semantics/the-button-element/interest-for/interestfor-pseudo-classes.tentative.html +++ b/tests/wpt/tests/html/semantics/the-button-element/interest-for/interestfor-pseudo-classes.tentative.html @@ -37,18 +37,12 @@ } diff --git a/tests/wpt/tests/html/semantics/the-button-element/interest-for/resources/invoker-utils.js b/tests/wpt/tests/html/semantics/the-button-element/interest-for/resources/invoker-utils.js index f06d668632f..7e4cdf580d2 100644 --- a/tests/wpt/tests/html/semantics/the-button-element/interest-for/resources/invoker-utils.js +++ b/tests/wpt/tests/html/semantics/the-button-element/interest-for/resources/invoker-utils.js @@ -135,14 +135,3 @@ async function sendLoseInterestHotkey() { .send(); await waitForRender(); } -async function sendShowInterestHotkey() { - const kAlt = "\uE00A"; - const kArrowUp = '\uE013'; - await new test_driver.Actions() - .keyDown(kAlt) - .keyDown(kArrowUp) - .keyUp(kArrowUp) - .keyUp(kAlt) - .send(); - await waitForRender(); -} diff --git a/tests/wpt/tests/performance-timeline/navigation-id-worker-created-entries.html b/tests/wpt/tests/performance-timeline/navigation-id-worker-created-entries.html index 96fc57be1d4..5c41ee8b86b 100644 --- a/tests/wpt/tests/performance-timeline/navigation-id-worker-created-entries.html +++ b/tests/wpt/tests/performance-timeline/navigation-id-worker-created-entries.html @@ -18,9 +18,8 @@ worker.postMessage(''); }); - assert_equals(navigationId.length, 0, - 'Navigation id of performance entries created by a worker should be empty.'); - }, 'Navigation id of performance entries created by workers should be empty'); + assert_equals(navigationId, 0, '0 indicates the absence of a navigation id.'); + }, 'Navigation id of performance entries created by workers should be 0.'); diff --git a/tests/wpt/tests/svg/crashtests/firefox-bug-1966754.html b/tests/wpt/tests/svg/crashtests/firefox-bug-1966754.html new file mode 100644 index 00000000000..4d2fd2b49fe --- /dev/null +++ b/tests/wpt/tests/svg/crashtests/firefox-bug-1966754.html @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/tests/wpt/tests/wasm/webapi/esm-integration/resources/non-UTF8.wasm b/tests/wpt/tests/wasm/webapi/esm-integration/resources/non-UTF8.wasm new file mode 100644 index 0000000000000000000000000000000000000000..9a15244ad51d5e7bdef8da2e83ebc0de38de8c5a GIT binary patch literal 48 zcmZQbEY4+QU|?WmV@zPIXRK#tVq{=vWn@faVBlhBWMxobIKa)o#gdnpo65utR0sf) Css-Et literal 0 HcmV?d00001 diff --git a/tests/wpt/tests/wasm/webapi/esm-integration/reuse-wasm-loaded-as-classic-script.tentative.html b/tests/wpt/tests/wasm/webapi/esm-integration/reuse-wasm-loaded-as-classic-script.tentative.html new file mode 100644 index 00000000000..e0a90fe7325 --- /dev/null +++ b/tests/wpt/tests/wasm/webapi/esm-integration/reuse-wasm-loaded-as-classic-script.tentative.html @@ -0,0 +1,32 @@ + +Reuse Wasm loaded as classic script + + + + + + + + + + diff --git a/tests/wpt/tests/wasm/webapi/esm-integration/source-phase-import-non-UTF8.tentative.html b/tests/wpt/tests/wasm/webapi/esm-integration/source-phase-import-non-UTF8.tentative.html new file mode 100644 index 00000000000..217b900eec3 --- /dev/null +++ b/tests/wpt/tests/wasm/webapi/esm-integration/source-phase-import-non-UTF8.tentative.html @@ -0,0 +1,18 @@ + +Import a Wasm module that cannot be encoded in UTF-8 + + + + diff --git a/tests/wpt/tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-dynamics-compressor-connections.html b/tests/wpt/tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-dynamics-compressor-connections.html index c1755cd1559..15db310e12a 100644 --- a/tests/wpt/tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-dynamics-compressor-connections.html +++ b/tests/wpt/tests/webaudio/the-audio-api/the-audioparam-interface/k-rate-dynamics-compressor-connections.html @@ -1,33 +1,23 @@ - + k-rate AudioParams with inputs for DynamicsCompressorNode - - - diff --git a/tests/wpt/tests/webdriver/tests/bidi/integration/parallel_execution/browsing_context_print.py b/tests/wpt/tests/webdriver/tests/bidi/integration/parallel_execution/browsing_context_print.py new file mode 100644 index 00000000000..65bb73c254f --- /dev/null +++ b/tests/wpt/tests/webdriver/tests/bidi/integration/parallel_execution/browsing_context_print.py @@ -0,0 +1,33 @@ +import pytest +import webdriver.bidi.error as error + + +pytestmark = pytest.mark.asyncio + + +async def test_when_browsingcontext_recreated( + bidi_session, wait_for_future_safe, inline +): + new_tab = await bidi_session.browsing_context.create(type_hint="tab") + + page = inline("
foo
") + await bidi_session.browsing_context.navigate( + context=new_tab["context"], url=page, wait="complete" + ) + + printed_future = await bidi_session.send_command( + "browsingContext.print", + { + "context": new_tab["context"], + }, + ) + + await bidi_session.browsing_context.close(context=new_tab["context"]) + + # Closing the browsing context for printing may leave the print-preview + # window open. Make sure that creating a new tab doesn’t reference this + # window, which could cause failures. + await bidi_session.browsing_context.create(type_hint="tab") + + with pytest.raises(error.UnknownErrorException): + await wait_for_future_safe(printed_future)