Automatic update from web-platform-tests
FSA: Add tentative suffix to AccessHandle WPTs
Due to crbug.com/1224358, the tests were originally submitted without
the suffix. The bug report points out the workaround used in this CL.
Bug: 1218431
Change-Id: I28f3480d77675cabc53ea4c79900ba323a56bcfe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3000820
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Commit-Queue: Emanuel Krivoy <krivoy@google.com>
Cr-Commit-Position: refs/heads/master@{#900880}
--
wpt-commits: 6928ea21e812bfcf6a8c67d79a1cbc4a2926ae3a
wpt-pr: 29566
Automatic update from web-platform-tests
[TableNG] Fix percentage relative-positioning.
Previously we'd set a fixed block-size on various table parts. The way
that %-based relative positioning would work is to use this fixed
block-size to resolve %-ages against.
We weren't really using this fixed block-size however - as we'd just set
the final block-size as the sum of our children.
Instead of setting the fixed block-size, just use the intrinsic
block-size. This requires a change to the simplified layout algorithm
to "ignore" one of the DCHECKs we perform.
This behaviour now resolves %-relpos against any *specified* size on
the parent. This matches Firefox with the exception of test
position-relative-013.html .
This behaviour seems reasonable - however if we want to restrict this
even more, we can set the IsInitialBlockSizeIndefinite to true (then
all %-respos won't resolve).
Bug: 1227884
Change-Id: Id036a52b954604f1d26528a557053e46ea5aa0be
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3021544
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Aleks Totic <atotic@chromium.org>
Reviewed-by: Kurt Catti-Schmidt <kschmi@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#900823}
--
wpt-commits: 766438415f7932e2b3872583bbe6a6a5b890af72
wpt-pr: 29642
Automatic update from web-platform-tests
usb: Use ReadOnlyBuffer in the rest of the Mojo interface
This change replaces the rest of the instances of array<uint8> in Mojo
method arguments and replies with the typemapped ReadOnlyBuffer struct.
This avoids an unnecessary copy of the transferred data on both the
sending and receiving ends of the Mojo pipe.
Bug: 743121
Change-Id: I1ac823790341eefc60ff3c1ae0e2a82587e4c51c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2919266
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Sean Kau <skau@chromium.org>
Reviewed-by: Andrey Kosyakov <caseq@chromium.org>
Reviewed-by: Chris Mumford <cmumford@google.com>
Cr-Commit-Position: refs/heads/master@{#900787}
--
wpt-commits: df409aa09453c4812ac083e3563733a0286cffc0
wpt-pr: 29147
Automatic update from web-platform-tests
[TablesNG] colspan width distribution fix
Colspanned cell's max-width was distributed over fixed columns
incorrectly when colspanned cell was not constrained.
We used to always distribute max-width, not taking constraintedness
into account.
The correct algorithm (FF/Legacy agree) is:
Only constrained max-width can be distributed over constrained columns.
This new constraint introduces a new edge case:
- How to redistributed unconstrained max-width over percentage columns
if some columns are fixed.
FF/Legacy/TablesNG all disagree on how to handle this. TablesNG is
closer to Legacy than to FF.
Bug: 1227530
Change-Id: Idcc9be3ac815adba6d8f125502a04cd08e94c52a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3018564
Commit-Queue: Aleks Totic <atotic@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900783}
--
wpt-commits: 01e28296622f55b70897fab865212885bfdb00e0
wpt-pr: 29627
Automatic update from web-platform-tests
[@counter-style] Move shadow-DOM-related tests to WPT
Now that the name scoping behavior has been specified in the way these
tests assert [1], this patch moves them to WPT.
[1] https://github.com/w3c/csswg-drafts/issues/5693
Bug: 1225033
Change-Id: I3970ec8a1ee185ad32fcd1e7c57952d5513e6b8e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3000883
Auto-Submit: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900782}
--
wpt-commits: abbafb6d4eb22478494cb98d1f25f4ba5174b0bc
wpt-pr: 29560
Automatic update from web-platform-tests
bluetooth: Mark requestDevice/cross-origin-iframe.sub.https.html flaky
This change fixes up requestDevice/cross-origin-iframe.sub.https.html so
that it will fail rather than time out when the iframe reports an
unexpected response and marks the test flaky until issue 1066891 is
resolved.
Bug: 1227710
Change-Id: Iec2082dd617caff39c9b424ff856cf875379ecda
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3021754
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Auto-Submit: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Chris Mumford <cmumford@google.com>
Cr-Commit-Position: refs/heads/master@{#900759}
--
wpt-commits: aac96012eda81520a0bbf5cb37d0d058ebfbe291
wpt-pr: 29641
Automatic update from web-platform-tests
[webcodecs] Implement color spaces
This CL adds color spaces to WebCodecs APIs, as described in [1].
[1] https://github.com/w3c/webcodecs/issues/47#issuecomment-854156824
Bug: 1138680
Change-Id: I82d4fb2fd23f8b0cf30b56d8d08225286904c6d3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3011944
Commit-Queue: Dan Sanders <sandersd@chromium.org>
Reviewed-by: Chrome Cunningham <chcunningham@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900738}
--
wpt-commits: 427d22208457244bf503cacb3c6a528c1ff49754
wpt-pr: 29599
Automatic update from web-platform-tests
[LayoutNG] OOF fragmentainer descendant writing-mode conversions
If there was no containing block fragment set on an OOF fragmentainer
descendant, we were using an empty size for conversions in
NGPhysicalBoxFragment. This is incorrect - when no containing block is
set, that means the current fragment is the containing block. Use the
size of the current fragment instead.
Additionally, an incorrect converter was used in converting the static
position of OOF fragmentainer descendants in NGPhysicalBoxFragment.
This CL ensures that the static position remains relative to the
containing block, similar to how the conversions are handled in
NGContainerFragmentBuilder.
Bug: 1227115
Change-Id: Idb455573b1bf6b23c80679d8494b56ae267cf34a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3011454
Commit-Queue: Alison Maher <almaher@microsoft.com>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900671}
--
wpt-commits: c663222b95aeea6083e7b5964228792e8a0f9a70
wpt-pr: 29604
Automatic update from web-platform-tests
Add AudioData::copyTo()
This CL updates AudioData according to the latest WebCodecs spec. It
adds an allocationSize() and a copyTo() method to AudioData.
WPTs will be included in future CLs, when AudioDataInit is updated to
use a BufferSource instead of an AudioBuffer.
Bug: 1205281
Change-Id: I97a2ed6ac094e373671262d3ba4089d150d94446
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3011779
Commit-Queue: Thomas Guilbert <tguilbert@chromium.org>
Reviewed-by: Dan Sanders <sandersd@chromium.org>
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900655}
--
wpt-commits: 3ecb64d20dd5ddfaa067183d58dafc75a7fc6614
wpt-pr: 29629
Automatic update from web-platform-tests
Remove grid-aspect-ratio-013.html
This is tested better in grid-aspect-ratio-032.html and grid-aspect-ratio-033.html.
Change-Id: I123417e812b481df8030b9e1c746074846c8c4bb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3001038
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Rob Buis <rbuis@igalia.com>
Cr-Commit-Position: refs/heads/master@{#900647}
--
wpt-commits: 3e3b11ae49c2a61356afb8283abaeb2a056c57f2
wpt-pr: 29577
Automatic update from web-platform-tests
[css-flex] Migrate more abspos tests from reference to check-layout
Before this patch, the entire test file is marked Fail even though each
file has ~15-20 tests in it, some of which Blink passes. If we were to
regress any of the tests we pass, we'd never know.
Firefox passes all these tests so I wrote a script that harvests
Firefox's offsetTop/Left values and stuffs them into data-offset-x/y.
Most recent similar patch is at
https://chromium-review.googlesource.com/c/chromium/src/+/2965267
Change-Id: I0bfcb3a5c08c3abac6238d79917065facc39aa63
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3016361
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900574}
--
wpt-commits: 9d6f1c1aa7e1daa62c350b3fec18d594792f408a
wpt-pr: 29621
Automatic update from web-platform-tests
COOP: Add WPT about COOP+CSP:sandbox.
Check the opener/openee relationship is closed when a same-origin
COOP:same-origin navigation happens with CSP:sandbox.
Bug: 1063518
Change-Id: I9fd1c1fdb1b1bdd2471a007e233f3fa88a377c54
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3020822
Reviewed-by: Antonio Sartori <antoniosartori@chromium.org>
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900464}
--
wpt-commits: d8b6f77406f0d39c0ac35144c747e109d69bc2c0
wpt-pr: 29639
Automatic update from web-platform-tests
[mathml] Fix layout of <mprescripts>
Currently, NGMathScriptsLayoutAlgorithm::Layout perform the layout of
the <mprescripts> but does not do anything with the result. This CL
fixes that by implementing what is described in the MathML Core spec [1]:
"Place the base and <mprescripts> boxes at inline offsets inline-offset
and with their alphabetic baselines aligned with the alphabetic baseline."
[1] https://w3c.github.io/mathml-core/#base-with-prescripts-and-postscripts
Bug: 1222411, 6606
Change-Id: I24c27e30783a35fbc227753365861c240934bae0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3015504
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Frédéric Wang <fwang@igalia.com>
Cr-Commit-Position: refs/heads/master@{#900397}
--
wpt-commits: 23d801e755183b7b61d7e79c44f20358c1fec957
wpt-pr: 29620
Automatic update from web-platform-tests
[CompositeAfterPaint] Don't fragment composited scrollers
Fragmenting composited scrollers caused multiple scroll nodes and
layers with the same element id which confused cc.
To prevent fragmentation of composited scrollers, use the same
pre-CAP method for directly composited layers.
This CL is not needed for LayoutNGBlockFragmentation.
Bug: 1226298
Change-Id: Ib3a3c50aacaa6367114e97ecbccfb641f0558261
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3017415
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900164}
--
wpt-commits: 1d6a9a37bc72df33a8c604cf878385d0cfc413bc
wpt-pr: 29622
Automatic update from web-platform-tests
Add web platform tests for cookie size requirements.
Note: a lot of these will fail in Chromium today, as the latest spec
updates are not yet implemented. That should happen in
crbug.com/1225342.
Bug: 1223516
Change-Id: I077df55a27c3d5bbbff96fd2d2385f76e2b6a64b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2990029
Reviewed-by: Lily Chen <chlily@chromium.org>
Commit-Queue: Mike Taylor <miketaylr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900126}
--
wpt-commits: c83e0732bea29590cf6c51ec832f2b7ed693d35b
wpt-pr: 29544
Automatic update from web-platform-tests
[mathml] Adjust padding for invalid fractions reftests
The invalid fraction reftests compare an <mfrac> with an invalid number
of children against an <mrow> with the same children, in order to test
this statement from [1]:
"If the <mfrac> element has less or more than two in-flow children, its
layout algorithm is the same as the <mrow> element."
However, the same section indicates just above a default padding for
mfrac elements, so the reftests can't match. This CL fixes that by
making the reference set these padding values to 1px.
[1] https://w3c.github.io/mathml-core/#fractions-mfrac
Bug: 6606
Change-Id: I598e2cdd743c440774ac3b3ecb43cb8c84c59b3e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3015322
Reviewed-by: Manuel Rego <rego@igalia.com>
Commit-Queue: Frédéric Wang <fwang@igalia.com>
Cr-Commit-Position: refs/heads/master@{#899960}
--
wpt-commits: f6d8412357aff4d2ec4f5f47e201f18933e24819
wpt-pr: 29623
Automatic update from web-platform-tests
Test other form of explicit stretching (#29578)
--
wpt-commits: 38956485d2cf73844f2e1fec7baa89bb8e3cfc32
wpt-pr: 29578
Automatic update from web-platform-tests
Use DOMPointInit for roundRect
This is what we decided on in the spec debate.
https://github.com/whatwg/html/pull/6765
Bug: 1193694
Change-Id: Ic24a8cf9ec61ab584318a40660c0c0e06a0b9848
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3016815
Commit-Queue: Aaron Krajeski <aaronhk@chromium.org>
Reviewed-by: Justin Novosad <junov@chromium.org>
Cr-Commit-Position: refs/heads/master@{#899818}
--
wpt-commits: adcec00147f8dc59daaca5793d8bcd5f8d2d519a
wpt-pr: 29615
Automatic update from web-platform-tests
Add WPT crashtest for null-dereference crash.
This adds a WPT crashtest for a crash that I fixed yesterday, since the
new fuzzer-generated testcase contains only standardized features so
it's appropriate for WPT.
Bug: 1226919, 1226308, 1226509
Change-Id: Ic07a21bc2ad16d92639ccffb667c14a09d0ecc28
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3011451
Auto-Submit: David Baron <dbaron@chromium.org>
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Commit-Queue: Stephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/master@{#899664}
--
wpt-commits: 5f0da8e0ee156d0561ebcb9c9304dedd06119bd8
wpt-pr: 29603
Automatic update from web-platform-tests
Mark more URL test cases with "inputCanBeRelative"
In git commit 5174df6 Timothy added "inputCanBeRelative" to annotate URLs that
fail to parse without a base URL or with a base URL that can't be a base URL
like about:blank, but can be a relative URL with a valid base URL. He missed a few.
--
wpt-commits: 18bb9ddd69d646a4c260eb3a0ccc0caab63dec7e
wpt-pr: 29510
Automatic update from web-platform-tests
[TransformInterop] Make preserve-3d still be no-op on inlines.
Make transform-style: preserve-3d still be a no-op on non-replaced
inline elements rather than making it force a stacking context and a
containing block.
This matches Gecko's behavior, and I think the intent of the spec change
that this is implementing. The proposal to change the spec to match is
in https://github.com/w3c/csswg-drafts/issues/6430 .
This change also means we can avoid worrying about fixing the DCHECK()
failures triggered by having an additional way of making non-replaced
inlines be a containing block for fixed-positioned elements.
Fixed: 1226287
Change-Id: Ifeb472de072355001d71f37f3e6bf7c71d085154
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3011457
Reviewed-by: Stefan Zager <szager@chromium.org>
Commit-Queue: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/master@{#899617}
--
wpt-commits: 3373bcff73e290f95342a9b71c5a967bf47da582
wpt-pr: 29605
Automatic update from web-platform-tests
Address crash when changing aria-owned parents for a given node
When changing from one aria-owned parent to another, do not first
RestoreParentOrPrune() as we normally would when *removing* aria-owns.
That method usually restores the natural parent, but it can also
remove the child when it's in a subtree that cannot have descendants,
e.g. when AXNodeObject::CanHaveChildren() returns false.
Bug: 1225582
Change-Id: I21d4e0ef2ed195a5a372c076df4357c781012c7b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3002626
Commit-Queue: Daniel Libby <dlibby@microsoft.com>
Auto-Submit: Aaron Leventhal <aleventhal@chromium.org>
Reviewed-by: Daniel Libby <dlibby@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#899228}
--
wpt-commits: 8ee764101e28e3215a29808cb2c490f2be799416
wpt-pr: 29568
Automatic update from web-platform-tests
Credentialless: WPT ServiceWorker proxying responses.
Check what happen when a ServiceWorker proxyies cross-origin opaque
responses toward a COEP:credentialless document.
Two tests:
1. one with a COEP:unsafe-none ServiceWorker,
2. one with a COEP:credentialless ServiceWorker.
What happens is that the response is evaluated against the CORP check
twice, once with client=ServiceWorker, and once with client=Document.
The CORP check requires CORP for responses requested with credentials,
so case 1 is blocked and case 2 not blocked.
Bug: 1175099
Change-Id: Ie3d721616d3d99ad07322f2a550f023af8f6d1c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2992196
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Auto-Submit: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Yifan Luo <lyf@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#899106}
--
wpt-commits: a2c1301b46c624b0a5c6e062b7eec46710f361e3
wpt-pr: 29526
Automatic update from web-platform-tests
[Sanitizer API] Adapt new string API. Also adapt tests.
Implement Sanitizer.sanitizeFor.
Drive-by fix: Ensure secure context.
Both name, exact edge and error conditions for these methods are still
in discussion, so this will likely require follow-on work. But the
basics we're implementing here allow us to experiment, and will also
likely hold.
Ref: https://github.com/WICG/sanitizer-api/pull/99
Bug: 1221153
Change-Id: I9c7f74f71e07f5fc1a172ae8f7f6181178f3c8d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2969103
Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org>
Reviewed-by: Yifan Luo <lyf@chromium.org>
Cr-Commit-Position: refs/heads/master@{#899085}
--
wpt-commits: 7bf0a3380a7a1a553dacde126cce91ba224f66e2
wpt-pr: 29480
Automatic update from web-platform-tests
Expose WritableStreamDefaultController
WritableStreamDefaultController was not exposed on the global object.
This is not compliant with the current version of the standard.
Expose it.
Skipping the Blink intents process as this is a trivial change to
expose an unusable constructor for spec alignment. Sent PSA:
https://groups.google.com/a/chromium.org/g/blink-dev/c/wSXMiDJEsMo/m/jpqH7JjZAgAJ
BUG=626703,1217982
Change-Id: I459c65cd369cdf9266d012a16750bbd05612b5ed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2951849
Commit-Queue: Adam Rice <ricea@chromium.org>
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#899054}
--
wpt-commits: b09c109f7be1f479bfa17b8887f0286bf7653baa
wpt-pr: 29331
Automatic update from web-platform-tests
[mathml] Use Ahem font in mathml/relations/css-styling/display-2.html
That way we ensure that the font is the same in all platforms,
and we just need a generic -expected.txt file.
Change-Id: Ia5751e5de15c007619968f47f7015df49480d049
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3009216
Reviewed-by: Frédéric Wang <fwang@igalia.com>
Commit-Queue: Manuel Rego <rego@igalia.com>
Cr-Commit-Position: refs/heads/master@{#899017}
--
wpt-commits: b96fcd14c19db25a4c132a9d8306dd925237259d
wpt-pr: 29586