Commit Graph

910864 Commits

Author SHA1 Message Date
Christian Biesinger
cfc61fe5b1 Bug 1888043 [wpt PR 45347] - [FedCM] Don't use fedcm_get_and_select_first_account, a=testonly
Automatic update from web-platform-tests
[FedCM] Don't use fedcm_get_and_select_first_account

We are expecting a mismatch dialog here, so selecting an account
is not necessary.

R=npm@chromium.org

Change-Id: Ieaf670e204544e866ce3c51cba0d0bbad1b6693f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5397957
Commit-Queue: Nicolás Peña <npm@chromium.org>
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1278527}

--

wpt-commits: 6f346b0df5fc952747841fd76d11b3c4d24e5c8d
wpt-pr: 45347
2024-03-28 14:10:25 +00:00
Vladimir Levin
d7205b6d3d Bug 1888042 [wpt PR 45336] - ViewTransitions: Update WICG links to CSSWG drafts, a=testonly
Automatic update from web-platform-tests
ViewTransitions: Update WICG links to CSSWG drafts

R=khushalsagar@chromium.org, bokan@chromium.org

Change-Id: Ia287188844b885ace1c3a4544fc2e1f0b6b32fc9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5394194
Reviewed-by: Rakina Zata Amni <rakina@chromium.org>
Auto-Submit: Vladimir Levin <vmpstr@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Commit-Queue: Vladimir Levin <vmpstr@chromium.org>
Reviewed-by: Joe Mason <joenotcharles@google.com>
Cr-Commit-Position: refs/heads/main@{#1278480}

--

wpt-commits: 8c53b2ec0e6ff7171a601c1259b19577b246ec38
wpt-pr: 45336
2024-03-28 14:10:24 +00:00
Phillis Tang
167d994270 Bug 1888041 [wpt PR 45321] - webnn: fix coreml handling for large constant, a=testonly
Automatic update from web-platform-tests
webnn: fix coreml handling for large constant

Also add regression test in wpt for this case. It only verifies the
first 1000 result for now to ensure the speediness.

Change-Id: Ia72066103e240768cf96dacb39e65b1527320091
Bug: 331248175
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5394249
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Phillis Tang <phillis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1278459}

--

wpt-commits: 469d2d65c6861fdd7bf13d3321ba5d73ac0b8cf8
wpt-pr: 45321
2024-03-28 14:10:24 +00:00
moz-wptsync-bot
8098e29b9a Bug 1886547 [wpt PR 45223] - Update wpt metadata, a=testonly
wpt-pr: 45223
wpt-type: metadata
2024-03-28 14:10:23 +00:00
Joey Arhar
5c02e740e8 Bug 1886547 [wpt PR 45223] - Support default button in appearance:bikeshed <select>, a=testonly
Automatic update from web-platform-tests
Support default button in appearance:bikeshed <select>

This patch makes <select> with appearance:bikeshed work when the author
does not provide a child <button> element to slot in.

A fallback <button> is added in the UA shadowroot's button slot which
will get rendered and have all the behaviors added to it.

Bug: 1511354, 330534051, 330540965
Change-Id: I0c3c744fd2704b48ac62c533f3c78cf7a3ed4e55
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5354708
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Reviewed-by: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1278442}

--

wpt-commits: 9e2a8ff39e445b2dbf5d7337b0bc15e3c5603a3e
wpt-pr: 45223
2024-03-28 14:10:22 +00:00
Raphael Kubo da Costa
3af6c14ba3 Bug 1888039 [wpt PR 45345] - Partially fix payment-extension-allowed-by-permissions-policy-attribute.https.sub.html, a=testonly
Automatic update from web-platform-tests
Partially fix payment-extension-allowed-by-permissions-policy-attribute.https.sub.html

This test has been broken for a while, but the history is unclear. Its
TestExpectations entry was added in https://crrev.com/c/4197306 but it
is unclear what made the test start failing in the first place. Since
then, it seems to have deteriorated further.

- Adjust the code in the iframe the test communicates with; it was
  sending the right data with the wrong key.
  test_feature_availability_with_post_message_result() confusingly
  expects messages in the "name" property, and any error message
  explanations in the "message" property.
- Make the first test in the file pass again by updating the error
  permissions policy error message it expects to receive.
- Remove the TestExpectations entry and add an -expected.txt file with a
  specific failure that makes it easier to keep track of in case
  anything changes again in the future.

Bug: 331237019
Change-Id: I5a91c380961ea48f4585a5da93f034fc7fda10d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5393366
Auto-Submit: Raphael Kubo Da Costa <raphael.kubo.da.costa@intel.com>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Raphael Kubo Da Costa <raphael.kubo.da.costa@intel.com>
Cr-Commit-Position: refs/heads/main@{#1278410}

--

wpt-commits: 1824eeff79b6aa5f7d6f15a08b825881a69e9bf6
wpt-pr: 45345
2024-03-28 14:10:21 +00:00
Philip Jägenstedt
86f5f3e7be Bug 1888038 [wpt PR 45355] - Map tests for :focus-visible, a=testonly
Automatic update from web-platform-tests
Map tests for :focus-visible (#45355)

--

wpt-commits: 8040ff673d98b6043e4cdf69120f228a8b1469bb
wpt-pr: 45355
2024-03-28 14:10:20 +00:00
moz-wptsync-bot
04554e1e75 Bug 1886797 [wpt PR 45255] - Update wpt metadata, a=testonly
wpt-pr: 45255
wpt-type: metadata
2024-03-28 14:10:19 +00:00
Liam Brady
b05513a5be Bug 1886797 [wpt PR 45255] - Fenced frame: fix CSP tests and CSP check in can load API., a=testonly
Automatic update from web-platform-tests
Fenced frame: fix CSP tests and CSP check in can load API.

The navigator.canLoadAdAuctionFencedFrame() API currently doesn't
properly handle the case when calling it in a document whose content
security policy is "fenced-frame-src: https:". This is because the API
isn't explicitly checking for that specific case. This CL modifies the
function to match the checks in `CheckCSPSource()` in `csp_source.cc`.

This would've been caught by the CSP WPTs, but those have a bug that
makes them ineffective in catching corner cases. When adding a CSP with
the <meta> tag, that is a strictly additive operation, and removing the
tag will have no effect on the document's CSP. Since the same page is
re-used through all the promise_tests in the file, each subsequent test
will load with all of the CSPs set in the prior tests. This CL fixes
that by having each test create a subframe that gets the CSP, and
running the test in that subframe.

This CL also refactors canLoadAdAuctionFencedFrame() to move the CSP
related checks into a helper function in the renderer's
ContentSecurityPolicy class.

Change-Id: Iea3238cc2b515976468f957ae808277df8c5adc9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5378803
Reviewed-by: Caleb Raitto <caraitto@chromium.org>
Reviewed-by: Garrett Tanzer <gtanzer@chromium.org>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Commit-Queue: Liam Brady <lbrady@google.com>
Cr-Commit-Position: refs/heads/main@{#1278373}

--

wpt-commits: 698f2bfc6b662ff594c84f6a6beb9944125581b0
wpt-pr: 45255
2024-03-28 14:10:18 +00:00
sj0602
ce11f5f25f Bug 1888036 [wpt PR 45326] - Add ChromeiOS version support, a=testonly
Automatic update from web-platform-tests
Add ChromeiOS version support (#45326)

* Add ChromeiOS version support

* fix

* fix

* fix
--

wpt-commits: b847b1030f779d681c955f397a6e36bf6808cd41
wpt-pr: 45326
2024-03-28 14:10:18 +00:00
Philip Jägenstedt
3992a037ce Bug 1888035 [wpt PR 45349] - Map tests for AbortController and AbortSignal, a=testonly
Automatic update from web-platform-tests
Map tests for AbortController and AbortSignal (#45349)

--

wpt-commits: 37583a6362ef16b8b186d577d9d1f3dd85682062
wpt-pr: 45349
2024-03-28 14:10:17 +00:00
moz-wptsync-bot
f743a3a212 Bug 1886054 [wpt PR 45185] - Update wpt metadata, a=testonly
wpt-pr: 45185
wpt-type: metadata
2024-03-28 14:10:16 +00:00
Luke Warlow
056b3c2672 Bug 1886054 [wpt PR 45185] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=263513, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=263513 (#45185)

--

wpt-commits: 8493a5fe8be2d8039c1bd42f8a75dc2510b52bad
wpt-pr: 45185
2024-03-28 14:10:15 +00:00
moz-wptsync-bot
56d6857c7b Bug 1888017 [wpt PR 45343] - Update wpt metadata, a=testonly
wpt-pr: 45343
wpt-type: metadata
2024-03-28 14:10:15 +00:00
Fahad Mansoor
4df3c15c7b Bug 1888017 [wpt PR 45343] - Revert "webnn: Migrate gemm validation tests to WPTs", a=testonly
Automatic update from web-platform-tests
Revert "webnn: Migrate gemm validation tests to WPTs"

This reverts commit a303575cfa0453d68d30ca945fa0c4341272c75a.

Reason for revert: Speculative revert to fix WebKit Win10 builders
sample failure:
https://ci.chromium.org/ui/p/chromium/builders/ci/WebKit%20Win10/131326/overview

Original change's description:
> webnn: Migrate gemm validation tests to WPTs
>
> This CL adds WPT tests for gemm and removes the unit tests `MLGraphBuilderTest.GemmTest` and `MLGraphTestMojo.GemmTest`.
>
> Bug: 327337526, 328026885
> Change-Id: If7d11f7cd8069f3dab347b2b3328f67b1a009d4a
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5384098
> Reviewed-by: Austin Sullivan <asully@chromium.org>
> Commit-Queue: Shanxing Mei <shanxing.mei@intel.com>
> Reviewed-by: ningxin hu <ningxin.hu@intel.com>
> Cr-Commit-Position: refs/heads/main@{#1278143}

Bug: 327337526, 328026885
Change-Id: Id3b630ba5a9da1f507d20597c13b046ae16c7508
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5392963
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Fahad Mansoor <fahadmansoor@google.com>
Owners-Override: Fahad Mansoor <fahadmansoor@google.com>
Cr-Commit-Position: refs/heads/main@{#1278264}

--

wpt-commits: 2da89e323882f0a21c54fa7dea1627166ec143a4
wpt-pr: 45343
2024-03-28 14:10:14 +00:00
moz-wptsync-bot
1ce7da1e65 Bug 1887983 [wpt PR 45319] - Update wpt metadata, a=testonly
wpt-pr: 45319
wpt-type: metadata
2024-03-28 14:10:13 +00:00
Oriol Brufau
5b3f9025e7 Bug 1887983 [wpt PR 45319] - Fix table with rows but no column, a=testonly
Automatic update from web-platform-tests
Fix table with rows but no column

We weren't generating any fragment for the rows, which meant that JS
APIs like clientWidth would be 0, and also outlines weren't painted.

This aligns Servo with Blink and WebKit. Gecko is broken, it distributes
twice the table height among the rows.

--

wpt-commits: 45e16d91c80302ea8eff75e22d44c7947fa78dac
wpt-pr: 45319
2024-03-28 14:10:12 +00:00
youennf
4b0a5b66cb Bug 1887591 [wpt PR 45305] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=271460, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=271460 (#45305)

--

wpt-commits: 84134b920235f4dd22268adbe308a7007fbd7507
wpt-pr: 45305
2024-03-28 14:10:12 +00:00
moz-wptsync-bot
01c8cff13a Bug 1886677 [wpt PR 45243] - Update wpt metadata, a=testonly
wpt-pr: 45243
wpt-type: metadata
2024-03-28 14:10:11 +00:00
Shiyi Zou
cbcc3ed727 Bug 1886677 [wpt PR 45243] - webnn: migrate unary operations unit tests to WPTs., a=testonly
Automatic update from web-platform-tests
webnn: migrate unary operations unit tests to WPTs.

This CL migrates unary operations unit tests to WPTs, including
element-wise unary (abs, ceil, cos, erf, exp, floor, identity, log, neg,
reciprocal, sin, sqrt, tan), hardSwish, relu, sigmoid, softsign and
tanh.

Bug: 327337526, 328026885
Change-Id: I45505f5c7327625791a5dcf3bf47777a68d8f5df
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5384746
Reviewed-by: ningxin hu <ningxin.hu@intel.com>
Reviewed-by: Austin Sullivan <asully@chromium.org>
Auto-Submit: Shiyi Zou <shiyi.zou@intel.com>
Commit-Queue: Shiyi Zou <shiyi.zou@intel.com>
Cr-Commit-Position: refs/heads/main@{#1278180}

--

wpt-commits: a281d0833c088055f474f6c5ae5d8108deb7255d
wpt-pr: 45243
2024-03-28 14:10:10 +00:00
moz-wptsync-bot
17fd0a9dc1 Bug 1886658 [wpt PR 45239] - Update wpt metadata, a=testonly
wpt-pr: 45239
wpt-type: metadata
2024-03-28 14:10:09 +00:00
mei1127
e896d1d258 Bug 1886658 [wpt PR 45239] - webnn: Migrate gemm validation tests to WPTs, a=testonly
Automatic update from web-platform-tests
webnn: Migrate gemm validation tests to WPTs

This CL adds WPT tests for gemm and removes the unit tests `MLGraphBuilderTest.GemmTest` and `MLGraphTestMojo.GemmTest`.

Bug: 327337526, 328026885
Change-Id: If7d11f7cd8069f3dab347b2b3328f67b1a009d4a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5384098
Reviewed-by: Austin Sullivan <asully@chromium.org>
Commit-Queue: Shanxing Mei <shanxing.mei@intel.com>
Reviewed-by: ningxin hu <ningxin.hu@intel.com>
Cr-Commit-Position: refs/heads/main@{#1278143}

--

wpt-commits: 28c1584f646288c2bb69207efc0524572b9ef5d8
wpt-pr: 45239
2024-03-28 14:10:09 +00:00
Karl Dubost
98505227f5 Bug 1887969 [wpt PR 45335] - fix #45334 - Adds tests for gap serialization., a=testonly
Automatic update from web-platform-tests
fix #45334 - Adds tests for gap serialization. (#45335)

Adds a couple of tests for testing the values when setting gap.
Fix #45334
--

wpt-commits: c399cf9e2773f36947383a12d90635562533a93c
wpt-pr: 45335
2024-03-28 14:10:08 +00:00
moz-wptsync-bot
ca3f8e7523 Bug 1887957 [wpt PR 45327] - Update wpt metadata, a=testonly
wpt-pr: 45327
wpt-type: metadata
2024-03-28 14:10:07 +00:00
Philip Rogers
c0e4a0ef84 Bug 1887957 [wpt PR 45327] - [css-anchor-position] Add basic position-visibility tests, a=testonly
Automatic update from web-platform-tests
[css-anchor-position] Add basic position-visibility tests

This patch adds basic tests for the new position-visibility property.
The specification is in-progress and is based on:
https://github.com/w3c/csswg-drafts/issues/7758#issuecomment-1965540529

Bug: 329703412
Change-Id: I460662f1a131336d9b17cdd597eecf4879c2414e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5393391
Auto-Submit: Philip Rogers <pdr@chromium.org>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1278060}

--

wpt-commits: 88c9bc22612450e1bfd962f4b55b6158c4ce8ff1
wpt-pr: 45327
2024-03-28 14:10:06 +00:00
moz-wptsync-bot
0827851f43 Bug 1887701 [wpt PR 45313] - Update wpt metadata, a=testonly
wpt-pr: 45313
wpt-type: metadata
2024-03-28 14:10:06 +00:00
Qingxin Wu
e18e0ed9d0 Bug 1887701 [wpt PR 45313] - Expose reporting timeout to reportWin's browserSignals., a=testonly
Automatic update from web-platform-tests
Expose reporting timeout to reportWin's browserSignals.

Bug: b/326922003

Change-Id: Ia1790c664dd52e96844c723878d34c3a57d6da78
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5391981
Reviewed-by: mmenke <mmenke@chromium.org>
Reviewed-by: Ken Buchanan <kenrb@chromium.org>
Commit-Queue: Qingxin Wu <qingxinwu@google.com>
Cr-Commit-Position: refs/heads/main@{#1278032}

--

wpt-commits: 57bfffb0a8ffde4e25f5eec2502803cc852e7579
wpt-pr: 45313
2024-03-28 14:10:05 +00:00
Matt Reynolds
04477ef239 Bug 1887947 [wpt PR 45333] - Revert "[Invokers] Only dispatch invoke for built-ins or actions containing '-'", a=testonly
Automatic update from web-platform-tests
Revert "[Invokers] Only dispatch invoke for built-ins or actions containing '-'"

This reverts commit 87ca363c4a89ce638bb9dbfba8ad71b967e1bcbe.

Reason for revert: invoketarget-on-details-invalid-behavior.tentative.html failing on multiple builders

Original change's description:
> [Invokers] Only dispatch invoke for built-ins or actions containing '-'
>
> (This relands
> https://chromium-review.googlesource.com/c/chromium/src/+/5366502 after
> fixing timeout issues in
> https://chromium-review.googlesource.com/c/chromium/src/+/5372478)
>
> This change refactors the `HandleInvokeInternal` calls to use an enum
> class of known attribute values including a `kCustom` key which can determine if the invoke action meets the criteria for being
> a "custom" action - that is it includes a dash (see
> b40ba866cc).
>
> This also updates the tests to reflect this; only actions with a `-`, or
> otherwise known actions, will dispatch an event. All other actions do
> not, and must be manually dispatched. This does not preclude web authors
> from manually dispatching said events.
>
> Bug: 40947660
> Change-Id: Ie6efeac7991c449b54d0c8b7ed360501ae5c8d37
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5388656
> Reviewed-by: Joey Arhar <jarhar@chromium.org>
> Reviewed-by: Mason Freed <masonf@chromium.org>
> Auto-Submit: Keith Cirkel <chromium@keithcirkel.co.uk>
> Commit-Queue: Joey Arhar <jarhar@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1277851}

Bug: 40947660
Change-Id: I89f4d5efaba810d345c571d558cb826b263dd907
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5393427
Owners-Override: Matt Reynolds <mattreynolds@chromium.org>
Auto-Submit: Matt Reynolds <mattreynolds@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Matt Reynolds <mattreynolds@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1278027}

--

wpt-commits: 42060952b73d4d25a12149adfdafbfe17c4562b9
wpt-pr: 45333
2024-03-28 14:10:04 +00:00
moz-wptsync-bot
3f9fba21ad Bug 1887946 [wpt PR 45322] - Update wpt metadata, a=testonly
wpt-pr: 45322
wpt-type: metadata
2024-03-28 14:10:03 +00:00
Philip Rogers
ff03eccfbe Bug 1887946 [wpt PR 45322] - [css-anchor-position] Parsing and computing position-visibility, a=testonly
Automatic update from web-platform-tests
[css-anchor-position] Parsing and computing position-visibility

This patch implements the plumbing for the new position-visibility
property. The specification is in-progress and is based on:
https://github.com/w3c/csswg-drafts/issues/7758#issuecomment-1965540529

Bug: 329703412
Change-Id: I83650e01466fa89285bdbc95f0d04125b398be78
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5390280
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1277987}

--

wpt-commits: e7126913cb4a726b4b1d336684637378bb45045b
wpt-pr: 45322
2024-03-28 14:10:03 +00:00
Christian Biesinger
c8b8aad906 Bug 1887944 [wpt PR 45323] - [FedCM] Normalize origins, a=testonly
Automatic update from web-platform-tests
[FedCM] Normalize origins

In particular, on wpt.live, "origin" includes a default port of :443
but event.origin does not. Roundtrip both through new URL() so that
they get normalized the same way.

Bug: 331237776
Change-Id: I5a6857bda9d938232879e5da67cdd4fdace1417f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5394210
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1277940}

--

wpt-commits: c5dbf3e68662f2a9aa1a9c0c39cea6ea5e161cb2
wpt-pr: 45323
2024-03-28 14:10:02 +00:00
Christian Biesinger
d2a7a5563d Bug 1887934 [wpt PR 45324] - [FedCM] Fix the implementation of test_driver.get_fedcm_dialog_title, a=testonly
Automatic update from web-platform-tests
[FedCM] Fix the implementation of test_driver.get_fedcm_dialog_title

It is supposed to return a dictionary:
https://fedidcg.github.io/FedCM/#webdriver-gettitle

This was causing the test to fail when run against "real"
webdriver:
https://wpt.fyi/results/credential-management/fedcm-context.https.html?label=experimental&label=master

R=npm@chromium.org

Bug: 331237776
Change-Id: I25168e475cd15b93e3fb4f175ec697ab5b027023
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5394270
Reviewed-by: Nicolás Peña <npm@chromium.org>
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1277980}

--

wpt-commits: 0b28e4bde3cfeb40276ff6dca5b0f65e38b46315
wpt-pr: 45324
2024-03-28 14:10:01 +00:00
Christian Biesinger
d61310d573 Bug 1887933 [wpt PR 45325] - [FedCM] Close the popup window after setting cookie, a=testonly
Automatic update from web-platform-tests
[FedCM] Close the popup window after setting cookie

This is a bit nicer when running the tests manually.

Change-Id: I6d96e453836ac6534c75cb8c6e1e841bae5a08b8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5394269
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1277945}

--

wpt-commits: 8882ec770f1a84c1c85ae46d467b63a2f4b6745e
wpt-pr: 45325
2024-03-28 14:10:01 +00:00
Psychpsyo
7ffc0da9f4 Bug 1885017 [wpt PR 45064] - Make clicking only selected option in multi-select deselect it, a=testonly
Automatic update from web-platform-tests
Make clicking only selected option in multi-select deselect it

This makes it so that if there is only a single option selected in a
<select multiple> element, clicking it will deselect it instead of
doing nothing.

This is to reduce user confusion about how to deselect options while
minimizing the impact on existing content, since the old do-nothing
behavior of this interaction is likely never a user's intention.

Bug: 327940247
Change-Id: If21cad16100155bc310745ca244ebf1dab0a691f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5360033
Reviewed-by: David Baron <dbaron@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1277858}

--

wpt-commits: 1a25adc1c9dda7890fbd008e69f524381e45724e
wpt-pr: 45064
2024-03-28 14:10:00 +00:00
moz-wptsync-bot
7a76734005 Bug 1887214 [wpt PR 45288] - Update wpt metadata, a=testonly
wpt-pr: 45288
wpt-type: metadata
2024-03-28 14:09:59 +00:00
Keith Cirkel
4e1153bb5b Bug 1887214 [wpt PR 45288] - [Invokers] Only dispatch invoke for built-ins or actions containing '-', a=testonly
Automatic update from web-platform-tests
[Invokers] Only dispatch invoke for built-ins or actions containing '-'

(This relands
https://chromium-review.googlesource.com/c/chromium/src/+/5366502 after
fixing timeout issues in
https://chromium-review.googlesource.com/c/chromium/src/+/5372478)

This change refactors the `HandleInvokeInternal` calls to use an enum
class of known attribute values including a `kCustom` key which can determine if the invoke action meets the criteria for being
a "custom" action - that is it includes a dash (see
b40ba866cc).

This also updates the tests to reflect this; only actions with a `-`, or
otherwise known actions, will dispatch an event. All other actions do
not, and must be manually dispatched. This does not preclude web authors
from manually dispatching said events.

Bug: 40947660
Change-Id: Ie6efeac7991c449b54d0c8b7ed360501ae5c8d37
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5388656
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Auto-Submit: Keith Cirkel <chromium@keithcirkel.co.uk>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1277851}

--

wpt-commits: 1881c1e2fec3b1716f234d9a53204b15caf856ed
wpt-pr: 45288
2024-03-28 14:09:58 +00:00
moz-wptsync-bot
30435f5ea5 Bug 1887921 [wpt PR 45315] - Update wpt metadata, a=testonly
wpt-pr: 45315
wpt-type: metadata
2024-03-28 14:09:57 +00:00
Mustaq Ahmed
68950de095 Bug 1887921 [wpt PR 45315] - Update boundary PointerEvent expectations after DOM changes., a=testonly
Automatic update from web-platform-tests
Update boundary PointerEvent expectations after DOM changes.

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

Fixed: 330373899, 324724870
Change-Id: I5357aa410f499c39bde54c42ccb0c8f00dbccfb3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5392700
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1277753}

--

wpt-commits: 46a22eed46be755f2e72cab868e51a0b62770fd4
wpt-pr: 45315
2024-03-28 14:09:57 +00:00
moz-wptsync-bot
4ee54092cd Bug 1887157 [wpt PR 45280] - Update wpt metadata, a=testonly
wpt-pr: 45280
wpt-type: metadata
2024-03-28 14:09:56 +00:00
Austin Sullivan
b3e58a8692 Bug 1887157 [wpt PR 45280] - webnn: Validate activations passed as options to MLGraphBuilder methods, a=testonly
Automatic update from web-platform-tests
webnn: Validate activations passed as options to MLGraphBuilder methods

See https://www.w3.org/TR/webnn/#mlgraphbuilder-validate-activation

Follow-up to https://crrev.com/c/5371346

Bug: 325612086
Change-Id: I245b555d4c7e0605bd8d754f8e0848a8718754cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5388623
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Commit-Queue: Joshua Bell <jsbell@chromium.org>
Auto-Submit: Austin Sullivan <asully@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1277746}

--

wpt-commits: 0e9f077ad6be3e79aa82c8375e4bc5696ff63007
wpt-pr: 45280
2024-03-28 14:09:55 +00:00
Jean-Philippe Gravel
9dd25d36cd Bug 1887922 [wpt PR 45318] - Move test defaults to a dedicated function, a=testonly
Automatic update from web-platform-tests
Move test defaults to a dedicated function

Setting the test defaults doesn't belong in _generated_test. Moving
that out is the start of a larger cleanup aiming at improving
separation of concerns. _generate_test does way too many things, making
it hard to maintain and improve.

Bug: 330885075
Change-Id: I409b04ba0bd8173d6b17cef31d7a639d6646a34f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5376074
Reviewed-by: Andres Ricardo Perez <andresrperez@chromium.org>
Commit-Queue: Jean-Philippe Gravel <jpgravel@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1277618}

--

wpt-commits: 658197877d863fe2773f692cd63aa8109394cf27
wpt-pr: 45318
2024-03-28 14:09:55 +00:00
moz-wptsync-bot
67c5cb30a7 Bug 1886085 [wpt PR 45188] - Update wpt metadata, a=testonly
wpt-pr: 45188
wpt-type: metadata
2024-03-28 14:09:54 +00:00
Blink WPT Bot
9cff7b5d07 Bug 1886085 [wpt PR 45188] - Clean up PendingBeaconAPI-related implementation, a=testonly
Automatic update from web-platform-tests
Clean up PendingBeaconAPI-related implementation (#45188)

It was an experimental API only enabled for OT from M107-M115 [1].
Since then, it has been replaced by the fetchLater API [2], which is
currently running in OT [3].

[1]: https://chromestatus.com/feature/5690553554436096
[2]: https://github.com/WICG/pending-beacon/blob/main/docs/fetch-later-api.md
[3]: https://chromestatus.com/feature/4654499737632768

OBSOLETE_HISTOGRAM[PendingBeaconHost.BatchAction]=Removed entire API
OBSOLETE_HISTOGRAM[PendingBeaconHost.Action]=Removed entire API

Bug: b:40213606
Change-Id: I391bb3d38cdf11b40f6dc7cd755eded0923deb7d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5367498
Reviewed-by: Sean Harrison <harrisonsean@chromium.org>
Reviewed-by: Nate Chapin <japhet@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
Reviewed-by: Rakina Zata Amni <rakina@chromium.org>
Commit-Queue: Ming-Ying Chung <mych@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1276738}

Co-authored-by: Ming-Ying Chung <mych@chromium.org>
--

wpt-commits: af41a1105096fbd88d3a45ca75e233792b151d0c
wpt-pr: 45188
2024-03-28 14:09:53 +00:00
moz-wptsync-bot
448d5b2f29 Bug 1885576 [wpt PR 45131] - Update wpt metadata, a=testonly
wpt-pr: 45131
wpt-type: metadata
2024-03-28 14:09:52 +00:00
Blink WPT Bot
0da6438f44 Bug 1885576 [wpt PR 45131] - Refactor WPTs to support manual reportEvent beacons., a=testonly
Automatic update from web-platform-tests
Refactor WPTs to support manual reportEvent beacons. (#45131)

We have a few different workstreams converging on manual
reportEvent beacon changes, but we can't really test
for them in the WPT environment. This CL registers a
click URL in the bidder's registerAdBeacon, along with some
additional refactoring and renaming to indicate that tests
support more than just automatic beacons now.

Change-Id: Ibf35acafd335bc1d6e195574b64db6479ee0e7ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5375043
Commit-Queue: Andrew Verge <averge@chromium.org>
Reviewed-by: Liam Brady <lbrady@google.com>
Cr-Commit-Position: refs/heads/main@{#1276494}

Co-authored-by: Andrew Verge <averge@chromium.org>
--

wpt-commits: 8132fec8ba02d03bd7a9dc350305d11afa0c87a9
wpt-pr: 45131
2024-03-28 14:09:51 +00:00
Blink WPT Bot
3769d2b998 Bug 1886226 [wpt PR 45196] - [Invokers] mark clickon tests as long, a=testonly
Automatic update from web-platform-tests
[Invokers] mark clickon tests as long (#45196)

This change aims to avoid timeouts on invoker tests that are occurring
because of the long time between clickOn calls, which can take the test
runs over the timeout threshold on some builds on slower hardware.

Bug: 40943183
Change-Id: I5976d824dd8b98355eb69991908d7b5e57937f35
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5372478
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1276602}

Co-authored-by: Keith Cirkel <chromium@keithcirkel.co.uk>
--

wpt-commits: 49e8a846d9b1e9778c0cd4bdeb54bd796a5211fc
wpt-pr: 45196
2024-03-28 14:09:51 +00:00
L. David Baron
62f96c67f2 Bug 1887178 [wpt PR 45286] - Mark calc-size() animation tests as needing longer timeout., a=testonly
Automatic update from web-platform-tests
Mark calc-size() animation tests as needing longer timeout.

Bug: 313072
Fixed: 330918800
Change-Id: I1b745dba4ab235b72420c8b05b716ff5a09b2fc6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5388864
Commit-Queue: Robert Flack <flackr@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Auto-Submit: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1277731}

--

wpt-commits: 20592157fc85f6eba8b5352f1d23f0beb97de6ad
wpt-pr: 45286
2024-03-28 14:09:50 +00:00
Jean-Philippe Gravel
c41ec5324b Bug 1887912 [wpt PR 45317] - Add a _TestParams alias, to simplify type annotations, a=testonly
Automatic update from web-platform-tests
Add a _TestParams alias, to simplify type annotations

Bug: 330885075
Change-Id: I291ec2aeb20353b0661bdfe8bbb981954513b5a9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5378089
Reviewed-by: Andres Ricardo Perez <andresrperez@chromium.org>
Commit-Queue: Jean-Philippe Gravel <jpgravel@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1277616}

--

wpt-commits: fe6081c2eeae03d2c2cde80ba03101306a37a27f
wpt-pr: 45317
2024-03-28 14:09:49 +00:00
Jean-Philippe Gravel
b26b7efda3 Bug 1887910 [wpt PR 45316] - Remove the '_' hack to remove variant names from filename, a=testonly
Automatic update from web-platform-tests
Remove the '_' hack to remove variant names from filename

For some variants, we do not want to automatically insert the variant
names in the generated filename. This used to be done by prefixing the
variant names with '_'. Later, an 'append_variants_to_name' param was
added. This is cleaner and more explicit and we should get rid of the
'_' hack in favor of this new param.

Bug: 330885075
Change-Id: Ibcded647146945ecea60bea5e3d76747c338f1aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5377283
Reviewed-by: Andres Ricardo Perez <andresrperez@chromium.org>
Commit-Queue: Jean-Philippe Gravel <jpgravel@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1277613}

--

wpt-commits: 38d12c53a760ba763d86bd1ff3b36df3de5b9764
wpt-pr: 45316
2024-03-28 14:09:48 +00:00
Blink WPT Bot
4956e62b9c Bug 1885901 [wpt PR 45169] - Port animation-*-event-destroy-renderer to WPT, a=testonly
Automatic update from web-platform-tests
Port animation-*-event-destroy-renderer to WPT (#45169)

Though the test is effectively a crash test, it cannot be implemented
as such since the ported test uses variants.  Authored as a promise
test.  The test triggers a change during event handling that will
result in animations being cancelled, which must be handled gracefully.

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

Co-authored-by: Kevin Ellis <kevers@google.com>
--

wpt-commits: 43e73ae7d6dc9036abfefe074d3fd1308c1b8d0e
wpt-pr: 45169
2024-03-28 14:09:48 +00:00