Automatic update from web-platform-tests
Correct scroll snap area for fragmented blocks.
A DCHECK would fail if a node got block-fragmented, since we'd add the
LayoutBox for it multiple times. Only add the LayoutBox when at the last
fragment.
Secondly, calculate the correct bounding box for such blocks.
PhysicalBorderBoxRect() would give the rectangle in the stitched
coordinate system (where we pretend that nothing gets fragmented, but is
just laid out into one tall strip). Use QuadsInAncestor() instead.
Bug: 353898977
Change-Id: I94bd2f7f3d25a8f154e0f7fe7fc35373fbcf7449
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5854900
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1355444}
--
wpt-commits: ca4fb41731d2ace8bdbea73cad16e984d7129526
wpt-pr: 48128
Automatic update from web-platform-tests
[Popins] Implement Web Platform Test for popin partitions
This test creates same-site and cross-site iframes and popins in
different combinations to test that popins provide access to the proper
cookie and storage partitions.
Bug: 340606651
Bug: b/365144247
Change-Id: I377eb4066caf2d0491559f4d691c4e445c6a2409
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5841474
Commit-Queue: Aaron Selya <selya@google.com>
Reviewed-by: Ari Chivukula <arichiv@chromium.org>
Reviewed-by: Aaron Selya <selya@google.com>
Cr-Commit-Position: refs/heads/main@{#1355425}
--
wpt-commits: 1f46e89baa73f4272029c8f8ca1b6dcb1c1cf783
wpt-pr: 48170
Automatic update from web-platform-tests
[blink] Fix smooth-scroll-in-load-event.html.
The test fails with this error on most platforms:
[FAIL] Smooth scroll in load event handler
assert_equals: Final value of scrollLeft expected 800 but got 0
This is because observeScrolling() completes after 20 rAF without
change to the scroll position, which is not enough for the scroll
animation to start on most platforms. This CL fixes the test by
replacing observeScrolling() with a function that waits for the
"scrollend" event.
This CL also moves the function to wait to a "scrollend" event from
css/css-scroll-snap/support/common.js to
dom/events/scrolling/scroll_support.js for better reusability, and
renames it to waitForScrollEndFallbackToDelayWithoutScrollEvent() to
convey that it has a different behavior when the "scrollend" event is
not available.
Fixed: 327468395
Change-Id: I63d89cd1d0bf0973543aa769765eac00b62ba87c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5823436
Commit-Queue: Francois Pierre Doray <fdoray@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1355320}
--
wpt-commits: 922a7fe9a4f5bffd0161e11b38bac8f76ef03efd
wpt-pr: 48163
Automatic update from web-platform-tests
Add RTL and Bidi cases to TextMetrics tests
Since https://crrev.com/c/5817356, the WPT auto-generated tests can now
handle the complete UTF-8 character set. This CL adds two new texts to
the tests for the new ExtendedTextMetrics features: A completele RTL
text in arabic, and a bidi text that includes both LTR and RTL text.
Bug: 341213359
Change-Id: Ibf1ba14c54d76064314a22ff236783b009ad6859
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5857842
Commit-Queue: Andres Ricardo Perez <andresrperez@chromium.org>
Reviewed-by: Jean-Philippe Gravel <jpgravel@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1355206}
--
wpt-commits: 7c4c324de0ec8df88e5a2782333fda7a8e547fd3
wpt-pr: 48160
Automatic update from web-platform-tests
Don't consume into block in ConsumeAttributeReference
The streaming parser does not allow using Consume[IncludingWhitespace]
into a block. Fixed by peeking before consuming.
Fixes crash (DCHECK) for invalid values like "attr(())".
Change-Id: Ic1d26b21d5e82be8375f768b9626cec9e3da375a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5860123
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Munira Tursunova <moonira@google.com>
Cr-Commit-Position: refs/heads/main@{#1355134}
--
wpt-commits: b7afcf86f757f525e6212c7a73fd86cf6bc26fa5
wpt-pr: 48156
Automatic update from web-platform-tests
Implement RTCRtpEncodingParameters.scaleResolutionDownTo.
Spec: https://w3c.github.io/webrtc-extensions/#dom-rtcrtpencodingparameters-scaleresolutiondownto
Wires up scaleResolutionDownTo[1] to JS behind RuntimeEnabled flag
"RTCRtpScaleResolutionDownTo". This is implemented in third_party/webrtc
where it is called `requested_resolution`.
WPTs are added to test basic functionality, including getting the
resolution we expect, changing it on the fly, it being orientation
agnostic and throwing on invalid parameters.
The tests use small resolutions like 120x60 for fast ramp up even on
slow bots (sending HD tends to trigger initial frame dropping and slow
BW ramp up).
The following test coverage is NOT included yet, but will be added in
follow up CL(s):
- Simulcast tests: to be written in a separate CL for reviewability.
- scaleTo maintaining aspect ratio: blocked on a WebRTC fix.
[1] https://github.com/w3c/webrtc-extensions/pull/221
Bug: chromium:363544347
Change-Id: If930ffd686d073d2eb239763e9ea9c1390fbcef1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5828607
Reviewed-by: Dominik Röttsches <drott@chromium.org>
Commit-Queue: Henrik Boström <hbos@chromium.org>
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1355122}
--
wpt-commits: 85dc128fe5ac6c48d09609411808de0939feb31f
wpt-pr: 48155
Automatic update from web-platform-tests
Fix UAF in GetAttrSubstitutionValue
CSSParserTokenStream needs to stay alive until the CSSParserToken is
appended to out TokenSequence, since CSSParserToken is holding a
reference to CSSParserTokenStream.
Bug: 365802556
Change-Id: Ic3f5a5277d5ab754630eb26fad120f217dab2ea2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5853990
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Munira Tursunova <moonira@google.com>
Cr-Commit-Position: refs/heads/main@{#1355099}
--
wpt-commits: e6f01757f6fb3ecd4312dac6cb7e2b18c1ac6c88
wpt-pr: 48150
Automatic update from web-platform-tests
Remove crossdoc variant from nested VT test
It's a very flaky test, and the scenario is already tested in the
mpa-serialization suite.
Bug: 358842552
Change-Id: I72c4b24f44b4b9c136f9bce0e1b4887e12346528
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5850138
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1355063}
--
wpt-commits: 04e2af2de9c0ebbfdd752cabd5e1a276ac52fc0a
wpt-pr: 48121
Automatic update from web-platform-tests
Move test to the correct directory (#48146)
--
wpt-commits: 54ce43a90a73a25c05cb669e5abc7929039baab4
wpt-pr: 48146
Automatic update from web-platform-tests
webnn: Add WPTs asserting input tensors are not modified
The TFLite and CoreML backends explicitly assume that tensors passed as
an input to graph execution are not modified by the underlying
framework. We should specify this behavior
Bug: 366130770
Change-Id: I326975b05ca1163a3cba6a90e81ee22982252a65
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel,mac14-blink-rel,mac14.arm64-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5848368
Reviewed-by: Weizhong Xia <weizhong@google.com>
Reviewed-by: ningxin hu <ningxin.hu@intel.com>
Commit-Queue: Austin Sullivan <asully@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354900}
--
wpt-commits: 203770a9137b683a9d12d846bff872e1218bc6d3
wpt-pr: 48140
Automatic update from web-platform-tests
Improve base-select initial focus
This patch checks to see if the selected option is focusable before
trying to focus it when opening the picker. It also chooses a fallback
option to focus in the case that the selected option is not focusable.
Fixed: 360357707
Change-Id: I1c2943f5492d4eb299f5b6e162e2c2c1df152851
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5825538
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Traian Captan <tcaptan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354889}
--
wpt-commits: d97ddaf5bf2c2ae8cb337a58d3d0836e4025394d
wpt-pr: 47998
Automatic update from web-platform-tests
[layout] Fix simplified layout DCHECK.
It is now possible for OOF-positioned elements to change styles,
this changes the result of DependsOnPercentageBlockSize.
This check is only really needed for non-OOF positioned elements.
Fixed: 365594098
Change-Id: I896dc1b155d6ba4fb950843a910c0142b6f93d00
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5854462
Auto-Submit: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Commit-Queue: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354882}
--
wpt-commits: d83edec7d443d546d8299eff805f979d3355c541
wpt-pr: 48142
Automatic update from web-platform-tests
IDB WPTs: Extend 3 more IDBCursor continue() objectstore WPTs to workers
These IndexedDB WPTs currently only run in a window environment. This
change moves 2 of them into idbcursor_continue_objectstore.any.js.
The last test, idbcursor_iterating.htm involves multiple iterations and
deletions. It's been converted in place to idbcursor_iterating.any.js.
These updates extend these tests to also run in dedicated, shared, and
service worker environments.
NOTE for CHROMIUM GARDENERS: idbcursor_iterating.htm has been updated to
run on workers. Outgoing file has been removed from TestExpectations. If
the new tests (suffixed with window.html or *worker.html) are flaky,
please add them to TestExpectations vs. reverting this CL. Thank you!
Bug: 41455766
Change-Id: I8ca7066ccb4cfd07ed9ada6867f6b2f622f2d00b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5854934
Reviewed-by: Evan Stade <estade@chromium.org>
Commit-Queue: Rahul Singh <rahsin@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1354842}
--
wpt-commits: d536d5f30c0f5abe0d290ef3c641b5124e17ef5f
wpt-pr: 48132
Automatic update from web-platform-tests
Revert "[EncodedTransform] Add WPT for owner of the frames"
This reverts commit 449367647a200e6ac6306a4c901db92f08f261b8.
Reason for revert: suspect of flakiness
Original change's description:
> [EncodedTransform] Add WPT for owner of the frames
>
> Implement a WPT to test the logic ensuring that only frames previously read by the same owner can be written.
>
> Additionally, moved function appendToBuffer to a helper.
>
> Bug: 354881878
>
> Change-Id: I5db43b3e1dac1c0f243c0a7126b6fc2e5091af50
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5827535
> Reviewed-by: Guido Urdaneta <guidou@chromium.org>
> Reviewed-by: Palak Agarwal <agpalak@chromium.org>
> Commit-Queue: Lucía Alonso Mozo <alonsomozol@google.com>
> Cr-Commit-Position: refs/heads/main@{#1349215}
Bug: 354881878
Change-Id: Id8a61b077a601f74eb79b9b3b3df4f66c21423f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5853993
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1354748}
--
wpt-commits: 2432577309abcb0e6d1068cd1fdbac2756596532
wpt-pr: 48139
Automatic update from web-platform-tests
Revert "[EncodedTransform] Add WPT for order of writing the frames" (#48124)
This reverts commit 5ea6741b1f7504c8796b5aee536f12193e9fd449.
Reason for revert: Suspect of flakiness.
Original change's description:
> [EncodedTransform] Add WPT for order of writing the frames
>
> Implement a WPT to test the logic ensuring that frames can only be written if they were previously read in the same order.
>
> Bug: 354881878
>
> Change-Id: Ie2453f5a12b54c26c29f404144859f6b23d92d3b
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5823486
> Reviewed-by: Palak Agarwal <agpalak@chromium.org>
> Reviewed-by: Guido Urdaneta <guidou@chromium.org>
> Commit-Queue: Lucía Alonso Mozo <alonsomozol@google.com>
> Cr-Commit-Position: refs/heads/main@{#1349216}
Bug: 354881878
Change-Id: I01ceeef2c3777522fc7ba6c5fd289284f4b12ef4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5857778
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354651}
Co-authored-by: Guido Urdaneta <guidou@chromium.org>
--
wpt-commits: 045b6b37ff6a02493350f6f35ec5ff19868e9b89
wpt-pr: 48124
Automatic update from web-platform-tests
FLEDGE: basic WPT for hybrid B&A auctions.
...where a B&A auction is a component in a client-side auction.
(And also remove some unused fields from pure B&A ones)
Change-Id: Ic8e14a087d432af0a0f93880ed2c2278f74069cc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858038
Reviewed-by: Russ Hamilton <behamilton@google.com>
Commit-Queue: Maks Orlovich <morlovich@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354798}
--
wpt-commits: 5c5a71e7b8bc8154ee9beeeb7f637a3e5f707b2f
wpt-pr: 48137
Automatic update from web-platform-tests
[Partitioned Popins] Require HTTPS in renderer
This URL is already resolved relative to the opener. Tested in
third_party/blink/web_tests/external/wpt/partitioned-popins/partitioned-popins.secure.tentative.sub.http.window.js
Bug: 340606651
Change-Id: I10aef94c608d1f0b360e897a1b2f848817648227
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5854583
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Auto-Submit: Ari Chivukula <arichiv@chromium.org>
Commit-Queue: Ari Chivukula <arichiv@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354760}
--
wpt-commits: dc52804a850f53c57784aa11c7656957305788f7
wpt-pr: 48131
Automatic update from web-platform-tests
Cleanup after #33396
Mostly formatting improvements, but also recovering a pair of parenthesis
that was accidentally removed, changing the logic.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
--
wpt-commits: bdd386082516907c85d75f3c6f8bcb23762b4760
wpt-pr: 48134
Automatic update from web-platform-tests
[CSP] Remove code for navigate-to
The implementation of the CSP 'navigate-to' directive has been living
behind a flag for some time now. In the mean time, however,
'navigate-to' has been removed from the specification
(https://github.com/w3c/webappsec-csp/pull/564). This CL cleans up the
implementation in chrome, which is anyway unlikely to be shipped in
the near future.
Bug: 365627779,40918092
Change-Id: I58b6ef7426d2e97c28fcb226781bf4f63bbc355c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5850982
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Commit-Queue: Antonio Sartori <antoniosartori@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354433}
--
wpt-commits: 3ca5580c7dfeeb2cc31577b4ffefccff19324818
wpt-pr: 48118
Automatic update from web-platform-tests
[@container] Move scroll-state() query tests to wpt
The spec PR landed, so tests should now be supported by the spec.
The 'inset-' prefix for the stuck keywords per were not per spec and
remove both from tests and implementation.
The tests for the 'none'-keyword for snapped and stuck does not match
the current spec draft, but will be fixed by [1]
[1] https://github.com/w3c/csswg-drafts/pull/10874/
Bug: 40279568, 40268059
Change-Id: I7cf8d3a2f251eaea0c3a78329c46a7bfddd85dda
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5850484
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354415}
--
wpt-commits: d2c522e29aa466bbfcc863b51aa3556aff5a248c
wpt-pr: 48116
Automatic update from web-platform-tests
Make the Safari workflows not be invalid workflow files
We can't put a YAML comment within a string, it needs to be actual
YAML syntax.
--
wpt-commits: 9326ce54c0cebf4fca58c2b51ab263421bdea44e
wpt-pr: 48112
Automatic update from web-platform-tests
[Partitioned Popins] Limit cross-origin popin opener access
This CL mirrors the COOP restrict-properties work to prevent the use of
the opener proxy for/by a popin for any actions other than
postMessage() or closed.
The difference between
https://chromium-review.googlesource.com/c/chromium/src/+/5800429
and this CL is that enforcement is limited here to cross-origin cases.
There will be enforcement of same-origin cases in a future CL, but we
will not enforce it as a security boundary (independent process) for
now.
All of this work is behind an experimental flag "PartitionedPopins"
so will not be enabled by default.
Explainer: https://explainers-by-googlers.github.io/partitioned-popins/
I2P: https://groups.google.com/a/chromium.org/g/blink-dev/c/ApU_zUmpQ2g/
Bug: 340606651
Change-Id: I5a852fc2f598e311142a25a434656592fe9185a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5854082
Auto-Submit: Ari Chivukula <arichiv@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Rakina Zata Amni <rakina@chromium.org>
Commit-Queue: Rakina Zata Amni <rakina@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1354277}
--
wpt-commits: 3a73b22199a61a711bdeed49f58720529851a467
wpt-pr: 48110