Skip to content

Releases: web-platform-tests/wpt

merge_pr_53310

21 Jun 03:38
Compare
Choose a tag to compare

[webaudio] Migrate ctor-convolver.html from audit.js

This change migrates WebAudio tests from the custom audit.js framework
to the W3C-standard testharness.js specifically targeting dir
third_party/blink/web_tests/external/wpt/webaudio/the-audio-api
/the-convolvernode-interface/ctor-convolver.html, supporting Chromium's
ongoing effort to deprecate audit.js in favor of a more consistent
testing approach.

The following test files have been updated:

  • ctor-convolver.html

Bug: 396477778
Change-Id: I43ff67966a2db727e44950f196a284e01b12e850
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6634364
Reviewed-by: Michael Wilson mjwilson@chromium.org
Reviewed-by: Alvin Ji alvinji@chromium.org
Commit-Queue: Saqlain 2mesaqlain@gmail.com
Cr-Commit-Position: refs/heads/main@{#1476858}

merge_pr_53305

21 Jun 00:19
Compare
Choose a tag to compare

De-flake html/browsers/browsing-the-web/history-traversal/event-order/before-load-hash*

The tests assert that, when a hash change occurs before the
load event:

  • popstate fires sync
  • hashchange fires async, but before the load event

hashchange must be fired from a task queued on the DOM
manipulation task source per
https://html.spec.whatwg.org/multipage/browsing-the-web.html#updating-the-document:hashchangeevent,
but the load event fires due to the completion of HTML parsing,
which is a task from the network task source per
https://html.spec.whatwg.org/#read-html.

Therefore, there is no spec guarantee of their relative ordering, and
the test should not require a specific ordering.

Fixed: 405555811
Change-Id: I94570b5655ec54656ce081a8eb1bb193d8e65307
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6653739
Commit-Queue: Nate Chapin japhet@chromium.org
Auto-Submit: Nate Chapin japhet@chromium.org
Reviewed-by: Domenic Denicola domenic@chromium.org
Cr-Commit-Position: refs/heads/main@{#1476800}

merge_pr_53297

20 Jun 19:54
Compare
Choose a tag to compare

[soft navs] Include image element src changes as DOM modifications

This CL changes soft nav detection so that changing the src attribute of
an HTMLImageElement --- as well as other attributes that cause an
image to be updated, e.g. src for or the poster
attribute for videos --- causes (future paints of) the node to be
tracked by soft nav heuristics. This is accomplished by:

  1. Moving the ContainerNode soft-nav checks into
    SoftNavigationHeuristics so we don't duplicate things, which is
    nice on its own to move decision making into SNH.
  2. Informing SNH of the attribute change, which we can do centrally in
    ImageLoader.

For now, this just reuses the ModifiedDOM() method to wire things up,
but we might want to add "cause" or something to add to tracing, which
can be done as a follow-up. We'll probably also want to consider other
attributes, but this is a starting point.

Bug: 328783345
Change-Id: I805386b4952627da6804e53bbdb9b114f4ba4e2d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6599236
Commit-Queue: Scott Haseley shaseley@chromium.org
Reviewed-by: Michal Mocny mmocny@chromium.org
Cr-Commit-Position: refs/heads/main@{#1476660}

merge_pr_53296

20 Jun 19:43
Compare
Choose a tag to compare

Fix scroll-target-group behaviour when the scroller is root element

We didn't include viewport in search of scroll target's scroller.

Bug: 398065922
Change-Id: I6525860e31b6d17e62ff236a25f94994c779754d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6650999
Reviewed-by: Robert Flack flackr@chromium.org
Commit-Queue: Daniil Sakhapov sakhapov@chromium.org
Cr-Commit-Position: refs/heads/main@{#1476645}

merge_pr_53295

20 Jun 19:42
Compare
Choose a tag to compare

Add WPT for multiple sessions failing to refresh

We ensure that both refreshes were attempted and that both refreshes
were reflected in the debug header.

Fixed: 417401759, 406034853
Change-Id: Id77385973a142bc347df65cf57ca3973b1b26bbd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6655439
Reviewed-by: thefrog thefrog@chromium.org
Commit-Queue: Daniel Rubery drubery@chromium.org
Cr-Commit-Position: refs/heads/main@{#1476636}

merge_pr_53294

20 Jun 19:43
Compare
Choose a tag to compare

Fix missed addCookieAndSessionCleanup references

Bug: 353767385
Change-Id: I1a3ea312984b1f9103b51175fbea5fb4a9563f45
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6656012
Commit-Queue: thefrog thefrog@chromium.org
Reviewed-by: Daniel Rubery drubery@chromium.org
Cr-Commit-Position: refs/heads/main@{#1476604}

merge_pr_53293

20 Jun 17:56
Compare
Choose a tag to compare

Writing Assistance: Composite instance method abort signals with the create abort signal

This composites Writing Assistance instance methods' abort signals with
the abort signal used to create the Writing assistance instance. As part
of this, the destroy signal is aligned with spec and rejects with
AbortError instead of InvalidStateError.

This change is based on crrev.com/c/6579550, with additional changes:

  • Pass abort reason to RejectOnDestruction()
  • Check abort signal before checking AIMojoClient remote_

Fixed: 415114791
Change-Id: I0932d980a5d2d5b141e79a0e5beb916d2daea2df
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6653359
Commit-Queue: Daseul Lee dslee@chromium.org
Reviewed-by: Mike Wasserman msw@chromium.org
Cr-Commit-Position: refs/heads/main@{#1476574}

merge_pr_53292

20 Jun 16:55
Compare
Choose a tag to compare

Overscroll behavior should be respected on all scroll containers

If a scroll container is not scrollable, it will not create a scroll
node. Therefore, the scroll events that occur on it will be propagated
without being limited by the overscroll-behavior. This CL ensures that
overscroll-behavior is respected on all scroll containers.

Bug: 41371072
Change-Id: I70cbcb05acfaa58411801dfdb5929a3501ba8d99
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6618817
Reviewed-by: Robert Flack flackr@chromium.org
Reviewed-by: Philip Rogers pdr@chromium.org
Commit-Queue: Perry perryuwang@gmail.com
Cr-Commit-Position: refs/heads/main@{#1476548}

merge_pr_53290

20 Jun 18:01
9197f24
Compare
Choose a tag to compare

Removes container-progress() and media-progress() tests now that they have been removed from CSS Values 5 (#53290)

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=294736

merge_pr_53289

20 Jun 18:01
9b0bf4a
Compare
Choose a tag to compare

Fixes tests of CSS custom properties computed style to use resolved used value (#53289)

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=294504

Based on CSSWG resolution in w3c/csswg-drafts#10371