Commit Graph

936119 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
2bb32736de Bug 1925324 - Properly regenerate the underlying 'from' value, for SVG/SMIL to-animation of CSS properties r=dholbert
We need to remove the property in that case.

Differential Revision: https://phabricator.services.mozilla.com/D226030
2024-10-18 09:48:32 +00:00
Emilio Cobos Álvarez
1b2f06852c Bug 1924616 - Remove KDE resizer hack. r=stransky
This was implemented in bug 1813554 to allow resizing tiled windows at
the top of the window, but since then KWin has changed behavior and no
longer allows resizing tiled windows, so this is now unnecessary.

Differential Revision: https://phabricator.services.mozilla.com/D226005
2024-10-18 09:47:15 +00:00
Emilio Cobos Álvarez
48edc4a7cc Bug 1925317 - Detect Adwaita properly in some environments. r=stransky
This correctly detects Adwaita if you don't have a valid gtk theme name.

I found this when testing some X11 environments for bug 1924616.

Differential Revision: https://phabricator.services.mozilla.com/D226008
2024-10-18 09:46:26 +00:00
Tom Schuster
5c98e5e245 Bug 1923041 - Listen for click events on the sidebar to handle new-tab middle clicks. r=Gijs,sidebar-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D224765
2024-10-18 09:28:09 +00:00
Mark Banner
cee5571f91 Bug 1881696 - Make the eslint-plugin-mozilla recommended configuration work with the ESLint flat config. r=frontend-codestyle-reviewers,mossop
This provides additional "flat/...." configurations which work with the flat config of ESLint. The changes in recommended.js make it easier to handle the two different types of configuration. The changes in index.js are to ensure that the resultant configurations are correct for legacy or flat configs. The index.js changes also inject the plugin object back into itself, as required by ESLint.

Once we have switched mozilla-central to flat configuration, we can drop support for the legacy config.

Differential Revision: https://phabricator.services.mozilla.com/D225705
2024-10-18 09:21:27 +00:00
Mark Banner
072008e5f7 Bug 1881696 - Rework the ESLint environment so that eslint-plugin-mozilla is not enforcing the environment everywhere. r=frontend-codestyle-reviewers,Gijs
This makes it easier for subscribers of eslint-plugin-mozilla to use it more generally as a set of recommended
rules. The only environment definitions are for mozilla-specific file types, where we should be safe to specify
them.

Differential Revision: https://phabricator.services.mozilla.com/D225704
2024-10-18 09:21:27 +00:00
Otto Länd
d8b641194c Bug 1920468, 1920674: apply code formatting via Lando
# ignore-this-changeset
2024-10-18 09:20:34 +00:00
Dave Townsend
0c247f8c31 Bug 1920674: Allow showing the profile avatar in the taskbar on Windows. r=rkraesig,win-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D225208
2024-10-18 09:17:47 +00:00
Dave Townsend
7684512b8d Bug 1920468: Add a function for badging the dock/taskbar with an image. r=jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D223580
2024-10-18 09:17:46 +00:00
Dave Townsend
7869c13503 Bug 1920674: Support SVG images in nsWindowGfx::CreateIcon. r=win-reviewers,rkraesig
Also allows passing in CSS context properties.

Differential Revision: https://phabricator.services.mozilla.com/D223579
2024-10-18 09:17:46 +00:00
Timothy Nikkel
309b4dd4ee Bug 1925423. Avoid some GetImageStatus calls. r=dholbert
These are kind of slow because they have to acquire a lock and shows up in profiles (speedometer 3).

Differential Revision: https://phabricator.services.mozilla.com/D226088
2024-10-18 08:59:18 +00:00
Florian Quèze
dae6980b12 Bug 1925355 - Remove contextual.services.quicksuggest legacy telemetry scalars, r=adw,urlbar-reviewers.
Differential Revision: https://phabricator.services.mozilla.com/D226039
2024-10-18 08:57:18 +00:00
Andreas Pehrson
e9bf7b43fe Bug 1925393 - Gate TestPacer.cpp on WebRTC. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D226110
2024-10-18 08:41:54 +00:00
t-p-white
1a3f2a4c8f Bug 1915879 - Part 2: Add the initial add-on onboarding card UI r=android-reviewers,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D225538
2024-10-18 08:39:20 +00:00
t-p-white
ec36586506 Bug 1915879 - Part 1: Add the icon for each onboarding add-on r=android-reviewers,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D225537
2024-10-18 08:39:19 +00:00
moz-wptsync-bot
d8ad8ae848 Bug 1925131 - [wpt-sync] Update web-platform-tests to 477be4a28457a449c8505acede0ddbb31ab9e0e2, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 477be4a28457a449c8505acede0ddbb31ab9e0e2
wpt-type: landing
2024-10-18 08:39:17 +00:00
Rahul Singh
140a0ca938 Bug 1924867 [wpt PR 48629] - IDB WPTs: Extend several IDB WPTs to run on workers (Part 2), a=testonly
Automatic update from web-platform-tests
IDB WPTs: Extend several IDB WPTs to run on workers (Part 2)

This set of IndexedDB WPTs currently only run in a window environment.
This change extends them to also run in dedicated, shared, and service
worker environments.

Bug: 41455766
Change-Id: Ib973b26a725d2b3c05e2696cee208c052e563632
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5926431
Commit-Queue: Rahul Singh <rahsin@microsoft.com>
Reviewed-by: Evan Stade <estade@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1369491}

--

wpt-commits: 477be4a28457a449c8505acede0ddbb31ab9e0e2
wpt-pr: 48629
2024-10-18 08:39:16 +00:00
Yao Xiao
a20793db45 Bug 1925059 [wpt PR 48650] - [shared storage] Implement interestGroup(), a=testonly
Automatic update from web-platform-tests
[shared storage] Implement interestGroup()

Add interestGroups() to the shared storage worklet, to return the
Protected Audience interest groups associated with the
shared storage origin's owner, with some additional metadata.

Implement this behind a runtime feature, which is implicitly
controlled by a Finch flag.

Explainer PR: https://github.com/WICG/shared-storage/pull/180

Spec PR(s):
1) https://github.com/WICG/turtledove/pull/1299
2) https://github.com/WICG/shared-storage/pull/203

Bug: 367992703
Binary-Size: Size increase is unavoidable.
Fuchsia-Binary-Size: Size increase is unavoidable.
Change-Id: I5fc5767fa53a91f021d64a871a6dd9cb88f4431c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5696046
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Yao Xiao <yaoxia@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1369483}

--

wpt-commits: eb87bbbacf996ab46607538a72ea0adaee229e7a
wpt-pr: 48650
2024-10-18 08:39:15 +00:00
Jean-Philippe Gravel
19fc588c80 Bug 1921829 [wpt PR 48382] - Add a new canvas WPT template using pycairo-generated reference images, a=testonly
Automatic update from web-platform-tests
Add a new canvas WPT template using pycairo-generated reference images

Using the "cairo_reference:" key in the YAML config, we can now express
the expected result of a test using pycairo code. Contrary to the
existing "expected:" key which produces an image that is only used for
"informational" purpose, "cairo_reference:" produces a reference test,
meaning that the test runner automatically compares the test result
with that generated image and fails the test if the result differs.

Both single variant tests (non-variant or tests with a single variant
per file) and variant grids are supported. For single variant, the
generated reference file is an HMTL page with a single <img> tag
pointing to the PNG generated with pycairo. To cut down on the number of
files generated for variant grids, all the reference images for all of
the cells of the grid are packed into a single PNG file,
3d-model-texture-style. The reference HTML file is a grid of <img> tags,
each framing a different portion of the PNG image.

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

--

wpt-commits: 2af17a84e98cd28940d2882c68ff824d6e98f4b7
wpt-pr: 48382
2024-10-18 08:39:14 +00:00
moz-wptsync-bot
a965622d9c Bug 1925020 [wpt PR 48649] - Update wpt metadata, a=testonly
wpt-pr: 48649
wpt-type: metadata
2024-10-18 08:39:14 +00:00
Rune Lillesveen
9c7fdff1bf Bug 1925020 [wpt PR 48649] - [@container] stuck queries with writing direction changes, a=testonly
Automatic update from web-platform-tests
[@container] stuck queries with writing direction changes

- Fix a typo that caused stuck not to be dynamically changed with
  writing direction changes.
- Add tests.
- Remove TODO as the current behavior is the spec'ed behavior.

Bug: 40268059
Change-Id: Icc0fb12eeec5735d623bc5272916b7fc92ad5e5c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5938224
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1369380}

--

wpt-commits: d56d0a1180b71e512f87ef8fb1771298f5071f3c
wpt-pr: 48649
2024-10-18 08:39:13 +00:00
moz-wptsync-bot
0c679d61c5 Bug 1925011 [wpt PR 48648] - Update wpt metadata, a=testonly
wpt-pr: 48648
wpt-type: metadata
2024-10-18 08:39:12 +00:00
Noam Rosenthal
088d86ea1e Bug 1925011 [wpt PR 48648] - Support custom element reactions for moveBefore, a=testonly
Automatic update from web-platform-tests
Support custom element reactions for moveBefore

- A new custom element reaction: connectedMoveCallback
- Called when the moved element is re-inserted
- Falls back to calling disconnectedMove/connectedMove if not provided.

Bug: 40150299
Change-Id: I0d3ed83ca03bbffcd2db79d1c421d8d155a4d9c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5920804
Reviewed-by: Dominic Farolino <dom@chromium.org>
Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1369383}

--

wpt-commits: c17fab297bdc750e97907281fabfbcbead8e993f
wpt-pr: 48648
2024-10-18 08:39:11 +00:00
Oriol Brufau
978cdf99c9 Bug 1924811 [wpt PR 48627] - Avoid wrapping line at the start of text run with text-wrap-mode: nowrap, a=testonly
Automatic update from web-platform-tests
Avoid wrapping line at the start of text run with `text-wrap-mode: nowrap`

When computing the min-content size of an inline formatting context,
we could allow a soft wrap opportunity at the start of a text run.
This shouldn't happen with `text-wrap-mode: nowrap`.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>

--

wpt-commits: b8538c8c1cd7e6b5b7e42a618119b69b6521a17b
wpt-pr: 48627
2024-10-18 08:39:11 +00:00
moz-wptsync-bot
38cffacfaf Bug 1924966 [wpt PR 48645] - Update wpt metadata, a=testonly
wpt-pr: 48645
wpt-type: metadata
2024-10-18 08:39:10 +00:00
Javier Fernandez Garcia-Boente
e63828c203 Bug 1924966 [wpt PR 48645] - Add tests cases for algorithm normalization in the importKey operation, a=testonly
Automatic update from web-platform-tests
Test OKP algorithm normalization in crypto.subtle.importKey (#48645)

--

wpt-commits: bef6fa3566074bdde49e7ccc95ea0d76d08ed6ba
wpt-pr: 48645
2024-10-18 08:39:09 +00:00
moz-wptsync-bot
54a7b0fd66 Bug 1924957 [wpt PR 48643] - Update wpt metadata, a=testonly
wpt-pr: 48643
wpt-type: metadata
2024-10-18 08:39:09 +00:00
Noam Rosenthal
ec204ef8a9 Bug 1924957 [wpt PR 48643] - Add view-transition-capture-mode CSS property, a=testonly
Automatic update from web-platform-tests
Add view-transition-capture-mode CSS property

This property has the values of flat | layered, layered by
default.

- Flat is the current way we capture view transition content
- Layered is the new way, which captures box decorations and
  effects as style instead of baking them into the image.

Bug: 347947051
Change-Id: If70c8436ef34d194002452447dbd2d5ebedfa387
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5935195
Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org>
Reviewed-by: Khushal Sagar <khushalsagar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1369285}

--

wpt-commits: c35d4f9d01157cbf8b49d1f9906dfbc36865a839
wpt-pr: 48643
2024-10-18 08:39:08 +00:00
Kent Tamura
331ad1e869 Bug 1924946 [wpt PR 48640] - sideways: Fix an issue of block fragmentation, a=testonly
Automatic update from web-platform-tests
sideways: Fix an issue of block fragmentation

Fix layout in sideways-rl writing mode.

* transform-025.html is based on transform-014.html.

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

--

wpt-commits: 32d9a66c19df2a7b840930d1c42597c0972edf84
wpt-pr: 48640
2024-10-18 08:39:07 +00:00
Kent Tamura
18b6681b0f Bug 1924944 [wpt PR 48639] - sideways: Support scroll anchoring, a=testonly
Automatic update from web-platform-tests
sideways: Support scroll anchoring

* Store the anchor object offset as a LogicalOffset, not a block-
  flipped LayoutPoint
* Add functions converting between LogicalOffset and gfx::Vector2d /
  gfx::PointF / ScrollOffset.

Bug: 40501131
Change-Id: I8d32b1a2a8e9fc6ade68f12188430ac768dd14d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5933384
Reviewed-by: Koji Ishii <kojii@chromium.org>
Auto-Submit: Kent Tamura <tkent@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1369217}

--

wpt-commits: 33cd7ece3a146fb5b2025a27ba8a6f6d3a72ac95
wpt-pr: 48639
2024-10-18 08:39:06 +00:00
moz-wptsync-bot
59b89a1969 Bug 1924942 [wpt PR 48638] - Update wpt metadata, a=testonly
wpt-pr: 48638
wpt-type: metadata
2024-10-18 08:39:06 +00:00
Kent Tamura
adfe7ceb49 Bug 1924942 [wpt PR 48638] - sideways: Support of position-try-fallbacks, a=testonly
Automatic update from web-platform-tests
sideways: Support of `position-try-fallbacks`

Bug: 40501131
Change-Id: Ia8d1d4424c2a72e7cdb5fbaa531cd3337577203e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5934043
Auto-Submit: Kent Tamura <tkent@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1369215}

--

wpt-commits: ee6d1e048c1d9cc6de8be13cf0dbda4bf79c41ec
wpt-pr: 48638
2024-10-18 08:39:05 +00:00
Austin Sullivan
e3b086be93 Bug 1924933 [wpt PR 48637] - webnn: Make MLOperandDescriptor.shape a required dictionary member, a=testonly
Automatic update from web-platform-tests
webnn: Make MLOperandDescriptor.shape a required dictionary member

See https://github.com/webmachinelearning/webnn/issues/758

Also removes the temporary support for passing "dimensions" which was
added in https://crrev.com/e7e99aa5

Bug: 365813262
Cq-Include-Trybots: luci.chromium.try​:mac14-blink-rel,win11-blink-rel
Change-Id: Ib714ae540da7fbd7d55365dc739bfb8dbf266406
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5850659
Reviewed-by: ningxin hu <ningxin.hu@intel.com>
Commit-Queue: ningxin hu <ningxin.hu@intel.com>
Auto-Submit: Austin Sullivan <asully@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1369192}

--

wpt-commits: c2d015181a4956b2f91061595ec7da93823ec3ec
wpt-pr: 48637
2024-10-18 08:39:04 +00:00
Pranav Modi
0149807b85 Bug 1924905 [wpt PR 48634] - [Editing] Double-click selects wrong range for any element styled as float., a=testonly
Automatic update from web-platform-tests
[Editing] Double-click selects wrong range for any element styled
as float.

The CL addresses the bug where double click on any list item
selects multiple list items when list item has floating style.
When there are multiple list items and anyone is selected using
double click, it selects all the list items along with the one
on which double click was performed. This happens because in
|ComputeInlineContentsAsBlockFlow|, float style is not considered
as text segment boundary and the selection is expanded for all.

Also, for other cases involving floating style on element, the
selection is not as expected as selecting a float element by
double click selects everything. This is fixed by removing the
condition which expands the selection when the element has a
floating style.

Firefox has the behavior similar to what we get after the fix
i.e it doesn't expand the selection for floating elements. Webkit
however, seems to have the same bug as chromium expanding the
selection for floating elements.

Bug: 40711666
Change-Id: I408b388cfd0cb5a8213ef2c433b547376ff83367
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5842631
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Pranav Modi <pranavmodi@microsoft.com>
Reviewed-by: Sanket Joshi <sajos@microsoft.com>
Reviewed-by: Siye Liu <siliu@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1369172}

--

wpt-commits: 721205f92ea832a0197975112a48f5355c8bfcbf
wpt-pr: 48634
2024-10-18 08:39:04 +00:00
lisa0314
f323da2904 Bug 1924928 [wpt PR 48636] - Reland "Reland "webnn: add int4 and uint4 support for quantizeLinear and dequantizeLinear"", a=testonly
Automatic update from web-platform-tests
Reland "Reland "webnn: add int4 and uint4 support for quantizeLinear and dequantizeLinear""

This is a reland of commit c80028acacc05ac6687d44d9af5c95851b88b11e
The original commit was reverted due to the crash of
WebNNGraphImplTest.Resample2dTest for android-oreo-x86-rel.

The root cause of this failure is due to the original CL introduces
GetBitsPerElement() which causes the intermediate bits number as
(34902 * 23243 * 8 * 4: the input operand dimensions [1, 1, 34902, 23343])
which is greater than maximum size_t on 32-bit system, and causes
OperandDescriptor::Create(type, dimensions) returning an unexpected
result.

The solution in this reland CL is using uint64_t instead of size_t for
intermediate calculation result. Besides, this reland CL also fixes a
minor data limited error of quantize_linear_zero_point for DirectML
backend.

Original change's description:
> Reland "webnn: add int4 and uint4 support for quantizeLinear and dequantizeLinear"
>
> This is a reland of commit 3a1707bcd20fa2fc4b1036755259ed01dc6632d5.
> The original commit was reverted due to the crash of WebNNGraphImplTest.Resample2dTest for android-oreo-x86-rel.
>
> However, I can't reproduce this crash locally and the
> android-oreo-x86-rel bot in chromium can pass now without
> changing any code.
>
> Original change's description:
> > webnn: add int4 and uint4 support for quantizeLinear and dequantizeLinear
> >
> > This CL also adds some WPT conformance tests to verify the
> > implementation.
> >
> > Bug: 40206287
> > Change-Id: Ieb8ce3ae2182388ae7cc98cd1fc8e3d2dcd9c7d2
> > Cq-Include-Trybots: luci.chromium.try​:win11-blink-rel, mac14.arm64-blink-rel, mac14-blink-rel, mac15.arm64-blink-rel, mac15-blink-rel, linux-blink-rel
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5861613
> > Commit-Queue: Lisha Guo <lisha.guo@intel.com>
> > Reviewed-by: ningxin hu <ningxin.hu@intel.com>
> > Reviewed-by: Alex Gough <ajgo@chromium.org>
> > Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com>
> > Cr-Commit-Position: refs/heads/main@{#1365343}
>
> Bug: 40206287
> Change-Id: I8c3b922d092214e4c56ffb5298b86c8d12baf8c0
> Cq-Include-Trybots: luci.chromium.try​:win11-blink-rel, mac14.arm64-blink-rel, mac14-blink-rel, mac15.arm64-blink-rel, mac15-blink-rel, linux-blink-rel
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5918905
> Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com>
> Reviewed-by: ningxin hu <ningxin.hu@intel.com>
> Reviewed-by: Alex Gough <ajgo@chromium.org>
> Commit-Queue: Lisha Guo <lisha.guo@intel.com>
> Cr-Commit-Position: refs/heads/main@{#1366660}

Bug: 40206287
Change-Id: I1dab0a282f8579151387bb67b9045129186215d1
Cq-Include-Trybots: luci.chromium.try​:win11-blink-rel, mac14.arm64-blink-rel, mac14-blink-rel, mac15.arm64-blink-rel, mac15-blink-rel, linux-blink-rel
Include-Ci-Only-Tests: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5922495
Reviewed-by: Alex Gough <ajgo@chromium.org>
Commit-Queue: Lisha Guo <lisha.guo@intel.com>
Reviewed-by: ningxin hu <ningxin.hu@intel.com>
Cr-Commit-Position: refs/heads/main@{#1369144}

--

wpt-commits: a7781e368543be6c8dea73a1bcba3d5065d29eec
wpt-pr: 48636
2024-10-18 08:39:03 +00:00
moz-wptsync-bot
78990be8a5 Bug 1923910 [wpt PR 48563] - Update wpt metadata, a=testonly
wpt-pr: 48563
wpt-type: metadata
2024-10-18 08:39:02 +00:00
Kevin Babbitt
d0186282c7 Bug 1923910 [wpt PR 48563] - Fix use of color channel keywords in calc() division denominators, a=testonly
Automatic update from web-platform-tests
Fix use of color channel keywords in calc() division denominators

The calc expression parser was enforcing a restriction that the
denominator must be a number, and depending on this restriction to
simplify divisions at parse time. This restriction was specified in
css-values-3 but relaxed in css-values-4.

Prior to crrev.com/c/5825542, when a color channel keyword was used
in a calc() expression, we would eagerly substitute in the numeric value
as soon as we encountered the keyword token. As a result, the parsed
expression would satisfy the restriction and the expression would be
accepted. As of that change, we now do the value substitution later in
order to preserve the originally specified form.

The fix is to relax the type restriction in code, which necessitates
implementing support for Invert nodes in calculation expression trees
as specified in css-values-4.

This CL also re-enables CSSRelativeColorLateResolveAlways, which had
been disabled in crrev.com/c/5912180 due to this bug.

Bug: 371224775
Change-Id: Ia9b08030a08a64023b166abbd332e8c6db9043d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5909795
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Kevin Babbitt <kbabbitt@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1369108}

--

wpt-commits: 3585305e8365779fac42dd87e4f52c89c3e884a6
wpt-pr: 48563
2024-10-18 08:39:01 +00:00
moz-wptsync-bot
84924b0349 Bug 1924772 [wpt PR 48625] - Update wpt metadata, a=testonly
wpt-pr: 48625
wpt-type: metadata
2024-10-18 08:39:01 +00:00
Traian Captan
d50cef692b Bug 1924772 [wpt PR 48625] - Add ::check pseudo element parsing support, a=testonly
Automatic update from web-platform-tests
Add ::check pseudo element parsing support

Defined in:
https://github.com/w3c/csswg-drafts/pull/10986

Bug: 369319576
Change-Id: I90fb6ef81fd5941709fae6936c7474339a7715e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5928423
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Commit-Queue: Traian Captan <tcaptan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1369011}

--

wpt-commits: 181e33be283f60d28349f6828782091489684ece
wpt-pr: 48625
2024-10-18 08:39:00 +00:00
moz-wptsync-bot
8ac6f4ed79 Bug 1924876 [wpt PR 48620] - Update wpt metadata, a=testonly
wpt-pr: 48620
wpt-type: metadata
2024-10-18 08:38:59 +00:00
Noam Rosenthal
a755b4d3ec Bug 1924876 [wpt PR 48620] - Refactor visual overflow computation for view-transitions (part 2), a=testonly
Automatic update from web-platform-tests
Refactor visual overflow computation for view-transitions (part 2)

Use the new CC mechanism to compute the visual overflow.
We pass the layout-computed visual overflow as the max extent, and
then let CC correct it in order to map the content rect.

- We keep the replaced-content geometry projection as is, but also pass
  the "max extents" to the CC laye (ViewTransitionContentLayerImpl),
  and use it to map the border box of the original element to the
  content box of the pseudo-element. Note that the border-box is now
  in enclosing-layer space, as it needs to map correctly to the
  max extents and actual extents. The border box sent over the wire
  also has includes the offset from the enclosing layer, which would
  only be different from zero for inline elements.

- When the captured rects from CC are delivered, they are used to map.
  the contents of the old
  pseudo-elements.

Bug: 347947051
Change-Id: I5202078666d016156c5abee99772726947e8a1d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5920431
Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Khushal Sagar <khushalsagar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1368988}

--

wpt-commits: ba4639ad64908ba29f6a9b9bf7a4d6b74dedfed2
wpt-pr: 48620
2024-10-18 08:38:58 +00:00
moz-wptsync-bot
34e2635f14 Bug 1922825 [wpt PR 48476] - Update wpt metadata, a=testonly
wpt-pr: 48476
wpt-type: metadata
2024-10-18 08:38:57 +00:00
Kevin Babbitt
abedf2e357 Bug 1922825 [wpt PR 48476] - Preserve none in computed relative colors without a conversion, a=testonly
Automatic update from web-platform-tests
Preserve `none` in computed relative colors without a conversion

Per discussion at https://github.com/w3c/csswg-drafts/issues/10360,
there are a few test cases that incorrectly expect `none` to be
resolved to 0 in relative colors where no color space conversion was
needed. This CL updates both the test and the behavior in Blink.

Bug: 365818844
Change-Id: I14d6f83d792e4fb4e70171b833de308c66611fb4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5905968
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Commit-Queue: Kevin Babbitt <kbabbitt@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1368963}

--

wpt-commits: 766b106752e010363f30db798ba2ce2bceee25fb
wpt-pr: 48476
2024-10-18 08:38:57 +00:00
Liam Brady
69a166944c Bug 1924620 [wpt PR 48614] - Fenced frame: Prevent file://localhost/* files from loading., a=testonly
Automatic update from web-platform-tests
Fenced frame: Prevent file://localhost/* files from loading.

Fenced frames are meant to be able to load the following URLs with a
default constructor:
- about:blank URLs
- https://* URLs
- http://localhost URLs

The `net::IsLocalhost()` check that is currently being used for the last
case is only checking that the URL starts with "localhost", not that
the scheme is http/https. This allows the fenced frame to load URLs like file://localhost/path/to/file. This CL tightens the check to also
check that the scheme is HTTP. The "https://localhost/*" case will
still be covered by the "https://*" check.

Bug: 368628042
Change-Id: If53573f5701c28e5674ecb524191cddc12b950fe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5902121
Reviewed-by: Shivani Sharma <shivanisha@chromium.org>
Commit-Queue: Liam Brady <lbrady@google.com>
Cr-Commit-Position: refs/heads/main@{#1368957}

--

wpt-commits: f4101379d6fbafa797c6e05a8e8d51f33cbb8602
wpt-pr: 48614
2024-10-18 08:38:56 +00:00
moz-wptsync-bot
33ceb41536 Bug 1924610 [wpt PR 48612] - Update wpt metadata, a=testonly
wpt-pr: 48612
wpt-type: metadata
2024-10-18 08:38:55 +00:00
Di Zhang
5c7e08b9c9 Bug 1924610 [wpt PR 48612] - [Selection API] Use composed DOM tree for getComposedRanges, a=testonly
Automatic update from web-platform-tests
[Selection API] Use composed DOM tree for getComposedRanges

We update the implementation of getComposedRanges to use the cached
selection in DOM Tree to find start/end endpoints. These endpoints
are composed because they are not restricted to be within one TreeScope,
unlike the range associated with the selection.

We also remove the old logic of adding composed_range_ in Range to cache
flat tree endpoints.

Change-Id: Iee7807f74348d09a4b1e7c3dbb4ebe514bde874c
Bug: 356905057
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5921292
Commit-Queue: Di Zhang <dizhangg@chromium.org>
Reviewed-by: Mason Freed <masonf@chromium.org>
Reviewed-by: Siye Liu <siliu@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1368897}

--

wpt-commits: 94354b14d6c961a127691a205d2a7903c1b65412
wpt-pr: 48612
2024-10-18 08:38:55 +00:00
Nan Lin
39f23673f9 Bug 1924151 [wpt PR 48578] - Remove ar_debug requirement for cookie-based debug reporting, a=testonly
Automatic update from web-platform-tests
Remove ar_debug requirement for cookie-based debug reporting

https://github.com/WICG/attribution-reporting-api/pull/1441

Bug: 369506940, 330745162
Change-Id: I1dfc23f96e9d7a594c23114ad707ceffcde1161e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5887664
Reviewed-by: Andrew Paseltiner <apaseltiner@chromium.org>
Commit-Queue: Nan Lin <linnan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1368833}

--

wpt-commits: 7275b2c6bf4b9312a1945a451a5333e8922ee524
wpt-pr: 48578
2024-10-18 08:38:54 +00:00
Domenic Denicola
b1608b67a2 Bug 1924799 [wpt PR 48626] - Navigation API: deduplicate some tests using variants, a=testonly
Automatic update from web-platform-tests
Navigation API: deduplicate some tests using variants

Fixed: 40217734
Change-Id: I4ef5ab2c11d3eb4a7e71a57276da39083e0ba9c6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5933484
Auto-Submit: Domenic Denicola <domenic@chromium.org>
Reviewed-by: Nate Chapin <japhet@chromium.org>
Commit-Queue: Nate Chapin <japhet@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1368804}

--

wpt-commits: 44d400dc647c85fccaa1c8a2f2c97c8e9b1c01b7
wpt-pr: 48626
2024-10-18 08:38:53 +00:00
Maksim Sadym
496cc2eec7 Bug 1923033 [wpt PR 48494] - [WebDriver BiDi] Mark iframe screenshot test as tentative, a=testonly
Automatic update from web-platform-tests
Mark iframe screenshot test as optional (#48494)

--

wpt-commits: 9c76757f5332678f9952f6ccb3824f62d30eca1f
wpt-pr: 48494
2024-10-18 08:38:52 +00:00
moz-wptsync-bot
a4b99ce339 Bug 1924634 [wpt PR 48617] - Update wpt metadata, a=testonly
wpt-pr: 48617
wpt-type: metadata
2024-10-18 08:38:51 +00:00