We take this opportunity to add a shared helper to retrieve stylesheet text
given a stylesheet resource and use it in the other stylesheet resources tests.
Differential Revision: https://phabricator.services.mozilla.com/D195471
Call CanvasContext::SwapChainPresent() from ShareableCanvasRenderer::UpdateCompositableClient() like other canvas implementations.
Current WebGPU implementation does not handle presenting swap chain of offscreen canvas. It is going to be handled by another bug.
Differential Revision: https://phabricator.services.mozilla.com/D196141
Automatic update from web-platform-tests
HTML pseudo-classes: :checked:indeterminate
Primarily for https://github.com/WebKit/WebKit/pull/21157.
--
wpt-commits: e0e0f5b2721bf22568309f71a56ba7926348b0ef
wpt-pr: 43482
Automatic update from web-platform-tests
[GridNG] Update grid-auto-repeat-max-size-001.html and mark tentative
Updating per discussion in CSSWG
(https://github.com/w3c/csswg-drafts/issues/8963) and marking as
tentative.
Bug: 1506789
Change-Id: Ib639db1d2c01870aae2a14be97e63788e5d955b0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5077105
Reviewed-by: Alison Maher <almaher@microsoft.com>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1232260}
--
wpt-commits: 766176388fc4bb331c012525b85b2e482577c1c0
wpt-pr: 43461
Automatic update from web-platform-tests
Reland "Check if math expression has percentages deep inside"
This is a reland of commit fc365dddd74a2c9ba22036fd5563dbea8ff34c7c
Original change's description:
> Check if math expression has percentages deep inside
>
> Currently, only the top level category is checked to have a percentage
> dependency, check all the nodes inside the expression as well,
> as it can be the case like:
> NumberProducingFunction(Percentage) * Pixels.
> The top level category is Length in such case and we try to resolve it
> with ComputeLength, where percentages are not allowed.
>
> Note: the added test would crash before the CL, as it would try to
> GetDouble() of percentage which is not allowed in that context.
>
> Bug: 1505817
> Change-Id: Iefd13c0d190c3b8adf463ea244f81331635e14fe
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5064155
> Commit-Queue: Daniil Sakhapov <sakhapov@chromium.org>
> Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1230671}
Bug: 1505817
Change-Id: I19b1ce50ffd50bdbf7aa4dc919fb7525b0b02db0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5076966
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Daniil Sakhapov <sakhapov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1232219}
--
wpt-commits: 274238953d7f9c74b6c77f3e91081a6ec50c4ab1
wpt-pr: 43468
Automatic update from web-platform-tests
Shared Storage: Add tests for SSW imgs controlled by service workers
We add some web tests to show that image requests, with the
`sharedStorageWritable` attribute set to true, that are intercepted
by service workers but fallback to network can write to shared storage
via response headers.
Bug: 1434529,1218540
Change-Id: I5b3b56286788f8f25042d5b02e1e10e4824f3c08
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5073616
Commit-Queue: Yao Xiao <yaoxia@chromium.org>
Reviewed-by: Yao Xiao <yaoxia@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1231656}
--
wpt-commits: f0b8f3951fa09e59b26a6cf15a1f287c499c2e3e
wpt-pr: 43438
Automatic update from web-platform-tests
LoAF: Be specific about source locations and CORS
- For CORS-ok scripts, expose base URL
- For opaque module scripts, expose source URL
- For callbacks/events in opaque scripts, don't expose URL
The proposed spec is a bit open about this as long as opaque script locations
are not exposed, so the WPT allows a few options and rejects only
on violations.
Bug: 1506096
Change-Id: If3b3a86a9ab396f189b188f4b5b7a8e0064b05ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5077466
Reviewed-by: Dominic Farolino <dom@chromium.org>
Reviewed-by: Michal Mocny <mmocny@chromium.org>
Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1232040}
--
wpt-commits: 3aff5f1e12d6dc20e333b3f8ae589d86c1ddaedb
wpt-pr: 43467
Automatic update from web-platform-tests
Fix NOTREACHED in layoutTheme::DefaultSystemColor
CSS transitions and animations did not support unresolved color-mix.
With this patch, transitions work with unresolved-color-mix, and CSS
animations work with unresolved-color-mix in a neutral keyframe. Still
need to support unresolved-color-mix with a string keyframe for a CSS
animation.
Bug: 1493430, 1500708, 1464035
Change-Id: I7aa71ae8af4a8908f49bb41c5378f00c9a748c88
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5014009
Reviewed-by: Aaron Krajeski <aaronhk@chromium.org>
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1232024}
--
wpt-commits: 6b504502305706640be6b33b5710dc47e568d260
wpt-pr: 43031
Automatic update from web-platform-tests
[Private Network Access] Add location update WPTs
Similar to window-open and anchor tests but navigating via
window.location updates. The "top.location" tests update
the window.location of its top window.
Bug: 1431155
Change-Id: I0894d798d40cd20bc4bc66042132feeb98a6beab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5062770
Commit-Queue: Jonathan Hao <phao@chromium.org>
Reviewed-by: Yifan Luo <lyf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1232002}
--
wpt-commits: 52dabc90de44f528b8fc79aa5bfe4df11914f2b6
wpt-pr: 43367
Automatic update from web-platform-tests
[Private Network Access] Add anchor navigation wpts
This is very similar to the window-open tests but they open new windows
via an anchor link click.
Bug: 1291252
Change-Id: I93108369d7fc9e9cc5dae10ec06a009bd84064a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5053884
Commit-Queue: Jonathan Hao <phao@chromium.org>
Reviewed-by: Yifan Luo <lyf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1231997}
--
wpt-commits: 866a3036c79d1e8b651ae1d1375eace93b9ea920
wpt-pr: 43476
Automatic update from web-platform-tests
[Grid] Remove usage of Ahem font in grid-minimum-size-grid-items-021
The font is causing the WPT to fail due to minor artifacts that result
in the contribution size of the text not being *exactly* `100px`.
Refactoring the test to use an inline item of `width: 100px`.
Results for other browser vendors remain unaffected by this change.
Bug: 1506877
Change-Id: Ia019048d4f401ad8ccd3926eaff32f2547d6dfdf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5078473
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1231967}
--
wpt-commits: 12ddd2531567d7a7c41c211e60f5fe41518e6b72
wpt-pr: 43464
Automatic update from web-platform-tests
[Private Network Access] Extend iframe navigation check to main frames
This applies PNA to top level navigations. It also extends the original
feature flag to cover the top level case.
Adjustment to tests:
1. We can't expect window.open to return null. It has to return
something when it navigates to the initial empty document, and PNA
checks happen later.
2. Use subsetTestByKey like the iframe test because running evenything
together tends to time out.
3. Use `PreflightBehavior.navigation()` so the test server replies
headers necessary for navigation requests.
4. Make the test return "no preflight received" when that's the reason
the test fails, to distinguish from failures.
Bug: 1431155
Change-Id: I3fcf212139eebb59384e4247776d562bcbe67c85
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5019405
Reviewed-by: Camille Lamy <clamy@chromium.org>
Commit-Queue: Jonathan Hao <phao@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1231939}
--
wpt-commits: 3e5b556b8a60dc444d7b7a0c422145d467ae0a2b
wpt-pr: 43081
Automatic update from web-platform-tests
Remove unused function from no-crash-set-exception.html (#43469)
--
wpt-commits: ae9e36ca1931bcb83e30fa13c46071079096f197
wpt-pr: 43469
Automatic update from web-platform-tests
Mark the outmost dirty style containment scope only if it has changed
During the creation of the style containment scope the ancestors are
created on the fly and are marked as outmost dirty in such cases.
But that's not correct as if nothing is changed in the new
ancestor, we don't need to update the outmost dirty scope.
Dirtying parent style containment scopes outside a size query container
during layout leads to modifying the layout box tree outside the query
container which is not allowed.
Bug: 1505164
Change-Id: Ic267a863201223d1b3c669ae5216c1eef7dddff7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5075697
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Daniil Sakhapov <sakhapov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1231862}
--
wpt-commits: 3e0c565554dd79ab3722385adf0f884fd3c42991
wpt-pr: 43457
Automatic update from web-platform-tests
WebNN: Drop null value support in newShape parameter for reshape
This CL simplifies the implementation of the reshape() build method of
MLGraphBuilder according to the proposal [1]. In particular, this CL
drops the support of the special `null` value in the newShape parameter,
so that the implementation won’t need to compute the size of that
dimension with the value `null`.
This CL also removes the WebNN reshape test cases for `null` value from
WPT and updates the rebase accordingly.
[1]: https://github.com/webmachinelearning/webnn/issues/388
Bug: 1502361, 1273291
Change-Id: I61945172a566c140af3f1748cb049c8505a6b28d
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5060264
Reviewed-by: Jiewei Qian <qjw@chromium.org>
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: ningxin hu <ningxin.hu@intel.com>
Cr-Commit-Position: refs/heads/main@{#1231836}
--
wpt-commits: fd472c10d59bf887f3f85f77b01d46fc84db9619
wpt-pr: 43366
Automatic update from web-platform-tests
[css-values] Add tests for signed zero
All browsers are wrong, in slightly different ways.
--
wpt-commits: f6f903e8069883a10bfa44a4692016264a70f3f6
wpt-pr: 43430
Automatic update from web-platform-tests
Revert "Dispatch close event when MessagePort is disentangled"
This reverts commit 6a74d3d8049e1744b862757a73f90f3d7a5e08b0.
Reason for revert:
The tests newly added by the original CL are failing on
chrome_wpt_tests on the Linux Tests bot:
https://ci.chromium.org/ui/p/chromium/builders/ci/Linux%20Tests/138259/overview
Original change's description:
> Dispatch close event when MessagePort is disentangled
>
> We want to dispatch a close event when an entangled MessagePort is disconnected.
> Given a pair of entangled ports, port1 and port2, if port2 is closed at any point,
> a port1’s error handler is run.
> So we can change an error handler to dispatch a close event.
>
> The tests of close event are as follows:
> 1) port was explicitly closed.
> 2) owning document was destroyed.
> 3) owning document crashed.
> 4) port was garbage collected.
>
> Design Doc:https://docs.google.com/document/d/1lXZU2Pk2ycitqj8aL9kxT2aauwXqpA0vJDUalkXA29Y
> Explainer:https://github.com/fergald/explainer-messageport-close
> HTML spec PR:https://github.com/whatwg/html/pull/9933
>
> Bug: 1495616
> Change-Id: I99f9f5a0d7cc63f0916da316ec666ba793215019
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5003089
> Reviewed-by: Jeremy Roman <jbroman@chromium.org>
> Commit-Queue: Nonoka Muraki <murakinonoka@chromium.org>
> Reviewed-by: Ming-Ying Chung <mych@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1231743}
Bug: 1495616
Change-Id: Ib697597d6ab70a9a7bfc41a67dfc647698024a64
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5075742
Reviewed-by: Ming-Ying Chung <mych@chromium.org>
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Owners-Override: Hiroki Nakagawa <nhiroki@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1231780}
--
wpt-commits: 5d1c45f9f81c37c45e7acc351348cd6e9879597f
wpt-pr: 43465
Automatic update from web-platform-tests
Improve case sensitivity checks for Element.setAttributeNode()
Improve case sensitivity checks for Element.setAttributeNode() to cover the
following WebKit bug, which wasn't caught by existing tests:
- https://bugs.webkit.org/show_bug.cgi?id=265597
--
wpt-commits: 6d466912c4702691a1aa8c3e6d4ec1d92b870253
wpt-pr: 43462
Automatic update from web-platform-tests
Fix erronous UA styles in lists-styles.html
`ol` should not support `none` / `disc` / `circle` / `square` `list-style-type`, only `ul` should support those.
Spec: https://html.spec.whatwg.org/#lists
--
Add missing `<ul>` tests to lists-styles.html
--
wpt-commits: 98e3a42bab44c61a94f0d5793940db200c0f1331, dfc99c2752855cb4fc5547279b56b8f3daec5a1d
wpt-pr: 43463
Automatic update from web-platform-tests
Dispatch close event when MessagePort is disentangled
We want to dispatch a close event when an entangled MessagePort is disconnected.
Given a pair of entangled ports, port1 and port2, if port2 is closed at any point,
a port1’s error handler is run.
So we can change an error handler to dispatch a close event.
The tests of close event are as follows:
1) port was explicitly closed.
2) owning document was destroyed.
3) owning document crashed.
4) port was garbage collected.
Design Doc:https://docs.google.com/document/d/1lXZU2Pk2ycitqj8aL9kxT2aauwXqpA0vJDUalkXA29Y
Explainer:https://github.com/fergald/explainer-messageport-close
HTML spec PR:https://github.com/whatwg/html/pull/9933
Bug: 1495616
Change-Id: I99f9f5a0d7cc63f0916da316ec666ba793215019
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5003089
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Commit-Queue: Nonoka Muraki <murakinonoka@chromium.org>
Reviewed-by: Ming-Ying Chung <mych@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1231743}
--
wpt-commits: dd47f140612cef24b9e9c692e77b4d3aa5307279
wpt-pr: 43015
Automatic update from web-platform-tests
[FLEDGE]: Add trustedBiddingSignalsSlotSizeMode to InterestGroups.
This CL adds the trustedBiddingSignalsSlotSizeMode to the Protected
Audience API's InterestGroups, and saves them to the database. The
new field currently doesn't have any actual effect.
See https://github.com/WICG/turtledove/pull/928 for API description.
Bug: 1506238
Change-Id: I7133436c813076274822db522ece1a668dba51e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5063314
Commit-Queue: Matt Menke <mmenke@chromium.org>
Reviewed-by: Russ Hamilton <behamilton@google.com>
Reviewed-by: Ken Buchanan <kenrb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1231648}
--
wpt-commits: ba3a0007fbf8711ffeb81df6054327bdc2cc1075
wpt-pr: 43425
Automatic update from web-platform-tests
[GridNG] Update test file to match reference scrollbars
The reference for this test is 100x100-grey-box-with-scrollbars.html,
which has a 150px by 150px square overflowing a 100px by 100px box, but
the test specifies a 120px by 120px square overflowing a 100px by 100px
box. Since the scrollbar thumb is based on the amount of content inside
of the scrollable region, the size of the scrollbar thumb didn't match
the reference and the test was failing.
The fix here is to make the test 150px by 150px so it matches the
reference. The conditions that it's testing (that scrollbars are
visible) remains unchanged.
Bug: 1335889
Change-Id: If78b7d9a2ad04bde5b6e1ce1f7757e537ab97535
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5077836
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Alison Maher <almaher@microsoft.com>
Commit-Queue: Kurt Catti-Schmidt <kschmi@microsoft.com>
Reviewed-by: Ethan Jimenez <ethavar@microsoft.com>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1231543}
--
wpt-commits: 3e2d8fc027ffccb98d701560e7ed9d72343b549a
wpt-pr: 43460
Automatic update from web-platform-tests
Fix null pointer dereference in AutoscrollController.
A fieldset element creates an anonymous block for its contents (see
LayoutFieldset::InsertedIntoTree), which may be passed as |scrollable|
to AutoscrollController::StartMiddleClickAutoscroll.
It seems we don't need to access scrollable->GetNode() in the first
place. We can just start the layout tree walk from scrollable itself.
Bug: 1488016
Change-Id: I43da256d48f827c818636848abcd659095a94a7c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5076640
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Commit-Queue: Steve Kobes <skobes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1231408}
--
wpt-commits: 7743dbe531cf67c333c8e5a4bfaf613f890375f8
wpt-pr: 43458
Automatic update from web-platform-tests
[document pip] Allow resizeTo()/resizeBy() via user gesture
Currently, we don't allow picture-in-picture windows to use the
resizeTo() and resizeBy() APIs to prevent abuse. This CL adds a user
gesture requirement to those APIs for document picture-in-picture
windows to allow them to use those APIs while limiting the potential
for abuse.
Specification: https://github.com/WICG/document-picture-in-picture/pull/104
Bug: 1354325
Change-Id: I6eabb2e9b8923ec1fc395cb44e3cc00ad674f5da
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4980802
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Fr <beaufort.francois@gmail.com>
Reviewed-by: Frank Liberato <liberato@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Commit-Queue: Tommy Steimel <steimel@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1230725}
--
wpt-commits: 7007ee235ed368079546dd0a8ef45a7dfa88305a
wpt-pr: 42797