Skip to content

Releases: web-platform-tests/wpt

merge_pr_49344

23 Nov 08:27
Compare
Choose a tag to compare

Rename ::check pseudo element to ::checkmark

w3c/csswg-drafts#10908 (comment)

Bug: 379985080
Change-Id: Ib2ada61e49f62e430ca0c7dce931e05fdd6431e1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6043233
Commit-Queue: Traian Captan [email protected]
Reviewed-by: Joey Arhar [email protected]
Auto-Submit: Traian Captan [email protected]
Reviewed-by: Nate Chapin [email protected]
Reviewed-by: Aaron Leventhal [email protected]
Cr-Commit-Position: refs/heads/main@{#1387229}

merge_pr_49343

23 Nov 04:44
Compare
Choose a tag to compare

webnn: Support gatherElements in tflite converter

There is no TFLite operator to map directly WebNN gatherElements, but
it can be supported with tfl.gather_nd, the test cases[1] and the
doc[2] show the gather_nd can gether not only slices but also elements,
but gather_nd can't gather along the axis, so the indices used by
gather_nd need to be calculated by unravelling the flat index and
adjusting value with the axis.

The coordinates are calculated by the stride of each dimension. For
example a shape (3, 2) array can map to the following coordinates:
// index row, col
// [[0, 1,] [[0, 0], [0, 1],
// [2, 3,] => [1, 0], [1, 1]
// [4, 5,]] [2, 0], [2, 1]]

Adjusting the coordinates with WebNN indices operand along the axis,
// unravelled index WebNN indices axis = 0 TFLite indices
// [[0, 0], [0, 1], [[1, 0], [[1 ,0], [0, 1],
// [1, 0], [1, 1] [2, 1], => [2, 0], [1, 1],
// [2, 0], [2, 1]] [0, 2]] [0, 0], [2, 1]]

[1] https://www.tensorflow.org/mlir/tfl_ops#tflgather_nd_tflgatherndop
[2] https://www.tensorflow.org/guide/tensor_slicing#insert_data_into_tensors

Bug: 40206287
Change-Id: I61ad75585405039da10af05f3300799fe8f32855
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6000111
Reviewed-by: ningxin hu [email protected]
Reviewed-by: Reilly Grant [email protected]
Commit-Queue: Junwei Fu [email protected]
Cr-Commit-Position: refs/heads/main@{#1387213}

merge_pr_49334

23 Nov 09:14
Compare
Choose a tag to compare

Pass HybridEventTarget for endpoint binding

Doing so registers a shutdown task to workerprivate and prevents CC.

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1932730
gecko-commit: df1c1dbfbe46bd3ec52697c8a128cf0f8f3ecadf
gecko-reviewers: asuth

merge_pr_49339

22 Nov 22:47
Compare
Choose a tag to compare

Update READMEs for animation tests

First in a series of patches to document best practices for animation
tests. This patch adds a readme for non-WPT animation tests, and
updates the readme for CSS transitions. Each tip was recently used to
fix a flake / failure introduced with the migration of css transition
tests from using run_web_test.py to run_wpt_test.py.

Change-Id: Iaba7ea397c4f55a090b08a71c046b96c64453bd9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6037955
Reviewed-by: Olga Gerchikov [email protected]
Commit-Queue: Kevin Ellis [email protected]
Cr-Commit-Position: refs/heads/main@{#1387067}

merge_pr_49336

22 Nov 19:34
b7fb20e
Compare
Choose a tag to compare

merge_pr_49335

22 Nov 19:37
Compare
Choose a tag to compare

Refactor touch-handler-count

The original test is using an internals method to access the handler
count. We can make this more universal by adding listeners and
measuring the number of responses. Also my using touch instead of some
other category of events, we are not necessarily fully testing on the
mac, where real devices don't have touch screens.

This patch, uses click instead of touch events since fully handled on
all platforms and moves the test to wpt/dom/events. The tracking of a
nested document's handlers in the parent frame is not to spec, so that
portion of the test was removed.

Refactored to use variants for document/window/element, to determine
the event target. The animationstart event supports bubbling, making
it a suitable candidate for the test.

Bug: 40281811
Change-Id: Ia05164623266ff72557d3f815b5985a3cf2c80fa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6031569
Commit-Queue: Kevin Ellis [email protected]
Reviewed-by: Mustaq Ahmed [email protected]
Cr-Commit-Position: refs/heads/main@{#1386913}

merge_pr_49333

22 Nov 16:15
Compare
Choose a tag to compare

[@container] Missing overflowing -> scrollable in test

Rename happened in a previous CL, but this test was left out.

Bug: 367764865
Change-Id: Iad994183d87d88395e2acb4b8f10c278fdbf8290
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6038131
Reviewed-by: Anders Hartvoll Ruud [email protected]
Commit-Queue: Rune Lillesveen [email protected]
Auto-Submit: Rune Lillesveen [email protected]
Cr-Commit-Position: refs/heads/main@{#1386833}

merge_pr_49332

22 Nov 16:22
Compare
Choose a tag to compare

Web Platform Tests for B&A auctions with k-anonymity enforcement

Bug: 41495800
Change-Id: I24929462e13d0ac56dd3002dd94d1d99ccfeef39
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6034458
Commit-Queue: Russ Hamilton [email protected]
Reviewed-by: Maks Orlovich [email protected]
Reviewed-by: Koji Ishii [email protected]
Cr-Commit-Position: refs/heads/main@{#1386832}

merge_pr_49331

22 Nov 14:16
Compare
Choose a tag to compare

Refactor pointerevents_iframe-touch-action-none

Problems in the test:

  • onload only ensures the parent frame is loaded and not the child
    frame. Fix by explicitly triggering load of the child frame and
    waiting on completion.
  • assumes message from child frame will be posted and processed by the
    time the button is pressed, but this can happen too quickly. Fix by
    waiting on a message promise from the child frame.
  • concatenation of events from the child frame is needlessly
    convoluted and likely the result of copy-paste from another test.

1 flake over 100 runs without fix.
0 flakes over 600 runs with the fix.

Bug: 40770210
Change-Id: Icf6640ee87b0d85f93bfa0753794545f1c302462
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6035259
Reviewed-by: Mustaq Ahmed [email protected]
Commit-Queue: Kevin Ellis [email protected]
Cr-Commit-Position: refs/heads/main@{#1386777}

merge_pr_49330

22 Nov 13:15
Compare
Choose a tag to compare

Clean up wpt tests for attr() security

Clean up wpt tests for attr() security violations, add tests for url()
function and tests reflecting the following spec changes [0].

[0] w3c/csswg-drafts#11218

Bug: 40320391
Change-Id: I05d73f4ee78aff1ccd0ae7f90584f5f5a9353b09
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6020647
Reviewed-by: Anders Hartvoll Ruud [email protected]
Commit-Queue: Munira Tursunova [email protected]
Cr-Commit-Position: refs/heads/main@{#1386745}