Commit Graph

914949 Commits

Author SHA1 Message Date
dependabot[bot]
5659c6a7c1 Bug 1894121 [wpt PR 45961] - Bump cairocffi from 1.6.1 to 1.7.0 in /tools, a=testonly
Automatic update from web-platform-tests
Bump cairocffi from 1.6.1 to 1.7.0 in /tools

Bumps [cairocffi](https://github.com/Kozea/cairocffi) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/Kozea/cairocffi/releases)
- [Changelog](https://github.com/Kozea/cairocffi/blob/main/NEWS.rst)
- [Commits](https://github.com/Kozea/cairocffi/compare/v1.6.1...v1.7.0)

---
updated-dependencies:
- dependency-name: cairocffi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
--

wpt-commits: d84f8068819543269296564ac93c35ac9a71edd4
wpt-pr: 45961
2024-05-02 07:27:37 +00:00
Philip Jägenstedt
a6a6f0e308 Bug 1894175 [wpt PR 45978] - Remove dependencies for Python < 3.8, a=testonly
Automatic update from web-platform-tests
Remove dependencies for Python < 3.8 (#45978)

--

wpt-commits: 7546924df8a00f9da425fb2eb3f6193dda0ec746
wpt-pr: 45978
2024-05-02 07:27:37 +00:00
Gyuyoung Kim
7d36343009 Bug 1892682 [wpt PR 45819] - Set the default device_serial argument, a=testonly
Automatic update from web-platform-tests
Set the default device_serial argument (#45819)

It appears that WPT does not run on the Chrome Android browser
of the simulator unless the '--device-serial' argument is
explicitly added, after the PR[1] that introduced support for
multiple emulators. The CL only sets the default value(emulator-5554)
to Firefox Android. So this CL sets the default value to Chrome
Android browsers as well.

[1] Support multiple emulators for Android browsers (#31634)
    (https://github.com/web-platform-tests/wpt/pull/31634)
--

wpt-commits: 99f5bfcd8599009aaedb3ddb341ea1be833b0db6
wpt-pr: 45819
2024-05-02 07:27:36 +00:00
dependabot[bot]
07243af57f Bug 1859062 [wpt PR 42540] - Bump pycodestyle from 2.11.0 to 2.11.1 in /tools, a=testonly
Automatic update from web-platform-tests
Bump pycodestyle from 2.11.0 to 2.11.1 in /tools

Bumps [pycodestyle](https://github.com/PyCQA/pycodestyle) from 2.11.0 to 2.11.1.
- [Release notes](https://github.com/PyCQA/pycodestyle/releases)
- [Changelog](https://github.com/PyCQA/pycodestyle/blob/main/CHANGES.txt)
- [Commits](https://github.com/PyCQA/pycodestyle/compare/2.11.0...2.11.1)

---
updated-dependencies:
- dependency-name: pycodestyle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
--

wpt-commits: bda0e68ea6bd664e482fcc814e181ef9c224c24d
wpt-pr: 42540
2024-05-02 07:27:35 +00:00
Shiyi Zou
f882341b09 Bug 1893848 [wpt PR 45945] - webnn: Enforce input data type constraints for gemm and matmul, a=testonly
Automatic update from web-platform-tests
webnn: Enforce input data type constraints for gemm and matmul

As specified in https://github.com/webmachinelearning/webnn/pull/646

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

--

wpt-commits: 0664d8153b085b9b3a94ecc52bc5b04d37e7d6fa
wpt-pr: 45945
2024-05-02 07:27:35 +00:00
mei1127
a2ca0f7237 Bug 1893468 [wpt PR 45911] - webnn: Migrate split validation tests to WPTs, a=testonly
Automatic update from web-platform-tests
webnn: Migrate split validation tests to WPTs

This CL adds WPT tests for split and removes the unit tests
`MLGraphBuilderTest.SplitTest`, `MLGraphTestMojo.SplitTest` and
`MLGraphTest.SplitTest`.

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

--

wpt-commits: e59c428aca69291f9e687530dffd73a3721a4270
wpt-pr: 45911
2024-05-02 07:27:34 +00:00
Antoine Quint
9faa1ced65 Bug 1894062 [wpt PR 45958] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=273364, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=273364 (#45958)

--

wpt-commits: 972ef8e6bf4093512c27761a14638f531d29d485
wpt-pr: 45958
2024-05-02 07:27:33 +00:00
moz-wptsync-bot
6b4e7747c3 Bug 1894129 [wpt PR 45965] - Update wpt metadata, a=testonly
wpt-pr: 45965
wpt-type: metadata
2024-05-02 07:27:32 +00:00
Sam Weinig
62c0a8c8b0 Bug 1894129 [wpt PR 45965] - Sync and regenerate the canvas tests after fd6e3178, a=testonly
Automatic update from web-platform-tests
Sync and regenerate the canvas tests after fd6e3178 (#45965)

Only the manifest for the element canvas tests was updated
in fd6e3178. This updates the offscreen manifest and generates
the actual tests for both.
--

wpt-commits: 679d8854550a361c073eca4b6a0813dd00dba830
wpt-pr: 45965
2024-05-02 07:27:32 +00:00
moz-wptsync-bot
1ea18e97c4 Bug 1894148 [wpt PR 45971] - Update wpt metadata, a=testonly
wpt-pr: 45971
wpt-type: metadata
2024-05-02 07:27:31 +00:00
L. David Baron
6308801a5a Bug 1894148 [wpt PR 45971] - Handle single-argument form of CSS calc-size()., a=testonly
Automatic update from web-platform-tests
Handle single-argument form of CSS calc-size().

Bug: 313072
Change-Id: I8f27f77618efe466bfee67ad40d1100985106b0d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5497408
Reviewed-by: Daniil Sakhapov <sakhapov@chromium.org>
Commit-Queue: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1294017}

--

wpt-commits: ce9bd5526a449f2ce25b5179c7e272f9659651ef
wpt-pr: 45971
2024-05-02 07:27:30 +00:00
moz-wptsync-bot
0dfcf37dae Bug 1892346 [wpt PR 45792] - Update wpt metadata, a=testonly
wpt-pr: 45792
wpt-type: metadata
2024-05-02 07:27:29 +00:00
Joey Arhar
3286fe8859 Bug 1892346 [wpt PR 45792] - Support :user-valid/:user-invalid on multifield inputs, a=testonly
Automatic update from web-platform-tests
Support :user-valid/:user-invalid on multifield inputs

This patch makes :user-valid and :user-invalid start working on inputs
with type date, datetime-local, and time.

I matched the webkit behavior for when to start matching in response to
keyboard input, and added a separate tentative test for that behavior.

Fixed: 328674226
Change-Id: If3c394e43043a0b3d27eac22d0671c6b45b82bc6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5463293
Reviewed-by: Di Zhang <dizhangg@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1294002}

--

wpt-commits: 6a7c427b1e2f8c5542e4515ae7d73afaa6e0f236
wpt-pr: 45792
2024-05-02 07:27:29 +00:00
moz-wptsync-bot
d52a52dc4a Bug 1893769 [wpt PR 45936] - Update wpt metadata, a=testonly
wpt-pr: 45936
wpt-type: metadata
2024-05-02 07:27:28 +00:00
Ian Kilpatrick
fbbc6dc6a3 Bug 1893769 [wpt PR 45936] - [layout] Fix synthesis of inline baselines., a=testonly
Automatic update from web-platform-tests
[layout] Fix synthesis of inline baselines.

Previously for <button>, <input type=button> (and friends), and
<input type=range> we'd explicitly produce a baseline at appropriate
"end" edge.

This wasn't strictly correct instead we should be synthesizing them
within LogicalBoxFragment::BaselineMetrics.

There are three different ways to synthesize these baseline, off the
margin-box (the default), content-box (buttons), and border-box (range
and checkbox/radio with effective appearance).

Instead of checking all these conditions, this patch introduces an
additional field to the computed style to tell BaselineMetrics which
edge the synthesize off.

This patch changes two WPT tests which I believe were incorrect, see:
https://github.com/web-platform-tests/wpt/issues/45889

The TL;DR is that:
<button></button> <button style="contain:layout"></button>

Currently have different baselines when they shouldn't.

The image rebaselines are ensuring that we synthesize the baseline
for range controls consistently. Previously we'd synthesize them off
the border-box if they were in the same writing-mode, and off the
margin-box if in a different writing-mode.

Bug: 40937312
Change-Id: I28eedfbce58ead9d5e3119ae3b164c559fb9267c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5479489
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1293898}

--

wpt-commits: b312464e2203190809de7c34055a51b7643ba6c2
wpt-pr: 45936
2024-05-02 07:27:27 +00:00
Brad Triebwasser
d3c7991230 Bug 1890686 [wpt PR 45636] - Remove legacy window-placement code., a=testonly
Automatic update from web-platform-tests
Remove legacy window-placement code.

1) Removes legacy window-placement permission and permission policy
   code.
2) Updates tests from testing both variants to only test
   window-management.
3) Updates comments that were referencing the old github URL.
4) Removes the experimental flag: WindowPlacementPermissionAlias
5) Removes kWindowPlacementPermissionAlias base feature. (Note that
it was previously enabled by default but the corresponding blink
feature was "experimental" which was enough to disable the feature).
5) Removes related deprecation warning tests.

Bug: 40842072
Change-Id: I58da5f7409d93c48cc7c65f09caa22577e8c975d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5441562
Reviewed-by: Colin Blundell <blundell@chromium.org>
Reviewed-by: Mike Wasserman <msw@chromium.org>
Reviewed-by: Robert Kaplow <rkaplow@chromium.org>
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Commit-Queue: Brad Triebwasser <btriebw@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1293891}

--

wpt-commits: 0ad7b70827017751e454fb9fe5cda1a64e99a51c
wpt-pr: 45636
2024-05-02 07:27:26 +00:00
moz-wptsync-bot
4bbf585ad8 Bug 1892412 [wpt PR 45800] - Update wpt metadata, a=testonly
wpt-pr: 45800
wpt-type: metadata
2024-05-02 07:27:26 +00:00
Noam Rosenthal
4a7de7f539 Bug 1892412 [wpt PR 45800] - Keep element as fullscreen during atomic move, a=testonly
Automatic update from web-platform-tests
Keep element as fullscreen during atomic move

- We keep the kContainsFullScreenElement flag on the element, and
  don't remove the element from top-layer
- We still clear the kContainsFullScreenElement flag from the old
  node's ancestor chain
- When re-inserting, we set the kContainsFullScreenElement on the
  new ancestor chain

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

--

wpt-commits: f2874a51b30e774588a7dcdbdf82f6198c32d8d3
wpt-pr: 45800
2024-05-02 07:27:25 +00:00
Xianzhu Wang
7d9842e8a7 Bug 1893330 [wpt PR 45894] - Use simple rrect instead of Path for ClipPathClip if possible, a=testonly
Automatic update from web-platform-tests
Use simple rrect instead of Path for ClipPathClip if possible

This can enable fast rounded corners and avoid mask layers in more
cases.

Bug: 40241108
Change-Id: Ie80a511446e8905ff5f6793213e9f244fa1bb09f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5464825
Reviewed-by: Khushal Sagar <khushalsagar@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1293880}

--

wpt-commits: fd379c4717c024424f2be6b3e23938dd8ef5c326
wpt-pr: 45894
2024-05-02 07:27:24 +00:00
moz-wptsync-bot
350b0527e9 Bug 1892239 [wpt PR 45782] - Update wpt metadata, a=testonly
wpt-pr: 45782
wpt-type: metadata
2024-05-02 07:27:23 +00:00
Noam Rosenthal
de80630096 Bug 1892239 [wpt PR 45782] - Disallow atomic moves when moving across shadow/document, a=testonly
Automatic update from web-platform-tests
Disallow atomic moves when moving across shadow/document

Using the node's TreeScope as a way to ensure this is valid.
Added new tests that rely on the CSS transition behavior of moveBefore.

This narrows down the impact surface of moveBefore, preventing potential
unknown edge cases. We can revise this and enable same-document
cross-shadow atomic moves in the future if the use case arises and the
implications are clear.

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

--

wpt-commits: 6fd74049d87db2bcbcdb483c450ad2b2a241e73b
wpt-pr: 45782
2024-05-02 07:27:23 +00:00
Mike West
e0ebb64846 Bug 1893975 [wpt PR 45952] - Early-exit from fetch metadata tests that cannot succeed., a=testonly
Automatic update from web-platform-tests
Early-exit from fetch metadata tests that cannot succeed.

`new Worker()` can only make same-origin requests: we're currently
testing a number of cross-origin cases that consistently fail across
browsers.

Bug: 40475877
Change-Id: I52ba08fa0e748ef6c79aaa891ef0d380310c98c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5497155
Reviewed-by: Antonio Sartori <antoniosartori@chromium.org>
Commit-Queue: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1293796}

--

wpt-commits: c49bdcd7c8f6c99078d31d47eeccf194cda58a6c
wpt-pr: 45952
2024-05-02 07:27:22 +00:00
moz-wptsync-bot
35819f8d46 Bug 1893179 [wpt PR 45875] - Update wpt metadata, a=testonly
wpt-pr: 45875
wpt-type: metadata
2024-05-02 07:27:21 +00:00
Dominic Farolino
eedba1e9ea Bug 1893179 [wpt PR 45875] - DOM: Implement some(), every(), find() Observable operators, a=testonly
Automatic update from web-platform-tests
DOM: Implement `some()`, `every()`, `find()` Observable operators

This CL implements the following Observable operators:
 - some()
 - every()
 - find()

Their inclusion is to be consistent with Iterator helpers [1] and Async
iterator helpers [2], and is discussed in
https://github.com/WICG/observable/issues/126 and to a lesser extent
https://github.com/WICG/observable/issues/106.

See https://github.com/WICG/observable/pull/137 for the specification.

[1]: https://github.com/tc39/proposal-iterator-helpers
[2]: https://github.com/tc39/proposal-async-iterator-helpers

For WPTs:
Co-authored-by: ben@benlesh.com

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

--

wpt-commits: 8c6b479fae23badbb86e9c993f5b5fbb66e16905
wpt-pr: 45875
2024-05-02 07:27:21 +00:00
Manuel Rego Casasnovas
5b717a6d8c Bug 1893626 [wpt PR 45927] - [css-viewport] Remove assert for offsetTop after modifying zoom property, a=testonly
Automatic update from web-platform-tests
[css-viewport] Remove assert for offsetTop after modifying zoom property (#45927)

There's no spec about what we should do with the scrollTop value
after applying zoom. Which makes Firefox fail the test:
css/css-viewport/zoom/scroll-top-test-with-zoom.html

Anyway checking that intermediate value is not relevant for this test,
that is checking that the scrollTop value doesn't change
when coming back to the initial zoom level.
So this patch removes the assert checking that value.

See https://bugzilla.mozilla.org/show_bug.cgi?id=1891910
for more details.
--

wpt-commits: 7047dc1ca2964fde10d4ff477f56c3309a0c2fdf
wpt-pr: 45927
2024-05-02 07:27:20 +00:00
Sam Weinig
8e6635b8ce Bug 1893818 [wpt PR 45941] - [css-color] Tests assume old hsl()/hsla() clipping behavior or depend on unclear gamut mapping to sRGB, a=testonly
Automatic update from web-platform-tests
[css-color] Tests assume old hsl()/hsla() clipping behavior or depend on unclear gamut mapping to sRGB (#45941)

https://github.com/web-platform-tests/wpt/issues/45814

Removes tests that were assuming the CSS Color 3 rules for hsl()/hsla()
where lightness and saturation values outside of 0-100 were clamped to
that range. CSS Color 4 states that only saturation below 0 is clamped.

To make it clear that only the saturation clamping is being tested, the
tests where that is still tested have been renamed to be more clear.
--

wpt-commits: fd6e317871ed6baeedfe25b03b79b73eb898d15c
wpt-pr: 45941
2024-05-02 07:27:19 +00:00
Maksim Sadym
9fbda4f321 Bug 1893999 [wpt PR 45953] - Fix chrome install, a=testonly
Automatic update from web-platform-tests
Fix chrome install (#45953)

--

wpt-commits: 1fedf57504633f27bdff95b5ee9ebda1bdfcd4ca
wpt-pr: 45953
2024-05-02 07:27:18 +00:00
Mike West
d6c3bd6601 Bug 1893959 [wpt PR 45951] - Remove appcache tests for fetch metadata., a=testonly
Automatic update from web-platform-tests
Remove appcache tests for fetch metadata.

We're generating these tests, but [no browser supports the underlying
feature][1]. Let's stop generating them.

[1]: https://wpt.fyi/results/fetch/metadata/generated?label=master&label=experimental&aligned&q=fetch%2Fmetadata

Change-Id: I65092ac35c74227c4b24d95b4dc07beac5707628
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5490688
Commit-Queue: Mike West <mkwst@chromium.org>
Reviewed-by: Antonio Sartori <antoniosartori@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1293613}

--

wpt-commits: 42659732d5374fca859ab850785ef328c6050a9c
wpt-pr: 45951
2024-05-02 07:27:18 +00:00
moz-wptsync-bot
42d5173457 Bug 1893942 [wpt PR 45950] - Update wpt metadata, a=testonly
wpt-pr: 45950
wpt-type: metadata
2024-05-02 07:27:17 +00:00
ziransun
1c2029c1e6 Bug 1893942 [wpt PR 45950] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=273312, a=testonly
Automatic update from web-platform-tests
Export made from a WebKit repository (#45950)

Co-authored-by: Ziran Sun <zsun@igalia.com>
--

wpt-commits: 07358b5e59c46e0c60b6629c23d811f88738b993
wpt-pr: 45950
2024-05-02 07:27:16 +00:00
Eitan Isaacson
05fe9c0ab6 Bug 1893745 [wpt PR 45933] - Fix typo in aria-element-reflection.html, a=testonly
Automatic update from web-platform-tests
Fix typo in aria-element-reflection.html (#45933)

Rename aria-labeledby to aria-labelledby.
--

wpt-commits: fe03367322a07bc34134a6311b9fc1e33c7cbb2b
wpt-pr: 45933
2024-05-02 07:27:15 +00:00
mei1127
1e4714c0c2 Bug 1892933 [wpt PR 45845] - webnn: Migrate Pad validation tests to WPTs, a=testonly
Automatic update from web-platform-tests
webnn: Migrate Pad validation tests to WPTs

This CL adds WPT tests for pad and removes the unit tests
`MLGraphBuilderTest.PadTest`, `MLGraphTestMojo.PadTest` and
`MLGraphTest.PadTest`.

Bug: 327337526, 328026885
Change-Id: Ic24215dea7c4b995719df168000e107064bef3a4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5476427
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@{#1293535}

--

wpt-commits: 722942181d5c231bda75561c05c44564800a1e42
wpt-pr: 45845
2024-05-02 07:27:15 +00:00
Mark Banner
77b4095f8b Bug 1892718 - Remove moz:distributionID and moz:official substitutions from search engine URLs. r=android-reviewers,boek
Differential Revision: https://phabricator.services.mozilla.com/D208140
2024-05-02 07:15:26 +00:00
Mozilla Releng Treescript
32265ffbee no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
cs -> 609edd15f9a971e3eaa2b6939f4b3ef29bb401a2
es-ES -> beff1baac7c5d71e84eb26c356472af091a82d48
it -> 7b482850ccbe5c55bd1d6ba15dae30df4f70c0ac
tg -> b95bced7b6bfa124d41c9b419f5063a81e612c63
2024-05-02 07:04:27 +00:00
Vinny Diehl
3dde0dac68 Bug 1894248 - Fixup all years < 100 r=arai
Differential Revision: https://phabricator.services.mozilla.com/D209066
2024-05-02 06:41:50 +00:00
Eden Chuang
b68bc791d0 Bug 1892644 - Handling WorkerThreadRunnable::Run() after Worker is "Dead". r=asuth
In bug 1769913, we remove the WorkerThreadRunnable's raw pointer to the corresponding WorkerPrivate and expect the corresponding WorkerPrivate to be obtained by GetCurrentThreadWorkerPrivate() when WorkerThreadRunnable::Run executing.

In general, the assumption is correct. However, it could be violated in the following two situations.

1. WorkerJSContext initialization fails.
2. WorkerThreadRunnable dispatching after CycleCollector shutdown.
In both cases, there is no corresponding WorkerJSContext to get its mWorkerPrivate by GetCurrentThreadWorkerPrivate(), which causes WorkerThreadRunnable to have no WorkerPrivate for executing.

For case 1, the WorkerThreadRunnables are all from WorkerPrivate::mPreStartRunnables. These runnables need a WorkerPrivate to execute WorkerRun(). To cleanup the resources through WorkerRun() if Worker initialization fails or shutdown before DoRunLoop() starts, WorkerThreadRunnable saves a CheckedUnsafePtr<WorkerPrivate> when the runnable is dispacthed to WorkerPrivate::mPreStartRunnables.

For case 2, the solution could be much easier since the WorkerThreadRunnable is not really a WorkerThreadRunnable. Because the Worker is in the "Dead" state, the WorkerThreadRunnable could not be dispatched normally, which means by WorkerThreadRunnable::Dispatch(WorkerPrivate). So it must be from NS_DispatchToCurrentThread(), WorkerThread::Dispatch(), or other ways which treat WorkerThread as nsIThread/nsISerialEventTarget, where the runnable is wrapped as a WorkerThreadRunnable and call nsThread::Dispatch() directly. In this case, the runnable does not need to be WorkerThreadRunnable, so we should be able to call the runnable's Run() directly.

Differential Revision: https://phabricator.services.mozilla.com/D208259
2024-05-02 06:37:51 +00:00
Emilio Cobos Álvarez
3547248052 Bug 1894363 - Make min size of SVG match nsImageFrame. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D209062
2024-05-02 06:34:16 +00:00
mcarare
cf38295ef0 Bug 1892273 - Run Focus Robolectric tests on default targetSdkVersion. r=android-reviewers,boek
Differential Revision: https://phabricator.services.mozilla.com/D207985
2024-05-02 06:14:56 +00:00
Nicolas Chevobbe
dee31f9752 Bug 1892459 - [devtools] Add textInput in event listener breakpoints panel. r=devtools-reviewers,bomsy.
Differential Revision: https://phabricator.services.mozilla.com/D208857
2024-05-02 04:58:51 +00:00
Mike Hommey
4e747370fd Bug 1877926 - Make mach build --keep-going pass --keep-going to cargo. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D200261
2024-05-02 04:20:41 +00:00
Mike Hommey
7ddf1affe2 Bug 1894130 - Upgrade clang 18 toolchain to 18.1.4. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D208954
2024-05-02 04:19:39 +00:00
Botond Ballo
796ed84361 Bug 1874199 - Remove the workaround added in 1854010 to limit APZ animation of sticky elements to the root. r=dlrobertson
We still limit it to Android with dynamic toolbar enabled, which is
all we currently use it for.

Depends on D208238

Differential Revision: https://phabricator.services.mozilla.com/D208239
2024-05-02 02:49:22 +00:00
Dan Robertson
4486d95678 Bug 1874199 - Animate sticky elements by using an animation property on the StickyFrame rather than creating a ReferenceFrame. r=gw,dlrobertson
This uses the support added in the previous patch to set an animation property
on a StickyFrame spatial node directly.

Depends on D208237

Differential Revision: https://phabricator.services.mozilla.com/D208238
2024-05-02 02:49:21 +00:00
Botond Ballo
b7116da08f Bug 1874199 - Add support for animation properties on StickyFrame spatial nodes. r=gw
The support is currently limited to translation transforms.

Depends on D208236

Differential Revision: https://phabricator.services.mozilla.com/D208237
2024-05-02 02:49:21 +00:00
Botond Ballo
64de57eafb Bug 1874199 - Split the handling of StickyFrame and ScrollFrame in SpatialNode::update_transform(). r=gw
The two cases share some code, but the next patch will add extra logic
specific to the StickyFrame case, which makes it cleaner to split them.

Differential Revision: https://phabricator.services.mozilla.com/D208236
2024-05-02 02:49:21 +00:00
Timothy Nikkel
c73c31cbe8 Bug 1805599. Fix handling of invalidations in non-animated vector images that use the webrender imageprovider path. r=aosmond
When not using blob recordings for vector images we use simple surface providers. When we get an invalidation we will call SurfaceCache::InvalidateImage which will set a dirty bit on all blob recordings and remove all other surfaces from the surface cache. And if it finds a blob recording we will call ResumeHonoringInvalidations. This is not enough to invalidate in the case of a non-animated vector image using the webrender GetImageProvider path. Even though the surface isn't in the surface cache anymore it is still cached on the frame and when we tell it about the invalidation it will just has the image provider to update its key. That will call this code

https://searchfox.org/mozilla-central/rev/cdddec7fd690700efa4d6b48532cf70155e0386b/image/DecodedSurfaceProvider.cpp#222

which will just share the same surface as before the invalidation happened again. That will let us handle one invalidation but it still won't fix the bug, we need to call ResumeHonoringInvalidations so that we handle further invalidations.

When not using the image provider path, we don't save an image provider on the frame, that alone would avoid this problem. But we also call ResumeHonoringInvalidations for every successful call of VectorImage::Draw.

* * *
imported patch asvfref

Differential Revision: https://phabricator.services.mozilla.com/D174450
2024-05-02 01:45:32 +00:00
pstanciu
06d741f4fa Backed out 4 changesets (bug 1874199) for causing WR bustages CLOSED TREE
Backed out changeset 0367fe61d2c9 (bug 1874199)
Backed out changeset 00d4835ec154 (bug 1874199)
Backed out changeset 4c6a338c5c30 (bug 1874199)
Backed out changeset 9756d029484d (bug 1874199)
2024-05-02 04:30:55 +03:00
Botond Ballo
9a17098d82 Bug 1874199 - Remove the workaround added in 1854010 to limit APZ animation of sticky elements to the root. r=dlrobertson
We still limit it to Android with dynamic toolbar enabled, which is
all we currently use it for.

Depends on D208238

Differential Revision: https://phabricator.services.mozilla.com/D208239
2024-05-02 00:14:02 +00:00
Dan Robertson
6d41de4103 Bug 1874199 - Animate sticky elements by using an animation property on the StickyFrame rather than creating a ReferenceFrame. r=gw,dlrobertson
This uses the support added in the previous patch to set an animation property
on a StickyFrame spatial node directly.

Depends on D208237

Differential Revision: https://phabricator.services.mozilla.com/D208238
2024-05-02 00:14:02 +00:00
Botond Ballo
25253183fb Bug 1874199 - Add support for animation properties on StickyFrame spatial nodes. r=gw
The support is currently limited to translation transforms.

Depends on D208236

Differential Revision: https://phabricator.services.mozilla.com/D208237
2024-05-02 00:14:01 +00:00