Skip to content

Releases: web-platform-tests/wpt

merge_pr_46366

20 May 03:22
Compare
Choose a tag to compare

webnn: Fix typo in elementwise-logical WPT

s/validateInputFromOtherBuilder/validateInputFromAnotherBuilder

The former function does not exist

Fixed: 340662741
Change-Id: I2753b3de44fd2509fa1ebaa7f19aac64ca271b77
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5545072
Reviewed-by: ningxin hu ningxin.hu@intel.com
Auto-Submit: Austin Sullivan asully@chromium.org
Commit-Queue: ningxin hu ningxin.hu@intel.com
Cr-Commit-Position: refs/heads/main@{#1303188}

merge_pr_46365

20 May 04:05
Compare
Choose a tag to compare

Fix ReadableStream.from accepts iterable/async iterable

The proposal accepts Iterable/AsyncIterable objects, but previous tests
tested IterableIterator/AsyncIterableIterator.

This change breaks Deno v1.43.5.
However, Node v20.13.1 and Firefox 126.0 are implemented correctly.

merge_pr_46182

20 May 04:34
Compare
Choose a tag to compare

Add WPTs for ServiceWorker Static Routing API Resource Timing

This CL adds WPTs for Service Worker Static Routing API Resource Timing.
It conducts a set of tests to determine if the resource timing is
correctly working on each source type, and on main and sub-resources.

Explainer: WICG/service-worker-static-routing-api#25
Bug: 41496865
Change-Id: Ide7d352d4824b9491645964febb6522ffe71aafb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5521193
Reviewed-by: Minoru Chikamune chikamune@chromium.org
Reviewed-by: Yoshisato Yanagisawa yyanagisawa@chromium.org
Reviewed-by: Shunya Shishido sisidovski@chromium.org
Reviewed-by: Kent Tamura tkent@chromium.org
Commit-Queue: Keita Suzuki suzukikeita@chromium.org
Cr-Commit-Position: refs/heads/main@{#1303199}

merge_pr_46340

19 May 23:39
Compare
Choose a tag to compare

[text-box-trim] Test accumulations

This patch adds a test for when the element to trim has
different text-box-edge value from the text-box-edge value
of the element that has text-box-trim. Discussed and
resolved at:
w3c/csswg-drafts#5426

Bug: 40254880
Change-Id: I5685fbaebddb8c7429b3b041c5fe0f88b982fc3d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5547563
Auto-Submit: Koji Ishii kojii@chromium.org
Reviewed-by: Kent Tamura tkent@chromium.org
Commit-Queue: Kent Tamura tkent@chromium.org
Cr-Commit-Position: refs/heads/main@{#1303166}

merge_pr_46353

18 May 00:39
Compare
Choose a tag to compare

Make sec-ch-width tests robust to fractional values

sec-ch-width.https.html is currently failing when the window width is
not an even multiple of 10 (see: crbug.com/341258938). The spec [1]
states that sec-ch-width must be an integer, and we currently ceil
this (see: BaseFetchContext::AddClientHintsIfNecessary). This patch
updates the tests to expect correct integer values.

Bug: 335630145
Change-Id: I2b2704232963a03f6232af4fee5b72ddcf60c8c4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5546690
Reviewed-by: Traian Captan tcaptan@chromium.org
Auto-Submit: Philip Rogers pdr@chromium.org
Commit-Queue: Traian Captan tcaptan@chromium.org
Cr-Commit-Position: refs/heads/main@{#1302921}

merge_pr_46347

18 May 14:36
Compare
Choose a tag to compare

Use normalize-newlines algorithm for setCustomValidity

This is for whatwg/html#10350

Differential Revision: https://phabricator.services.mozilla.com/D210688

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1896923
gecko-commit: c9931f28fd168fb6f179eecf28a87a1a738fde0d
gecko-reviewers: emilio

merge_pr_46344

18 May 14:23
Compare
Choose a tag to compare

Move some scrollend subtests to test variants.

Tests is scrollend-event-fired-for-programmatic-scroll.html execute
several subtests in a single promise_test call. This can make debugging
a intermittent failure a bit more difficult. Move the subtests to test
variants to hopefully make debugging intermittent failures a bit easier.

Differential Revision: https://phabricator.services.mozilla.com/D208406

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1835844
gecko-commit: 16b7bc7da3f82a38352aa97091f51b41caf89c3a
gecko-reviewers: hiro

merge_pr_46343

18 May 14:30
Compare
Choose a tag to compare

Text Fragments: Implement same-document navigation.

Same-document navigation follows a different code path than normal navigation
and was therefore not covered in the initial implementation for text fragments.
Same-document navigation does not set a URI in the Document, which
is the way cross-document navigation would parse text directives from the URL.

Instead, nsDocShell::ScrollToAnchor() is called via
nsDocShell::InternalLoad()-> nsDocShell::HandleSameDocumentNavigation().
This code path needs to parse and remove the fragment directive from the new
fragment to be able to find text fragments and to allow for element-id fallback.
nsDocShell::ScrollToAnchor() needs to start an attempt to scroll to the text fragment
if it exists. It must not, however, clear the uninvoked text directives, because a
same-document navigation could happen before the document is fully loaded,
hence the target text might not be part of the DOM tree.

As per spec, a second attempt to scroll to the text fragment is done after the load
is completed. This is done by Document::ScrollToRef(), which is called by
nsDocumentViewer::LoadComplete() after the load has finished.
This call will clear the uninvoked directives.

Differential Revision: https://phabricator.services.mozilla.com/D209726

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1895555
gecko-commit: d00d182fcf814d5ed0f06831668932cc27b06280
gecko-reviewers: farre, dom-core

merge_pr_46318

18 May 03:15
Compare
Choose a tag to compare

Remove experimental sync-script policy.

This document policy (previously feature policy) has been in an
experimental state for several years, and there are no current plans to
ship it. Removing the feature to reduce the maintenance burden of unused
code.

Bug: 340920459
Change-Id: I26010c6d4f934bd764be3d4166d75a91987c823a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5544698
Reviewed-by: Rick Byers rbyers@chromium.org
Reviewed-by: Ken Buchanan kenrb@chromium.org
Commit-Queue: Ian Clelland iclelland@chromium.org
Cr-Commit-Position: refs/heads/main@{#1302964}

merge_pr_46202

18 May 08:33
Compare
Choose a tag to compare

webnn: Migrate ElementWiseBinary validation tests to WPTs

This CL adds WPT tests for ElementWiseBinary and removes the unit tests
MLGraphBuilderElementWiseBinaryTest.TestElementWiseBinary ,
MLGraphTestMojo.ElementWiseBinaryTest,
MLGraphTestMojo.ElementWiseBinaryLogicalTest and MLGraphTest, ElementWiseBinaryTest.

Bug: 327337526, 328026885
Change-Id: I21b96ea03dc5dc070173151f53ca7d5b63a73281
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5531844
Reviewed-by: Austin Sullivan asully@chromium.org
Commit-Queue: Shanxing Mei shanxing.mei@intel.com
Reviewed-by: ningxin hu ningxin.hu@intel.com
Cr-Commit-Position: refs/heads/main@{#1303007}