Automatic update from web-platform-tests
[css-grid] Clear size override in MinLogicalSizeForChild if needed
Grid items can get an override for their containing block size, which
for example can affect percentage resolution.
However, sometimes we need to clear such overrides, which can be checked
using ShouldClearOverrideContainingBlockContentSizeForChild.
That's already done in LogicalHeightForChild, used by MinContentForChild
and MaxContentForChild.
But when the min track sizing function is 'auto', the code may use
MinLogicalSizeForChild instead of LogicalHeightForChild. And
MinLogicalSizeForChild didn't check if the override had to be cleared.
This patch makes it perform the check.
Bug: 1103592
Change-Id: Ie6012b5099c4988217228352dc552f7437f738d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2299354
Reviewed-by: Javier Fernandez <jfernandez@igalia.com>
Commit-Queue: Oriol Brufau <obrufau@igalia.com>
Cr-Commit-Position: refs/heads/master@{#789122}
--
wpt-commits: a2cd0c973e85b634094d996d3e80ed2e53c8ea1d
wpt-pr: 24626
Automatic update from web-platform-tests
Update interfaces/audio-output.idl and test (#24457)
Closes https://github.com/web-platform-tests/wpt/pull/24456
Co-authored-by: Philip Jägenstedt <philip@foolip.org>
--
wpt-commits: 115dd06bb12d28f1f6c992fa53f8faee3667e7a4
wpt-pr: 24457
Automatic update from web-platform-tests
Fix wpt rev-list failure-handling in epochs_update.sh (#24560)
Previously if this subcommand failed it would be converted to the empty
string, which would then branch and push epochs at HEAD! This PR both
fixes the code to fail if the wpt subcommand fails, and also to
double-check that the SHA isn't empty.
Fixes https://github.com/web-platform-tests/wpt/issues/24504
--
wpt-commits: b448d547b6c82189980ceed1ca120dc50ad23c7e
wpt-pr: 24560
Automatic update from web-platform-tests
Test that AudioContext's state is updated if "allowed to start" (#24611)
For https://github.com/WebAudio/web-audio-api/issues/2218.
--
wpt-commits: 36cff3577cfd29108a14b2f641f3ff21f46902bd
wpt-pr: 24611
Automatic update from web-platform-tests
[wptserve] Allow more headers in Python 3 (#24619)
Monkey patch http.client to support more headers.
Co-authored-by: Stephen McGruer <smcgruer@chromium.org>
--
wpt-commits: d301b89a96da799524a0d8229f7202397952cafb
wpt-pr: 24619
Automatic update from web-platform-tests
[lint] Implement EarlyTestdriverVendor lint (#24608)
testdriver-vendor.js must be included after testdriver.js.
--
wpt-commits: 370f9d815f2481a7b6fd1426cc01e185f86c734a
wpt-pr: 24608
Automatic update from web-platform-tests
[FlexNG] Fix %-relpos for a grandchild of a flexbox.
When we resolve %-based offsets for a relative position child, if its
parent is a flex-item we'll read the constraint-space used to generate
this fragment, and resolve the %-based offset using that block-size. I.e.
https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/layout/layout_box.cc;l=4521;drc=3f50460dcc4c426eb876cd0a1d2838eb35472e18?originalUrl=https:%2F%2Fcs.chromium.org%2F
However flex can have two passes, one without a fixed block-size, and one
with. If we can determine ahead of time that these would result in the
same fragment we'll hit the cache, but the constraint space would
be the one without the fixed block-size.
In other words, if a flex-item remained the same size between the
measure, and layout passes, a relative position grandchild would resolve
its %-based offsets incorrectly.
This patch introduces *some* logic from another patch current WIP:
https://chromium-review.googlesource.com/c/chromium/src/+/2214608
which got reverted for unrelated reasons.
Effectively if we have a %-based grandchild like this, we'll miss the
cache, meaning that when we later read the constraint space fixed
block-size, it'll resolve against the correct size.
Bug: 1106074
Change-Id: I5003e4c0903bda408c45f8fb608ad4106c8f22b0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2302231
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#789058}
--
wpt-commits: 81de986322a0de90f2fe895fcd62fcebf29b0e1a
wpt-pr: 24627
Automatic update from web-platform-tests
[wptserve] Make Request.GET.get return a value (#24614)
instead of a list of values from the built-in get method inherited from
dict
--
wpt-commits: 165779e785cef2b6989ae00ed052f06c38488130
wpt-pr: 24614
Automatic update from web-platform-tests
[css/selectors] Merge css3-modsel-{23,24,68,69}.xml into a single testharness test
They are for :enabled and :disabled.
Testharness is better than a reference test in this case because the rendering
result of form controls with CSS properties are not specified well.
Bug: crbug.com/1040826
Change-Id: Ia348854a9d2795518746757883ca0223f28e8a35
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2299826
Auto-Submit: Kent Tamura <tkent@chromium.org>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#788945}
--
wpt-commits: 765a5cba3fd8477f430cbd8bc3489b474097ee0e
wpt-pr: 24623
Automatic update from web-platform-tests
NEL report for subresource sxg header integrity mismatch
When there is a mismatch between the 'header-integrity' value of
'allowed-alt-sxg' link header of the cached main resource and the header
integrity value of the cached subresource, Chrome will send a NEL report
with "sxg.header_integrity_mismatch" type when navigating to the main
resource if NEL reporting was setup.
Bug: 1025074
Change-Id: I7c0ae0904a211e11b72bae95cfe2274eb9c5550a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2237212
Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#788891}
--
wpt-commits: f6d1d4dccb2735d9c90a5b79fa0dc1e6b0f882b1
wpt-pr: 24555
Automatic update from web-platform-tests
Fix incorrect uses of testdriver.js in WPT
testdriver-vendor.js must be included after testdriver.js.
This CL fixes all the affected tests; there will be a new lint rule to
prevent regressions later.
Bug: 1105751
Change-Id: I793c5d3c65f4cdeeed3f120f6fad063dffaaa406
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2300261
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Reviewed-by: Eric Willigers <ericwilligers@chromium.org>
Auto-Submit: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#788828}
--
wpt-commits: 4cb6be1ace00074aad563c32b019adf096cbb307
wpt-pr: 24609
Automatic update from web-platform-tests
Implement subresource loading with Web Bundles
- Adds WebBundleLoader class which loads a WebBundle resource using
ThreadableLoader, and creates a WebBundleSubresourceLoaderFactory.
- LinkWebBundle is registered in ResourceFetcher, and used to forward
subresource requests that match the corresponding <link>'s resources=
attribute to the WebBundleSubresourceLoaderFactory. This is done via
the SubresourceWebBundle interface.
Bug: 1082020
Change-Id: I3f26bd6b1fbd5855caa5175cdcb3db0fe103a093
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2291809
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Tsuyoshi Horo <horo@chromium.org>
Reviewed-by: Hayato Ito <hayato@chromium.org>
Commit-Queue: Kunihiko Sakamoto <ksakamoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#788842}
--
wpt-commits: 7693fed05a080fcfc4da00907efda3885f20e5e9
wpt-pr: 24584
Automatic update from web-platform-tests
Corrected and improved border-radius-clipping.html test (#23880)
* Corrected and improved border-radius-clipping.html test
* Corrected and improved border-radius-clipping.html test
* Corrected and improved border-radius-clipping.html test
* Numerous improvements to border-radius-clipping* tests
--
wpt-commits: 45884b15aa3c826f10705eebb4ac6cf3245d2a5b
wpt-pr: 23880
Automatic update from web-platform-tests
Add a test for network errors with <embed> and <iframe>
Follows https://github.com/whatwg/html/pull/4247 for <embed> and existing spec text for <iframe>.
--
wpt-commits: 91b0d35770bcb521c540d08002d8d3700666180c
wpt-pr: 24518
Automatic update from web-platform-tests
Split mpadded-002.html first paragraph (#24603)
Due to lack of line-breaking, on narrow pages the first math
element will be positioned below the baseline reference. A lot
of test frameworks use narrow widths for testing and calculations
will fail, therefore split the first math element in half, giving
a higher chance for the test framework to pass this test.
--
wpt-commits: 2155d26033c70ec5789f6c00a9e6c9dae45d5fde
wpt-pr: 24603
Automatic update from web-platform-tests
Add preservesPitch tests
This CL adds Web Platform Tests that check the behavior of the
preservesPitch flag.
The tests rely on WebAudio to analyze the frequency of an Audio element,
as the playback rate changes.
Firefox's mozPreservePitch does not affect MediaElementAudioSourceNode,
which means that these tests won't work on Firefox. See:
https://bugzilla.mozilla.org/show_bug.cgi?id=1648277
Change-Id: Ic25d474f96e32eb8d8584188d879a018daa6ae73
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2259375
Commit-Queue: Thomas Guilbert <tguilbert@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#787947}
--
Deflake preservesPitch tests
This CL changes preservesPitch tests to wait until the audioElement's
currentTime is at least 0.5 seconds before trying to detect the pitch.
Without this check, the test can try to detect the pitch before the
audio has played enough, which can return a dominant frequency of 0Hz
and fail the test.
The CL also makes a few stylistic changes, and fixes an off-by-one error
in the number of increments used to calculate frequencies.
Bug: 1096238
Change-Id: I6e98e172862a47bea1c4026737138293914f7906
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2298281
Auto-Submit: Thomas Guilbert <tguilbert@chromium.org>
Commit-Queue: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#788535}
--
wpt-commits: f96e3094d5ad65792ef0cfe4fae3202c7ad99741, 09fbe278df64f25b6d0fea96ba6a5655ae19f2a6
wpt-pr: 24405
Automatic update from web-platform-tests
Screen Orientation: add requestFullscreen to final orientation-reading.html test (#15618)
--
wpt-commits: 237fce47cec56baeb64392506c0c21c0c9615e18
wpt-pr: 15618
Automatic update from web-platform-tests
Relocate to link relationship to HTML spec (#24447)
--
wpt-commits: a337b1801eda0b39e67581a94467d0111a842c3e
wpt-pr: 24447
Automatic update from web-platform-tests
SELECT: The last selected OPTION should be selected when multiple selected OPTIONs are added by jQuery append().
HTMLOptionElement::SetWasOptionInsertedCalled() had a silly bug.
Bug: 1105672
Change-Id: Ic70572f297969d44bbe8f3d55fe05af796397f19
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2298882
Auto-Submit: Kent Tamura <tkent@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#788486}
--
wpt-commits: 42740f8337817eee7ecec4645ec41373b2735024
wpt-pr: 24595
Automatic update from web-platform-tests
Streams: Update queuing strategies to match standard
Update the IDL for ByteLengthQueuingStrategy and CountQueuingStrategy
to match the standard.
The most noticeable semantic difference is that incorrect calls like
`new CountQueuingStrategy(10)`, which previously silently gave
you the default highWaterMark, will now throw an exception.
Also cache the "size" function on the global object. Add a test that
iframes have a different "size" function, since they have a different
global object.
Change-Id: I9b6763944c0abc278451c28a4fcf615f624e1fdb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2104815
Reviewed-by: Victor Costan <pwnall@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Commit-Queue: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#788474}
--
wpt-commits: 00d2a437cb9f382d734bd9af3c3ecb4c42ca2c79
wpt-pr: 24577
Automatic update from web-platform-tests
Python 3: port tests forms, links & text-level-semantics tests in html/semantics (#24408)
* Apply suggestions from code review
Co-authored-by: Philip Jägenstedt <philip@foolip.org>
Co-authored-by: Robert Ma <robertma@chromium.org>
--
wpt-commits: 1cd6ed009969f11a8feba62d4e81f92c62b4a6f9
wpt-pr: 24408
Automatic update from web-platform-tests
Origin isolation: initial getter updates
This makes window.originIsolationRestricted available in non-secure
contexts, per the latest updates in
https://github.com/whatwg/html/pull/5545. It also updates the tests to
expect the values we would get from that spec. It does *not* update the
web platform tests, or the implementation, for the new name; that's
https://crbug.com/1103866.
Bug: 1095653
Change-Id: I9ac31d36e2744a3a49eb61c6899debbe38180868
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2290782
Commit-Queue: Domenic Denicola <domenic@chromium.org>
Reviewed-by: James MacLean <wjmaclean@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#788297}
--
wpt-commits: d02251699d90d93f792461a2b61baf48a0e786ec
wpt-pr: 24593
Recently we create sync during dmabuf surface import which may fail as GL context may be missing.
In this patch we postpone sync creation until the sync is actually used at DMABufSurface::FenceWait().
Differential Revision: https://phabricator.services.mozilla.com/D84693