Commit Graph

867024 Commits

Author SHA1 Message Date
Liam Brady
1f812d682c Bug 1864536 [wpt PR 43125] - Allow cross-origin subframes to send automatic beacons., a=testonly
Automatic update from web-platform-tests
Allow cross-origin subframes to send automatic beacons.

Fenced frames can send out reporting beacons if an event occurs.
However, only same-origin documents are allowed to send automatic
beacons. This restriction is problematic when a subframe from a
third-party ad server is embedded in an ad loaded with a script from
that server. One such use case is when an ad frame embeds a subframe
that loads the actual contents of an ad. This is known as Third-party ad
serving, or 3PAS.

The solution to allow cross-origin subframes to send automatic beacons
involves four parts: subframes will opt in through a header, the main ad
frame will opt in to allow cross-origin subframes to use its automatic
beacon data when sending automatic beacons, the subframe will then be
able to use the automatic beacon data that is stored in its frame tree's
FencedFrameConfig, and the automatic beacon data will be stored
per-document rather than per-fenced frame config.

The opt-in mechanism for the main ad frame's data is a new
"crossOriginExposed" parameter in
`setReportEventDataForAutomaticBeacons()`, which defaults to false.

The opt-in mechanism for the cross-origin subframe is done through a new
"Allow-Fenced-Frame-Automatic-Beacons" response header.

The reason for storing the beacon data per-document is a security one.
With the current setup, a same-origin subframe of an ad frame could set
automatic beacon data, and a different cross-origin subframe could then
use that data. Since those two frames are not direct descendants of each
other, we want to prevent that behavior, and instead only allow
documents to use opted in data set by direct ancestors.

This CL also modifies the automatic beacon web platform tests to
properly handle multiple beacons being sent with the same data. The
automatic beacon store endpoint now accepts a "beacon type" parameter
that is added to the hash when storing/retrieving a beacon. This will
prevent collisions if two beacons with different types are sent with
the same data.

Change-Id: I4af9d7ef34732dcd56c4f6bcf677f48956f7968c
Bug: 1504306
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5018876
Reviewed-by: Dominic Farolino <dom@chromium.org>
Reviewed-by: Garrett Tanzer <gtanzer@chromium.org>
Commit-Queue: Liam Brady <lbrady@google.com>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Alexander Timin <altimin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1234109}

--

wpt-commits: 458d51295af838f04608bda0dc912aaf88bc1de3
wpt-pr: 43125
2023-12-14 09:31:43 +00:00
Jeremy Roman
f47a6a38d0 Bug 1868444 [wpt PR 43526] - wpt: Update some security-features scripts to run under Python 3., a=testonly
Automatic update from web-platform-tests
wpt: Update some security-features scripts to run under Python 3.

In Python 3, dict.keys() returns an object which doesn't have
a remove() method. Instead, this is converted to a list so that
this kind of manipulation is possible.

basestring no longer exists in Python 3, so str is used instead.
Technically basestring also includes bytes, but as far as I can
tell it's not reasonable for bytes to end up here.

Finally, message is not guaranteed to exist, so the error object
itself is printed instead.

Change-Id: Iad38779f8cfcfe1f464b73e8cbabef923d90f6ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5090427
Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org>
Commit-Queue: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1234071}

--

wpt-commits: 8b2ff8f91555ee3cda84ad9bca665d960c4769e7
wpt-pr: 43526
2023-12-14 09:31:42 +00:00
Kevin Ellis
6f1e02129e Bug 1868460 [wpt PR 43527] - Fix memory leak in mousemove_prevent_default_action., a=testonly
Automatic update from web-platform-tests
Fix memory leak in mousemove_prevent_default_action.

The leak was likely the result of the following:
  1. Promise.race only ensuring that one of the promises got resolved.
  2. test-driver unable to complete the drag 'n drop operation.
     Event sequence stalls at dragenter.

Resolve by cancelling the drag 'n drop operation during drag start.
The purpose of the test is not to ensure the successful completion of
a drag 'n drop operation, but rather to ensure that a preventDefault
on mousemove does not block a drag operation from starting.

Bug: 1508026
Change-Id: I9c94780b478a8a0dbb7cc577d0fb53fd7719ea62
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5089155
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1233999}

--

wpt-commits: 730060196d22566dd233cdbfda9c0c807564ff16
wpt-pr: 43527
2023-12-14 09:31:41 +00:00
Felipe Andrade
2f034bb1d6 Bug 1868572 [wpt PR 43537] - Revert "[css-images-4] Implement unprefixed cross-fade().", a=testonly
Automatic update from web-platform-tests
Revert "[css-images-4] Implement unprefixed cross-fade()."

This reverts commit b15018bba29189526bd341b796f37599a7f319de.

Reason for revert: The CL is likely the cause of crbug.com/1508861.

Original change's description:
> [css-images-4] Implement unprefixed cross-fade().
>
> This is similar to -webkit-cross-fade(), but differs in that it
> has a different syntax, and supports more (or less) than two images.
> It also supports cross-fading against a solid color, which we implement
> internally as a gradient for simplicity. (This may not be optimal for
> memory or performance, but it should do for now.)
>
> We do not implement parts of the spec that are not yet written
> but will be, in particular simplification at computed value time.
>
> The functionality is behind a new runtime flag CSSCrossFade,
> which is set to experimental as usual.
>
> Change-Id: I4d29e14b215a65223b98dcaee8ba99b8f62d94dc
> Bug: 614906
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5055552
> Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
> Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
> Auto-Submit: Steinar H Gunderson <sesse@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1233870}

Bug: 614906
Change-Id: I77cfd8e9d833a5d000589068e4f1397c3afaad06
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5094054
Owners-Override: Felipe Andrade <fsandrade@chromium.org>
Auto-Submit: Felipe Andrade <fsandrade@chromium.org>
Commit-Queue: Felipe Andrade <fsandrade@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1233911}

--

wpt-commits: 99b9bc1e616081ad91397f7168d2f17e9992db93
wpt-pr: 43537
2023-12-14 09:31:40 +00:00
moz-wptsync-bot
4eab50828f Bug 1867296 [wpt PR 43417] - Update wpt metadata, a=testonly
wpt-pr: 43417
wpt-type: metadata
2023-12-14 09:31:39 +00:00
Steinar H. Gunderson
bf31c8b042 Bug 1867296 [wpt PR 43417] - [css-images-4] Implement unprefixed cross-fade()., a=testonly
Automatic update from web-platform-tests
[css-images-4] Implement unprefixed cross-fade().

This is similar to -webkit-cross-fade(), but differs in that it
has a different syntax, and supports more (or less) than two images.
It also supports cross-fading against a solid color, which we implement
internally as a gradient for simplicity. (This may not be optimal for
memory or performance, but it should do for now.)

We do not implement parts of the spec that are not yet written
but will be, in particular simplification at computed value time.

The functionality is behind a new runtime flag CSSCrossFade,
which is set to experimental as usual.

Change-Id: I4d29e14b215a65223b98dcaee8ba99b8f62d94dc
Bug: 614906
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5055552
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Auto-Submit: Steinar H Gunderson <sesse@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1233870}

--

wpt-commits: 2f00e95d38dbb8969039840432c5fb42f3c23255
wpt-pr: 43417
2023-12-14 09:31:39 +00:00
murakinonoka
e3a5e5af1e Bug 1867238 [wpt PR 43412] - Unload: reject promise on pagehide instead of unload, a=testonly
Automatic update from web-platform-tests
Unload: reject promise on pagehide instead of unload

This test fails in Chrome because it depends on the promise triggered
by unload event. This CL changes it to pagehide handler so it would be
triggered as expected even after unload is deprecated in Chrome.
In other browsers, pagehide is also triggered for the case that is
tested by the test (detecting navigation), and is more reliable than
unload.

Bug: 1488371
Change-Id: If44b78e5ff89b1d5ba8901be48cb9ad118a67650
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5070653
Reviewed-by: Rakina Zata Amni <rakina@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Nonoka Muraki <murakinonoka@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1233805}

--

wpt-commits: 746807e7a50fda7a427489a9c8f81552edd6c0c7
wpt-pr: 43412
2023-12-14 09:31:38 +00:00
Adithya Srinivasan
2bda1e0c1c Bug 1868481 [wpt PR 43528] - Speculation Rules: Drive-by test fixes, a=testonly
Automatic update from web-platform-tests
Speculation Rules: Drive-by test fixes

Noticed a couple of things that needed fixing while working on another
CL.

Change-Id: I45bab97ce74a3119064a9133c0450be62d29dadc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5090807
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Commit-Queue: Adithya Srinivasan <adithyas@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1233630}

--

wpt-commits: 82dbabc409af6754fe71aa14b3d7331b04374bef
wpt-pr: 43528
2023-12-14 09:31:37 +00:00
moz-wptsync-bot
2a5fe7d676 Bug 1868269 [wpt PR 43510] - Update wpt metadata, a=testonly
wpt-pr: 43510
wpt-type: metadata
2023-12-14 09:31:37 +00:00
Caleb Raitto
fadf47ceb6 Bug 1868269 [wpt PR 43510] - Add WPT for new LIFO directFromSellerSignals behavior, a=testonly
Automatic update from web-platform-tests
Add WPT for new LIFO directFromSellerSignals behavior

Bug: 1462720
Change-Id: If824ee9883ba37d1b7211cc37f43b808b7acae18
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5041459
Reviewed-by: Matt Menke <mmenke@chromium.org>
Commit-Queue: Caleb Raitto <caraitto@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1233625}

--

wpt-commits: 8ce9d919b310e6f22e37680e9a4322c918589343
wpt-pr: 43510
2023-12-14 09:31:36 +00:00
moz-wptsync-bot
2b793c1dda Bug 1868426 [wpt PR 43523] - Update wpt metadata, a=testonly
wpt-pr: 43523
wpt-type: metadata
2023-12-14 09:31:35 +00:00
Noam Rosenthal
db75b76896 Bug 1868426 [wpt PR 43523] - LoAF: Separate iframe tests to 3 files, a=testonly
Automatic update from web-platform-tests
LoAF: Separate iframe tests to 3 files

This should avoid some timeouts

Bug: 1462683
Change-Id: Ic237cd58f88ae493818fd126795023ba3168e904
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5089347
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1233541}

--

wpt-commits: fbcb310c63322196e258f4eb2cca9c3eedc9b9f2
wpt-pr: 43523
2023-12-14 09:31:34 +00:00
moz-wptsync-bot
d99d44a1d0 Bug 1868414 [wpt PR 43520] - Update wpt metadata, a=testonly
wpt-pr: 43520
wpt-type: metadata
2023-12-14 09:31:33 +00:00
moz-wptsync-bot
6d22c3a963 Bug 1868414 [wpt PR 43520] - IndexedDB: fix structured-clone.any.html, a=testonly
Automatic update from web-platform-tests
IndexedDB: fix structured-clone.any.html

There was a race between setting up the transaction event watcher and
the transaction auto-committing.

Unfortunately I don't see a great way to make this testing pattern more
full-proof, e.g. by checking whether the transaction is already finished
at the time of setting up the observer, since there's no way to check
the transaction's current state.

This is a good example of the pain of mixing IDB's unique flavor of
async with promises.

Bug: 1506270
Change-Id: I9cd630f9e2732532471c04841d4fbf8ddd722d66
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5086039
Commit-Queue: Evan Stade <estade@chromium.org>
Reviewed-by: Nathan Memmott <memmott@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1233503}

--

wpt-commits: c0fdc0225d2294c8a5002f5684f00012609eb9ae
wpt-pr: 43520
2023-12-14 09:31:33 +00:00
Blink WPT Bot
dcb948938d Bug 1868203 [wpt PR 43502] - [soft-navigations] Fix crash when user interaction precedes softnav, a=testonly
Automatic update from web-platform-tests
[soft-navigations] Fix crash when user interaction precedes softnav (#43502)

[1] ended up causing crashes in cases a non-soft-navigation user
interaction precedes a soft navigation.

This CL fixes that by:
* Making sure we're not emitting soft nav entries before their time was
set.
* Emitting softnavs when the time is set, if all conditions were met
before then.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/5071732

Bug: 1507750
Change-Id: I9e26cebfcab2313b425261004a0e1eeaa8517842
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5079439
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1232691}

Co-authored-by: Yoav Weiss <yoavweiss@chromium.org>
--

wpt-commits: 565993e57b6cceae7f3a2ae7954929d9ab76b809
wpt-pr: 43502
2023-12-14 09:31:32 +00:00
moz-wptsync-bot
82a0c4882c Bug 1867317 [wpt PR 43420] - Update wpt metadata, a=testonly
wpt-pr: 43420
wpt-type: metadata
2023-12-14 09:31:31 +00:00
Dominic Farolino
dc8c1839ed Bug 1867317 [wpt PR 43420] - DOM: Observable subscription uses Callback or Dictionary union, a=testonly
Automatic update from web-platform-tests
DOM: Observable subscription uses Callback or Dictionary union

This CL addresses https://github.com/WICG/observable/issues/71, which
calls for an ergonomic design improvement whereby you can subscribe with
either a full-fledged `Observer` dictionary, or just a single callback
which is used as the subscription's next handler.

Subscribing with a single callback is identical to subscribing with an
`Observer` dictionary whose `next` handler is provided and nothing else.

R=masonf@chromium.org

Bug: 1485981
Change-Id: I5781a6cf404d97ac2de2bc88a303bcd522f63ec5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5071992
Commit-Queue: Dominic Farolino <dom@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1233432}

--

wpt-commits: f5ebc4aeab4da3039eb2b169342783747acb4e7d
wpt-pr: 43420
2023-12-14 09:31:30 +00:00
moz-wptsync-bot
af21778aa3 Bug 1868255 [wpt PR 43506] - Update wpt metadata, a=testonly
wpt-pr: 43506
wpt-type: metadata
2023-12-14 09:31:30 +00:00
Steve Kobes
f4ed2c19f8 Bug 1868255 [wpt PR 43506] - Mark two test cases from changing-scroll-snap-align.html as tentative., a=testonly
Automatic update from web-platform-tests
Mark two test cases from changing-scroll-snap-align.html as tentative.

These were added for nested snap work on crbug.com/1467300, but the
behavior is subject to an open spec issue as discussed at:

https://github.com/web-platform-tests/interop/issues/602

Bug: 1505893
Change-Id: Iaf9783f7220acc5eeb19387e57f6ec3f88bc19e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5085089
Reviewed-by: David Awogbemila <awogbemila@chromium.org>
Commit-Queue: Steve Kobes <skobes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1233355}

--

wpt-commits: 7db499bf01c922eacee27edeb21db75356ee8178
wpt-pr: 43506
2023-12-14 09:31:29 +00:00
Daniil Sakhapov
36466e4d90 Bug 1868321 [wpt PR 43513] - Change parentheses for css math functions serialization test, a=testonly
Automatic update from web-platform-tests
Change parentheses for css math functions serialization test

Add parentheses around multiplication operation as per spec:
https://drafts.csswg.org/css-values/#serialize-a-calculation-tree
we should add parentheses around the product node.

Github discussion:
https://github.com/web-platform-tests/wpt/pull/43364

Change-Id: I7879bfc2cc62af63dd7598d380e10e96426ff5dd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5087987
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Daniil Sakhapov <sakhapov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1233345}

--

wpt-commits: 27ed8f45421a9329cb918aa82c3c22f634925061
wpt-pr: 43513
2023-12-14 09:31:28 +00:00
moz-wptsync-bot
ef28747084 Bug 1864852 [wpt PR 43173] - Update wpt metadata, a=testonly
wpt-pr: 43173
wpt-type: metadata
2023-12-14 09:31:27 +00:00
Dominique Hazael-Massieux
7bcbddacc0 Bug 1864852 [wpt PR 43173] - Integrate RTCRtpEncodingParameters maxFramerate test into main webrtc…, a=testonly
Automatic update from web-platform-tests
Integrate RTCRtpEncodingParameters maxFramerate test into main webrtc folder (#43173)

per https://github.com/w3c/webrtc-pc/pull/2785
--

wpt-commits: 37e24fab108ec20ee6091f05266875026609f393
wpt-pr: 43173
2023-12-14 09:31:27 +00:00
Dominique Hazael-Massieux
0684b4cc11 Bug 1864845 [wpt PR 43171] - Add test for w3c/webrtc-pc#2687, a=testonly
Automatic update from web-platform-tests
Add test for w3c/webrtc-pc#2687 (#43171)

* Add test for w3c/webrtc-pc#2687

Check that a new data channel to an unbundling endpoint makes the caller connectionState go through 'connecting'

* Fix lint
--

wpt-commits: ade2b4b05020a2a1d4c0504f343571fb86d12668
wpt-pr: 43171
2023-12-14 09:31:26 +00:00
moz-wptsync-bot
e20719a33f Bug 1868353 [wpt PR 43514] - Update wpt metadata, a=testonly
wpt-pr: 43514
wpt-type: metadata
2023-12-14 09:31:25 +00:00
Julian Descottes
0674fcc3e7 Bug 1868353 [wpt PR 43514] - [wdspec] Introduce shared constants for bidi network tests, a=testonly
Automatic update from web-platform-tests
Introduce shared constants for webdriver bidi network tests

--

wpt-commits: 2754e5b27ee210995c4727134b0053c875a525fb
wpt-pr: 43514
2023-12-14 09:31:24 +00:00
Fredrik Söderquist
33eee74da1 Bug 1868360 [wpt PR 43516] - Fix application of positioning area offset in BackgroundImageGeometry, a=testonly
Automatic update from web-platform-tests
Fix application of positioning area offset in BackgroundImageGeometry

The offset was applied before converting from edge-relative form to
absolute form.

Fixed: 1507850
Change-Id: Ia4f0f3143dc70b3e090e5f61ae518d0d88aff754
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5077504
Commit-Queue: Fredrik Söderquist <fs@opera.com>
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1233313}

--

wpt-commits: 83691d9659c5da00b729bdea4943001c5adee81f
wpt-pr: 43516
2023-12-14 09:31:23 +00:00
moz-wptsync-bot
b7bd15a397 Bug 1868044 [wpt PR 43489] - Update wpt metadata, a=testonly
wpt-pr: 43489
wpt-type: metadata
2023-12-14 09:31:23 +00:00
Gérard Talbot
6d85816061 Bug 1868044 [wpt PR 43489] - Fixing 8 background-origin/origin-* references (viewport width related), a=testonly
Automatic update from web-platform-tests
Fixing 8 background-origin/origin-* reference files (viewport width related) (#43489)

--

wpt-commits: 8cbd7af1438ea92dc13a4be469160c167ba21b4e
wpt-pr: 43489
2023-12-14 09:31:22 +00:00
Matt Menke
229ec072cd Bug 1867560 [wpt PR 43456] - [FLEDGE]: Add allSlotsRequestedSizes to AuctionConfig., a=testonly
Automatic update from web-platform-tests
[FLEDGE]: Add allSlotsRequestedSizes to AuctionConfig.

This new optional field will be sent to InterestGroups that request it
when requesting trustedBiddingSignals.

This CL adds some WPT tests for requestedSize and
allSlotsRequestedSizes in the parse failure case, but no tests for
the successful parse case.  I'll add those once the feature does
something.

This also introduces a new feature to enable/disable the new
argument.

Bug: 1506238
Change-Id: I9c7706c69f8bbfafd52fcefadc390c70174a762f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5073440
Reviewed-by: Brendon Tiszka <tiszka@chromium.org>
Reviewed-by: Mike Taylor <miketaylr@chromium.org>
Commit-Queue: Matt Menke <mmenke@chromium.org>
Reviewed-by: Russ Hamilton <behamilton@google.com>
Cr-Commit-Position: refs/heads/main@{#1233000}

--

wpt-commits: 02e3e674eb4b8003b4458e8877e862bf910a9395
wpt-pr: 43456
2023-12-14 09:31:21 +00:00
Scott Haseley
16977c058d Bug 1867900 [wpt PR 43487] - [navigation API] Fix flaky scroll restoration test, a=testonly
Automatic update from web-platform-tests
[navigation API] Fix flaky scroll restoration test

after-transition-intercept-handler-modifies.html sometimes fails
because the scroll restoration is being overridden if the layout
changes from the previous same document navigation have not yet been
applied. This becomes more consistent when same document navigation IPCs
are prioritized (see crrev.com/c/4981177).

This CL changes the test to ensure rendering happens between the forward
and back navigations, which in turn ensures the new layout and scroll
position were updated before navigating back.

Bug: 1042118
Change-Id: Ia6a3768f8780f9ddaff80f7fd877ddca5c6184b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5080962
Commit-Queue: Scott Haseley <shaseley@chromium.org>
Reviewed-by: Nate Chapin <japhet@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1232997}

--

wpt-commits: ff2032f656cec2aa3904e6270925f3fd1306371a
wpt-pr: 43487
2023-12-14 09:31:20 +00:00
moz-wptsync-bot
1ed09a29a2 Bug 1867757 [wpt PR 43470] - Update wpt metadata, a=testonly
wpt-pr: 43470
wpt-type: metadata
2023-12-14 09:31:20 +00:00
Noam Rosenthal
001c115733 Bug 1867757 [wpt PR 43470] - LoAF: remove desired{Execution|Render}Start, a=testonly
Automatic update from web-platform-tests
LoAF: remove desired{Execution|Render}Start

Feedback from the OT was that this attribute is a bit advanced and not
actionable, so removing in favor of keeping the shipped API more nimble.

Bug: 1507960
Change-Id: Ida2fd8b0defbcd1bdb3a12e2ed9b0c5be15ab243
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5078588
Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org>
Reviewed-by: Scott Haseley <shaseley@chromium.org>
Reviewed-by: Michal Mocny <mmocny@chromium.org>
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1232876}

--

wpt-commits: b88b515ae656e4d1e5fad72ef2ab196984f515cb
wpt-pr: 43470
2023-12-14 09:31:19 +00:00
moz-wptsync-bot
aee606f3b8 Bug 1867528 [wpt PR 43451] - Update wpt metadata, a=testonly
wpt-pr: 43451
wpt-type: metadata
2023-12-14 09:31:18 +00:00
Yoav Weiss
539b9f6da6 Bug 1867528 [wpt PR 43451] - [soft navigations] Ignore non-attributed LCP before softnav detection, a=testonly
Automatic update from web-platform-tests
[soft navigations] Ignore non-attributed LCP before softnav detection

This CL ignores LCPs that are not attributed to the soft navigation
task after a user interaction and before a soft navigation was
detected, as discussed in [1].

It also fixes a bug in soft navigation detection in the case where all
paints arrive before the URL was changed. Currently in such cases, a
soft navigation entry is not emitted. This CL fixes that.

[1] https://github.com/WICG/soft-navigations/issues/29#issuecomment-1831386977

Bug: 1505994
Change-Id: I444ff03c0b64663b913b4e73a7c820b7bab11047
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5071732
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Reviewed-by: Michal Mocny <mmocny@chromium.org>
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1232451}

--

wpt-commits: 143e58acd4ca2f1164359fbb63c7772007ce251c
wpt-pr: 43451
2023-12-14 09:31:17 +00:00
moz-wptsync-bot
8c7e1db27b Bug 1867354 [wpt PR 43427] - Update wpt metadata, a=testonly
wpt-pr: 43427
wpt-type: metadata
2023-12-14 09:31:16 +00:00
Evan Stade
31eb11d9cc Bug 1867354 [wpt PR 43427] - Storage buckets: move internal WPT to external WPT, a=testonly
Automatic update from web-platform-tests
Storage buckets: move internal WPT to external WPT

Bug: 1099413
Change-Id: Ib88c79c1b22f7f1cceffc709fbd525910f1c8870
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5072535
Commit-Queue: Evan Stade <estade@chromium.org>
Reviewed-by: Ayu Ishii <ayui@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1232791}

--

wpt-commits: dd377f7d26fb9d43a5142f84a3b0a99ae96af309
wpt-pr: 43427
2023-12-14 09:31:16 +00:00
Ryo Ogawa
be08e82b8f Bug 1860379 [wpt PR 42675] - Fix handling invalid date for Expires header value "0" as expired, a=testonly
Automatic update from web-platform-tests
Fix handling invalid date for Expires header value "0" as expired

This CL changes handling the invalid Expires header value "0" as a time in the
past and stale, as described in section 5.3 [1] of RFC 9111.

> A cache recipient MUST interpret invalid date formats, especially the value
> "0", as representing a time in the past (i.e., "already expired").

[1] https://www.rfc-editor.org/rfc/rfc9111.html#section-5.3

Bug: 853508
Change-Id: I853b2972c4420936fda8373e292d2d90fdb7988a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4021895
Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
Reviewed-by: Hayato Ito <hayato@chromium.org>
Commit-Queue: Adam Rice <ricea@chromium.org>
Reviewed-by: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1232768}

--

wpt-commits: e8d57f52b64b733a0927503ed31b8e4e9c7100a7
wpt-pr: 42675
2023-12-14 09:31:15 +00:00
Antonio Sartori
ffdcab51eb Bug 1868085 [wpt PR 43496] - [WPT] [CSP] Rewrite flaky inline-style-blocked, a=testonly
Automatic update from web-platform-tests
[WPT] [CSP] Rewrite flaky inline-style-blocked

The test was depending on the order in which the
securitypolicyviolation was being received, and was clearly flaky.
This CL rewrites the test completely.

Bug: 1370215
Change-Id: I829c97a885eefa0cc7a49f0952ea6779e1281a6c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5079209
Reviewed-by: Jonathan Hao <phao@chromium.org>
Auto-Submit: Antonio Sartori <antoniosartori@chromium.org>
Commit-Queue: Jonathan Hao <phao@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1232715}

--

wpt-commits: a83bf9a725f275854b37d31dc1708d08c5dd5670
wpt-pr: 43496
2023-12-14 09:31:14 +00:00
Romain Menke
4fd6493038 Bug 1867520 [wpt PR 43450] - css-color : modern rgb supports mixed component types, a=testonly
Automatic update from web-platform-tests
css-color : modern rgb supports mixed units (#43450)

--

wpt-commits: 21d329d43f75adef5fdf052dcd4bfaad40e8bc85
wpt-pr: 43450
2023-12-14 09:31:13 +00:00
Arnaud Mandy
bdb1f589f1 Bug 1867660 [wpt PR 43459] - compute-pressure: Ensure clean test exit, a=testonly
Automatic update from web-platform-tests
compute-pressure: Ensure clean test exit

It can happen on certain bots that the pressure updates are still sent
before disconnect() is processed in the mockPressureService, which can
lead in certain cases to receive more updates than allowed in the test.

This patch adds a `gotPenalty` flag, to make sure that at least one
penalty was applied when reaching the maximum allowed updates.

Change-Id: I535b8c21370d14f13f0d6140d1eb2cc043cbeac2
Bug: 1501324
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5076963
Reviewed-by: Fr <beaufort.francois@gmail.com>
Commit-Queue: Arnaud Mandy <arnaud.mandy@intel.com>
Reviewed-by: Raphael Kubo Da Costa <raphael.kubo.da.costa@intel.com>
Cr-Commit-Position: refs/heads/main@{#1232652}

--

wpt-commits: da0a56526aa23f752fc0186b8cf22fa9f05e2fc8
wpt-pr: 43459
2023-12-14 09:31:12 +00:00
moz-wptsync-bot
29ce1e6e8b Bug 1868112 [wpt PR 43497] - Update wpt metadata, a=testonly
wpt-pr: 43497
wpt-type: metadata
2023-12-14 09:31:11 +00:00
Antti Koivisto
b13e619ab0 Bug 1868112 [wpt PR 43497] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=265160, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=265160 (#43497)

--

wpt-commits: 3c7b862cc35c5517455771395f8d6e3c727243e6
wpt-pr: 43497
2023-12-14 09:31:11 +00:00
moz-wptsync-bot
ab6a25935b Bug 1867081 [wpt PR 43391] - Update wpt metadata, a=testonly
wpt-pr: 43391
wpt-type: metadata
2023-12-14 09:31:10 +00:00
Daniil Sakhapov
801babee51 Bug 1867081 [wpt PR 43391] - Fix progress function calculation, a=testonly
Automatic update from web-platform-tests
Fix progress function calculation

We can simplify the progress function when either all the operands
resolve to the same canonical unit or all the operands have the same type.
Currently `progress(10em from 10em to 100em)` crashes as we try to compute the canonical value in either case of simplification.

This CL changes this behavior to distinguish which simplification path
to use, so that in the mentioned progress() example we just take the
double values when all the operands are of the same type.

Bug: 1503730
Change-Id: I361477ba2a03fd6063861d1d1a82d4b77fa77f2f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5067615
Commit-Queue: Daniil Sakhapov <sakhapov@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1232633}

--

wpt-commits: 94c20e8f17b32ff2adfefd87a1fea07189456be8
wpt-pr: 43391
2023-12-14 09:31:09 +00:00
moz-wptsync-bot
6c8f43e9d5 Bug 1867802 [wpt PR 43474] - Update wpt metadata, a=testonly
wpt-pr: 43474
wpt-type: metadata
2023-12-14 09:31:08 +00:00
Morten Stenshorne
be6f58601d Bug 1867802 [wpt PR 43474] - Never break at a resumed parallel block flow inline node., a=testonly
Automatic update from web-platform-tests
Never break at a resumed parallel block flow inline node.

What I did in CL:5063008 caused trouble, because incoming child break
tokens could be re-propagated twice; once in BoxFragmentBuilder::
AddBreakBeforeChild(), and then again when walking through the
unprocessed incoming inline break tokens in BlockLayoutAlgorithm::
Layout().

Revert the code changes from that CL, and replace it with something
better (and simpler): Never consider breaking before a resumed inline
node in a parallel block flow. This is similar to how we already handle
interleaved block formatting context roots. They may also be interrupted
by floats that got pushed from an earlier fragmentainer, and thus not be
able to resume and place anything in one fragmentainer, and try again in
the next. See e.g. web_tests/external/wpt/css/css-break/float-005.html

Bug: 1506393
Change-Id: If580b5a5f33a8b4ddf86677f79d1a9f06819bc51
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5077847
Auto-Submit: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1232515}

--

wpt-commits: cce26e3757dcfd21629f3334072ce9c1292c4d9f
wpt-pr: 43474
2023-12-14 09:31:07 +00:00
moz-wptsync-bot
9e168c9c1c Bug 1867865 [wpt PR 43484] - Update wpt metadata, a=testonly
wpt-pr: 43484
wpt-type: metadata
2023-12-14 09:31:06 +00:00
Luke Warlow
8beab66bda Bug 1867865 [wpt PR 43484] - Fix invoker light dismiss handling for popover, a=testonly
Automatic update from web-platform-tests
Fix invoker light dismiss handling for popover

Update NearestTargetPopoverForInvoker method to account for both
invokertarget and popovertarget.

Bug: 1494737
Change-Id: Icb9cc4d821ccb1c45a9b61890972ede7b38ddec8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5079904
Reviewed-by: Mason Freed <masonf@chromium.org>
Commit-Queue: Luke <lukewarlow156@gmail.com>
Cr-Commit-Position: refs/heads/main@{#1232496}

--

wpt-commits: b75d9d7ecb45e64cb031e07b0b4989a3e910385d
wpt-pr: 43484
2023-12-14 09:31:05 +00:00
Jonathan Lee
5dc66db692 Bug 1864749 [wpt PR 43155] - [wptrunner] Display reruns starting from 1/N to N/N, a=testonly
Automatic update from web-platform-tests
[wptrunner] Display reruns starting from `1/N` to `N/N` (#43155)

Instead of `0/N` to `(N-1)/N`, which looks incomplete.
--

wpt-commits: dd47ca67f55ac9df45235b2335200fb885dd1357
wpt-pr: 43155
2023-12-14 09:31:04 +00:00
Philip Jägenstedt
1f800920fc Bug 1867210 [wpt PR 43408] - Rename html-aam/META.yaml to META.yml, a=testonly
Automatic update from web-platform-tests
Rename html-aam/META.yaml to META.yml (#43408)

--

wpt-commits: 1437f21337124ed9292d832a12e03dd969690c4a
wpt-pr: 43408
2023-12-14 09:31:03 +00:00