Automatic update from web-platform-tests
webrtc wpt: use receiver capabilities for setCodecPreferences
even though for audio this is symmetric.
BUG=None
Change-Id: I406b4799e3de768fc8636161b604f2134e5a7abb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5324902
Commit-Queue: Philipp Hancke <phancke@microsoft.com>
Reviewed-by: Florent Castelli <orphis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1265713}
--
wpt-commits: 079a2cb6a1226a3587ab776b22849e4cd83aaa91
wpt-pr: 44810
Automatic update from web-platform-tests
[text-box-trim] add parser for text-box-edge
The property is defined in
https://drafts.csswg.org/css-inline-3/#text-edges.
Now we're going to allow the following rule:
leading | [ text | cap | ex ] [ text | alphabetic ]?
ideographic and ideographic-ink are not implemented yet.
Bug: 41494590
Change-Id: I50a3111da0a8fd9f353494dfcca40e4836ba8520
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5237969
Commit-Queue: Lingqi Chi <lingqi@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1265659}
--
wpt-commits: 88803cebf503aa02f759a63fcccff4a55b2888f7
wpt-pr: 44221
Automatic update from web-platform-tests
[shared storage] Support cross-origin worklet
For the sharedStorage.createWorklet() API, relax the same-origin
restriction to additionally allow cross-origin script, in which case
a cross-origin worklet will be created.
How:
- Rely on CORS for the worklet to be created/used by the embedder.
- In general, we want to mimic the subframe's process allocation
behavior (i.e. it should end up using a process as if an iframe is
created with the script URL). It leverages the process allocation
and management logic from service workers and re-use SiteInstanceImpl::CreateForServiceWorker(). To keep this
CL focused, the refactoring will occur in a separate CL, as it
will involve refactoring other downstream components like
'UnmatchedServiceWorkerProcessTracker'.
Explainer: https://github.com/WICG/shared-storage/pull/130
Spec: https://github.com/WICG/shared-storage/pull/131
Design doc:
https://docs.google.com/document/d/1QTaaroCMeFVZVghI6JkUcDvmDQEacjvpyTfk6mpvQhA/edit?usp=sharing
Bug: 325302836
Change-Id: I11c1fc87bc76f4400c54d9fa809349d1d1781247
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5296843
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Commit-Queue: Yao Xiao <yaoxia@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1265583}
--
wpt-commits: e8e7749139ca3a1bd1048d50966b3069e07a3f7e
wpt-pr: 44596
Automatic update from web-platform-tests
Shared Storage: Add web tests to verify entry limit no longer enforced
We add web tests for `set()` and `append()` to verify that the
previous entry limit of 10000 is no longer being enforced.
Bug: 325352528,1218540
Change-Id: I0d39185755fe1b8a07761ad96a56f62b56bf31a6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5318315
Reviewed-by: Yao Xiao <yaoxia@chromium.org>
Commit-Queue: Cammie Smith Barnes <cammie@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1265558}
--
wpt-commits: 07c97091416fd015de497feb72eea34f0440bd76
wpt-pr: 44767
Automatic update from web-platform-tests
[FedCM] Fix dom exception type for TooManyRequests
We have the right type in web_identity_requester.cc but not in these two
files.
Bug: None
Change-Id: Iadf6c6ef6cf7fcdfdc69e8abc660d201100918a9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5323347
Commit-Queue: Yi Gu <yigu@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1265498}
--
wpt-commits: 2a9fa3b5e2a898141a6373804b2b6e6f1c15957f
wpt-pr: 44793
Automatic update from web-platform-tests
[CompositeClipPathAnimation] Fix crash for global values
This CL fixes a bug where only 'fixed' falls back to main for composited clip path animation. This makes all global values fall back, to avoid crashing during paint.
Bug: 41493093
Change-Id: Ie510eb3ef2aa22a95192e3107d50af2c69b6e105
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5226767
Reviewed-by: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1265455}
--
wpt-commits: e229b5718c9fd9e920d2443a9c74dfc205166032
wpt-pr: 44133
Automatic update from web-platform-tests
Remove 'tentative' from paint-order-001.html WPT
This feature has shipped in Gecko, WebKit, and chromium.
Bug: chromium:41372165
Change-Id: I7d8facc1f24d9fd998167d856b0213cd39076670
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5323303
Auto-Submit: Stefan Zager <szager@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Stefan Zager <szager@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1265373}
--
wpt-commits: 0cc7291c1c3d1f3ec6ffee9cee78ba3d36b00818
wpt-pr: 44778
Automatic update from web-platform-tests
Revert "[FedCM] Allow button flow to replace widget flow"
This reverts commit a2783105732c27a57dd0c3e1100730cc4aec32e0.
Reason for revert: Suspected of causing failures on WebKit Linux Leak: https://ci.chromium.org/ui/p/chromium/builders/ci/WebKit%20Linux%20Leak/60801/overview (and other runs since)
Original change's description:
> [FedCM] Allow button flow to replace widget flow
>
> Since button flow implies stronger user login intention of, it should
> take precedence over the widget flow. In particular:
> 1. If there's an in-flight button request, reject any coming widget request
> 2. If there's an in-flight widget request, replace it with the button request
>
> This patch also fixes an issue where we persisted the rp_mode_ after a
> button flow.
>
> Bug: 41483050
> Change-Id: Ic75ba4ab359a9247f4c41b75ad84f7a3cabeb0c9
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5321982
> Commit-Queue: Yi Gu <yigu@chromium.org>
> Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1265238}
Bug: 41483050
Change-Id: I82728a8ea02194f46eed086015473975a4017dc4
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5317868
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Yi Gu <yigu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1265306}
--
wpt-commits: 4e124bd215d00032c69d87b499d4e04fa97595b3
wpt-pr: 44791
Automatic update from web-platform-tests
Activate output connection to AudioParam in AudioWorkletProcessor
This CL fixes an erroneous reporting in AudioNodeOutput for
outgoing connections by including connections to both AudioNodes
and AudioParams. This information can be used to provide a proper
audio bus to AudioWorkletProcessor from AudioWorkletHandler.
Fix confirmed with the repro: https://codepen.io/fr0stbyter/pen/eYXxMMp
Bug: 324293899
Test: external/wpt/webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-unconnected-outputs.https.window.js
Change-Id: If0e37318696b10c0cc6dbd5417743ae385043bff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5319838
Reviewed-by: Michael Wilson <mjwilson@chromium.org>
Commit-Queue: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1265304}
--
wpt-commits: 043500fe8c9ea70d4a88061d309e29b055325535
wpt-pr: 44753
Automatic update from web-platform-tests
layout: Add line height from preserved segment breaks in quirks mode
In quirks mode, preserved segment breaks should add line height to
lines. This matches the behavior of WebKit and Blink, but not Gecko.
This also handles the special-case of `<br>` elements, which are
implemented with preserved segment breaks via `white-space: pre-line`.
This is an implementation detail though because `<br>` has a special
behavior if the line isn't empty -- it doesn't add any line height in
this case.
--
wpt-commits: b6bf2e7a488398dfcd5a9bb48756a06e17ecf6e2
wpt-pr: 44785
Automatic update from web-platform-tests
view-transition: Fix rendering of elements with clip-path on descendants
The visual overflow rect computation code in ViewTransition assumes that
if an element has a clip-path, its content will be sized to the bounds
of that clip-path. The clip-path extent can be larger than the contents
of that element.
The above assumption is only true if the element with the clip-path is
layerized. Otherwise the size of the overflow is an intersection of the
element's painted content with the clip-path. This leads to incorrect
overflow calculation for an element's overflow rect when its not
layerized.
Fix the above by forcing layerization on descendants of a named element
if it has a clip-path. This is easier than knowing whether the content
will be layerized by the paint step later.
Fixed: 324585402
Change-Id: Id35cf3aab2cb4e9f0d27dbe36afeaf37789d95dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5322398
Auto-Submit: Khushal Sagar <khushalsagar@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1265246}
--
wpt-commits: 0ad3dae083cabb967784aa1714092c7393475bec
wpt-pr: 44763
Automatic update from web-platform-tests
blink: Fire pageconceal for non-ViewTransition navigations.
Fire the pageconceal event for cross-document navigations when there is
no ViewTransition. This is dispatched right before sending the
CommitNavigation IPC. For ViewTransition, the event is dispatched
earlier when running the commit deferring conditions.
Bug: 1522213
Change-Id: Ie3b6df0a1c5692c6d8c13330e023e1fac2280073
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5315496
Reviewed-by: Joe Mason <joenotcharles@google.com>
Auto-Submit: Khushal Sagar <khushalsagar@chromium.org>
Commit-Queue: Vladimir Levin <vmpstr@chromium.org>
Reviewed-by: Rakina Zata Amni <rakina@chromium.org>
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1265230}
--
wpt-commits: 49d194890a2c14a449be9799e81e2509894e1f6c
wpt-pr: 44714
Automatic update from web-platform-tests
[FedCM] Allow button flow to replace widget flow
Since button flow implies stronger user login intention of, it should
take precedence over the widget flow. In particular:
1. If there's an in-flight button request, reject any coming widget request
2. If there's an in-flight widget request, replace it with the button request
This patch also fixes an issue where we persisted the rp_mode_ after a
button flow.
Bug: 41483050
Change-Id: Ic75ba4ab359a9247f4c41b75ad84f7a3cabeb0c9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5321982
Commit-Queue: Yi Gu <yigu@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1265238}
--
wpt-commits: a814608dab5f5df554bdc1f32468fcb67b92f621
wpt-pr: 44756
Automatic update from web-platform-tests
webaudio - remove empty test suite directories
the-audiodestinationnode-interface:
Empty because the-destinationnode-interface/ is used
the-audiolistener-interface:
I guess most tests live in the pannernode dir
the-audioprocessingevent-interface:
I guess mosts tests live in the scriptprocessornode dir
--
wpt-commits: 7155aa911c1839131503b16ba44754be110af4d2
wpt-pr: 44749
Automatic update from web-platform-tests
WebAudio: remove unused and incorrect resource
The file /webaudio/resources/buffer-loader.js does not exist, it lives
in /webaudio/js instead. It is unused however.
--
wpt-commits: 98ce08f14b731eed190cfc654bc70112219b4cc7
wpt-pr: 44783
Automatic update from web-platform-tests
Add permissions .well-known endpoint for Protected Audience API WPTs.
This .well-known is fetched at the origin of the interest group's owner,
and specifies as a URL parameter the origin of frame that's attempting
to join or leave that interest group.
This is implemented such that the origin of the frame is ignored
altogether, and the determination of which operations are allowed
depends strictly on the origin of the interest group owner, and
specifically on the subdomain of the origin of the interest group owner.
wptserve serves each of its two domains at both the raw domain and each
of five subdomains.
- www: disallows both join and leave
- www1: allows join, but not leave
- www2: allows leave, but not join
- 天気の良い日 / élève: allow both join and leave
- anything else (including no subdomain): returns a 404
More information about the permissions endpoint can be found at:
https://github.com/WICG/turtledove/blob/main/FLEDGE.md#13-permission-delegation
This change depends on
https://github.com/web-platform-tests/wpt/pull/44398
to be usable from web platform tests.
Change-Id: I34f71c2576183856a770dd1a2307f5502941d219
Bug: 40275797
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5277476
Commit-Queue: Orr Bernstein <orrb@google.com>
Reviewed-by: mmenke <mmenke@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1265173}
--
wpt-commits: 2b9d21410646401cd42e830f481f0d8b3ba18639
wpt-pr: 44443
Automatic update from web-platform-tests
[WebDriver BiDi] Remove pointer up from some invalid BiDi tests
--
wpt-commits: c177c23f3eae86820faddaaa4dab1a89ab501d52
wpt-pr: 44784
Automatic update from web-platform-tests
webrtc wpt: add test for stats consistency
checking that each stat.someId resolves in the stats map
BUG=None
Change-Id: Id4083209f00c3866352177058db8a01d0244b59c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5317644
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Commit-Queue: Philipp Hancke <phancke@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1265062}
--
wpt-commits: 2294a9619699907cf85d252d9be2ae8b68914dc9
wpt-pr: 44775
Automatic update from web-platform-tests
Add tests related to Origin header for beacon requests in case of same origin referrer policy (#44731)
In particular, this includes cross origin no cors beacon requests.
--
wpt-commits: 2b5ee6b39c22a7cda2ef0325b2aac5f0b475bf40
wpt-pr: 44731
Automatic update from web-platform-tests
fix : test_computed_value is not defined (#44768)
--
wpt-commits: 2e3ebdea6a2b37cb7bb1c82b60b4426c74530644
wpt-pr: 44768
Automatic update from web-platform-tests
Add well-known routes for Protected Audience API WPTs (#44398)
* Add well-known routes for Protected Audience API WPTs
Web Platform Tests for the [Protected Audience
API](https://github.com/WICG/turtledove/blob/main/FLEDGE.md) are in the
process of being added. As part of this API, the browser issues a GET
request to a well-known URI: `/.well-known/interest-group/permissions/`.
This is described in more detail at
https://github.com/WICG/turtledove/blob/main/FLEDGE.md#13-permission-delegation.
In order to implement dynamic handling of these routes in WPT, we need
to register these routes in the add_mount_point. Because this well-known
URI ends in a '/', we also need special handling for directory-appearing
PythonHandler-supported endpoints.
* Fix indentation in change to handlers.py
* Support default python files matching the pattern default*.py.
In order to support e.g. text substition, which requires a special
filename, e.g. default.sub.py, expand support for loading the default
file in a directory-appearing endpoint handled by a Python handler to
support any default file matching the pattern default*.py. In case
multiple files match this pattern, the first one found is used.
* Improved handling for default files matching default*.py.
* Improved handling for default files matching default*.py.
* Add tests for directory special casing for PythonHandler.
This also makes the directory special casing more deterministic by
explicitly selecting the first lexicographically sorted file match the
default*.py pattern in the requested path.
* Changed AsIsHandler to throw HTTPException instead of AssertionError.
Also added a test that shows AsIsHandler failing when trying to process
a directory.
--
wpt-commits: fec3221d5d92d6dae1816e688b9b93d3bec855e9
wpt-pr: 44398
Automatic update from web-platform-tests
Prefetch WPTs: Remove some irrelevant anonymous-client-ip-when-cross-origin usage
Anonymization is not relevant to these tests and removing the
requirement allows the tests to run without a proxy or special test
configuration.
Bug: None
Change-Id: I25f79b7469184916267d0d1edaacbeaf34513fea
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5318614
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Commit-Queue: Jeremy Roman <jbroman@chromium.org>
Commit-Queue: Kevin McNee <mcnee@chromium.org>
Auto-Submit: Kevin McNee <mcnee@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1264772}
--
wpt-commits: da26ae6760f4034af286c04f2a9ea81239823982
wpt-pr: 44759
Automatic update from web-platform-tests
[Interop] Fix/add click/auxclick WPTs to match PointerEvent spec.
This CL adds/fixes two WPTs to match two recent spec resolutions:
https://github.com/w3c/pointerevents/issues/356https://github.com/w3c/pointerevents/issues/357
- Fixes the WPT for click target with capture, and
- Adds a similar WPT for auxclick.
Bug: 40851618
Change-Id: Ide9da78897cd7a03135a2d70f41cade1e00cb2f3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5301480
Commit-Queue: Robert Flack <flackr@chromium.org>
Auto-Submit: Mustaq Ahmed <mustaq@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1264738}
--
wpt-commits: 8960484e82396a39b2cedd684d53b983f9d22ac4
wpt-pr: 44758
Automatic update from web-platform-tests
[CodeHealth] Rewrite an old-style WPT using promises.
This CL rewrites pointerevent_click_during_capture.html to:
- replace a complicated state-machine logic with 4 independent
promise_tests that are easier to reason about and debug,
- renames all targets for better readablity, and
- adds a new "symmetrical" test (the 4th promise_test) that captures
the pointer to the `pointerdown` target, for completeness.
This is a no-op change.
For a captured pointer, the WPT wrongly assumes that the click event
is dispatched before the lostpointercapture event. This gap will be
fixed in the follow-up CL.
Bug: 40851596
Change-Id: I52c32afccba1faa5475ab5f5ff7d4132232ddeee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5300776
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Commit-Queue: Robert Flack <flackr@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Auto-Submit: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1264710}
--
wpt-commits: 086442ef2dadf688117448fa57269de64f736466
wpt-pr: 44614
Automatic update from web-platform-tests
Adjust anchor position offset with chained anchor position
Like 5297007, this CL adjusts anchor position by the offset of chained
anchored containers.
Bug: 40947467
Change-Id: I233145abe11d5eb1288ca3940388930d2149214d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5274137
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1264708}
--
wpt-commits: 4a5bbfc904a789669c73c9581a2c8625d3b62c4c
wpt-pr: 44654
Automatic update from web-platform-tests
Increase fuzzy for scroll-animations/css/animation-range-visual-test.html
To make it pass after crrev.com/c/4900037. Running the scroll timeline
on compositor introduce slightly larger rounding errors.
Change-Id: I67d76b6f9b33f6a7c2b0529d7532118c26547179
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5315751
Auto-Submit: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Stefan Zager <szager@chromium.org>
Commit-Queue: Stefan Zager <szager@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1264684}
--
wpt-commits: ba633359e4e4dcc7ddacd40882ae02cb1c66bce1
wpt-pr: 44722
Automatic update from web-platform-tests
Adjust anchor position offset with sticky offsets
When computing the total scroll adjustment for anchor position,
we should consider not only scroll offsets of scroll containers,
but also sticky offsets of sticky-positioned containers.
Bug: 40947467
Change-Id: Ie555f482ee8110b6c54d3b332e52e461588452cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5297007
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1264662}
--
wpt-commits: 7522d62dd9872a29222a11dc11bce8a4259a992c
wpt-pr: 44599
Automatic update from web-platform-tests
Fix up bdo behavior with unicode-bidi property
See the predecessor CLs [1][2] which fixed up other elements. This
CL updates the bdo element UA stylesheet and some management code
in html_element.cc.
In particular, this CL makes the following changes to html.css:
add this:
[dir=ltr i], [dir=rtl i], [dir=auto i] {
unicode-bidi: isolate;
}
and then replace this:
bdo {
unicode-bidi: bidi-override;
}
with this:
bdo, bdo[dir] {
unicode-bidi: isolate-override;
}
That is per spec:
https://html.spec.whatwg.org/multipage/rendering.html#bidi-rendering
Several tests had to be updated to match bdo's isolate-override
behavior.
[1] https://chromium-review.googlesource.com/c/chromium/src/+/5240082
[2] https://chromium-review.googlesource.com/c/chromium/src/+/5260610
Bug: 1520671
Change-Id: Ic596a83974c01740d455a30f95a0fe28e9f73fa9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5262983
Reviewed-by: David Baron <dbaron@chromium.org>
Auto-Submit: Mason Freed <masonf@chromium.org>
Commit-Queue: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1264627}
--
wpt-commits: 16aaaefa887d10254730d0f0410c3583172a80dc
wpt-pr: 44718
Automatic update from web-platform-tests
CSS word-spacing property does not obey percentages
Export from https://bugs.webkit.org/show_bug.cgi?id=126674 / https://commits.webkit.org/144704@main
Reviewed by Simon Fraser.
One change between CSS2.1 and CSS3 is that the word-spacing CSS property can
take percentages (of the width of the space character) in CSS3.
* css2.1/20110323/c541-word-sp-001-expected.html:
* css2.1/20110323/c541-word-sp-001.htm: Updated to not disregard percentages
--
wpt-commits: 5d77beb8f936413bcc757fcadf59b195ec52e005
wpt-pr: 44747
Automatic update from web-platform-tests
[css-color] use color-mix() in relative color syntax (#44745)
--
wpt-commits: d1696b0364432a1c6bc08c344cd55a9aea66cf98
wpt-pr: 44745