Commit graph

913530 commits

Author SHA1 Message Date
alexical
6943f6182b Bug 1892339 - Add my name to .mailmap r=nika
Differential Revision: https://phabricator.services.mozilla.com/D207931
2024-04-19 13:42:34 +00:00
Emilio Cobos Álvarez
96c9460ed6 Bug 1891797 - Close duplicate tabs from the context menu. r=tabbrowser-reviewers,fluent-reviewers,dao,flod
Differential Revision: https://phabricator.services.mozilla.com/D207633
2024-04-19 13:31:38 +00:00
pollymce
ce44df6deb Bug 1645114 - for screenshot capture, include exception in failure result rather than throwing. r=geckoview-reviewers,tthibaud,twhite
Also remove exception handling at call site in Android components - no need to catch exceptions for method that no longer throws.

Differential Revision: https://phabricator.services.mozilla.com/D206488
2024-04-19 13:28:06 +00:00
Ryan VanderMeulen
9baf4ad1a6 Bug 1892227 - Update LeakCanary to version 2.14. r=android-reviewers,mcarare
Differential Revision: https://phabricator.services.mozilla.com/D207922
2024-04-19 12:06:21 +00:00
William Durand
80ae4a19d0 Bug 1820870 - Add ruleIds filter to getDynamicRules and getSessionRules. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D207520
2024-04-19 10:52:28 +00:00
Norisz Fay
4735c31259 Bug 1891513 - Add missing expectations for failing tests on android a=testonly CLOSED TREE 2024-04-19 13:24:43 +03:00
Valentin Gosu
05684b05da Bug 1851294 - Add nsITLSSocketControl.asyncStartTLS r=jschanck,necko-reviewers,kershaw
Thunderbird uses nsITLSSocketControl.startTLS to drive the XMPP
connection, but since we started enforcing proper thread safety in
bug 1847260, it's asserting when called on the main thread.

This patch marks StartTLS and proxyStartTLS as [noscript] and adds
asyncStartTLS. This new method dispatches a runnable to the socket thread
to call startTLS, then resolves (or rejects with the nsresult as an arg)
on the main thread.

Differential Revision: https://phabricator.services.mozilla.com/D207692
2024-04-19 09:42:41 +00:00
Eden Chuang
2f65cf28ae Bug 1769913 - P3 Remove WorkerRunnable::mWorkerPrivate. r=dom-worker-reviewers,asuth
WorkerRunnable no longer keeps a raw pointer(mWorkerPrivate) for the associated WorkerPrivate in this patch.
Removing the WorkerRunnable::mWorkerPrivate needs to fix the following problems.

1. Thread assertions in WorkerRunnable::Dispatch()

To fix this problem, the associated WorkerPrivate is as a parameter and passed to WorkerRunnable::Dispatch() for the dispatching thread assertions. This associated WorkerPrivate is also propagated to PreDispatch() and PostDispatch() for the children classes of WorkerRunnable()

2. Get the associated WorkerPrivate in WorkerRunnable::Run() for environment setup(GlobabObject, JSContext setting for the runnable)

- For WorkerThreadRunnable

Since WorkerThreadRunnable is supposed to run on the worker thread, it does not need to keep a raw pointer to WorkerPrivate as its class member. GetCurrentThreadWorkerPrivate() should always get the correct WorkerPrivate for WorkerThreadRunnable.

- For WorkerParentThreadRunnable

WorkerParentRef is introduced to keep a RefPtr<WorkerPrivate> for WorkerParentThreadRunnable instead of using a raw pointer.
Checking the associated WorkerPrivate existence by WorkerParentRef at the beginning of WorkerParentThreadRunnable::Run(). If the Worker has already shut down, WorkerParentThreadRunnable cannot do anything with the associated WorkerPrivate, so WorkerParentThreadRunnable::Run() will return NS_OK directly but with a warning.

The associated WorkerPrivate is also passed into WorkerRun(), PreRun(), and PostRun(), so the majority of implementations of child classes of WorkerRunnable do not need to be changed.

If there are any cases in which the child classes of WorkerThreadRunnable/WorkerParentThreadRunnable want to keep the associated WorkerPrivate, they should use WorkerRefs instead of raw pointers.

Depends on D205679

Differential Revision: https://phabricator.services.mozilla.com/D207039
2024-04-19 09:41:58 +00:00
Eden Chuang
8f38838e6e Bug 1769913 - P2 WorkerParentThreadRunnable for the runnables dispatched to worker's parent thread. r=dom-worker-reviewers,asuth
In this patch, WorkerParentThreadRunnable is extracted from WorkerThreadRunnable for runnable on the parent thread.

WorkerParentControlRunnable and WorkerParentDebuggeeRunnable are also created for control runnable and debuggee runnable on the parent thread.

Instead of using WorkerRunnable::Target to indicate the thread target, inheriting WorkerThreadRunnable or WorkerParentThreadRunnable to point out that this runnable should run on the worker thread or on the parent thread. So WorkerRunnable::Target is removed in this patch.

This patch also move the dispatching logic into WorkerPrivate to simplify WorkerRunnable::DispatchInternal()'s implementation.

Depends on D205178

Differential Revision: https://phabricator.services.mozilla.com/D205679
2024-04-19 09:41:57 +00:00
Eden Chuang
e22d6ca385 Bug 1769913 - P1 Make WorkerRunnable to be a base class for runnables on Worker thread and Worker's parent thread. r=dom-worker-reviewers,asuth
This is the first step in splitting the parent thread runnable out of WorkerRunnable.

To reuse the runnable dispatching codes in Worker, we still need a base class for runnable on the worker thread and the parent thread.

In this patch, we rename the original WorkerRunnable to WorkerThreadRunnable and make WorkerRunnable to be WorkerThreadRunnable's parent class.

In the second patch, we will create WorkerParentThreadRunnable and its sub-classes, split from WorkerThreadRunnable for runnable on the Worker's parent thread.

And in the third patch, we will re-structure the content of WorkerParentThreadRunnable to remove unnecessary members.

Differential Revision: https://phabricator.services.mozilla.com/D205178
2024-04-19 09:41:57 +00:00
Tiaan Louw
779d67e064 Bug 1892188 - Remove FromParsedColor trait r=layout-reviewers,emilio
Also removed unused component conversion functions.

Differential Revision: https://phabricator.services.mozilla.com/D207837
2024-04-19 09:32:48 +00:00
Tiaan Louw
6ca1dc6860 Bug 1892188 - Refactor ColorParser r=layout-reviewers,emilio
- Rename ColorParser to ComponentParser.
- Move origin color parsing to parse_color_function.
- Inline the parse_components function.

Differential Revision: https://phabricator.services.mozilla.com/D207836
2024-04-19 09:32:48 +00:00
Tiaan Louw
f3aa418364 Bug 1892188 - Move parser_(modern|legacy)_alpha to ColorParser r=layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D207835
2024-04-19 09:32:47 +00:00
serge-sans-paille
074aeb56b5 Bug 1892198 - No longer support linkerscript style for moz_expand_libs r=glandium
@file are supported by gcc since gcc 7 and by clang since clang 3.x,
which removes the need for linker script to list input files.

We cannot directly use @file from the compiler driver (it would expand
to a large number of arguments and hit the linker limit) so pass
-Wl,@FILE instead, which is supported since binutils 2.17.

As a side effect this removes the LTO dependency from the check.

Differential Revision: https://phabricator.services.mozilla.com/D207839
2024-04-19 09:31:13 +00:00
serge-sans-paille
e003bc34c6 Bug 1891778 - Move mozilla_build_version out of mozbuild/util.py r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D207594
2024-04-19 09:08:57 +00:00
serge-sans-paille
420631590e Bug 1891776 - Split mkdir and ensureParentDir from mozbuild/util.py r=perftest-reviewers,afinder
Differential Revision: https://phabricator.services.mozilla.com/D207593
2024-04-19 09:08:56 +00:00
serge-sans-paille
092fe932b8 Bug 1891774 - Move lock file utility out of mozbuild/util.py r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D207592
2024-04-19 09:08:56 +00:00
serge-sans-paille
da58f10c60 Bug 1891773 - Remove process_time from mozbuild/util.py r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D207591
2024-04-19 09:08:56 +00:00
Tooru Fujisawa
127341e842 Bug 1892103 - Remove ./mach esmify command. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D207927
2024-04-19 08:21:17 +00:00
Alexandra Borovova
7bb3b39c6d Bug 1885577 - [wdspec] Add tests for accessibility attributes locator for "browsingContext.locateNodes" command. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D207850
2024-04-19 07:56:28 +00:00
Alexandra Borovova
3fb9c3479e Bug 1885577 - [bidi] Sort private methods alphabetically in browsingContext windowglobal module. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D207889
2024-04-19 07:56:27 +00:00
Alexandra Borovova
29b6e30408 Bug 1885577 - [bidi] Add support for accessibility attributes locator for "browsingContext.locateNodes" command. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D207849
2024-04-19 07:56:27 +00:00
Alexandra Borovova
7cbdb6ec53 Bug 1885577 - Move accessibility module to the shared folder. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D207848
2024-04-19 07:56:26 +00:00
Alexandra Borovova
9c65e86fac Bug 1885577 - [wdspec] Add invalid cases for locator value for "css", "xpath", "innerText" locator types. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D207847
2024-04-19 07:56:26 +00:00
Alexandra Borovova
e4131cdfcf Bug 1885577 - [bidi] Add validation for locator "value" for "css", "xpath", "innerText" locator types in "browsingContext.locateNodes" command. r=webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D207846
2024-04-19 07:56:26 +00:00
moz-wptsync-bot
d6f680913c Bug 1891513 - [wpt-sync] Update web-platform-tests to 1ef1b02617d86f95e3dc11386fa2c27cc9435ae7, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 1ef1b02617d86f95e3dc11386fa2c27cc9435ae7
wpt-type: landing
2024-04-19 07:34:56 +00:00
JannisBush
fd05726a3b Bug 1890714 [wpt PR 45641] - Fix CSP test descriptions 'same' -> 'self', a=testonly
Automatic update from web-platform-tests
Fix CSP test descriptions 'same' -> 'self' (#45641)

* Fix CSP test description 'same' -> 'self'

* Add additional 'same' -> 'self'
--

wpt-commits: 1ef1b02617d86f95e3dc11386fa2c27cc9435ae7
wpt-pr: 45641
2024-04-19 07:34:55 +00:00
JannisBush
c5199512ac Bug 1890713 [wpt PR 45640] - Change self to 'self' in CSP frame-ancestor test, a=testonly
Automatic update from web-platform-tests
Change self to 'self' in CSP frame-ancestor test (#45640)

--

wpt-commits: 10bcb6d35b5a9e9edf958f9ef1e14897f3710709
wpt-pr: 45640
2024-04-19 07:34:55 +00:00
Andreu Botella
a08edbdf3c Bug 1891445 [wpt PR 45709] - [line-clamp] Make line-clamp create a new BFC, a=testonly
Automatic update from web-platform-tests
[line-clamp] Make `line-clamp` create a new BFC

Although `-webkit-line-clamp` has always created an independent
formatting context, our prototype implementation of `line-clamp`
initially made it so the `line-clamp` property (but not
`-webkit-line-clamp`) didn't necessarily create one.

However, in the course of implementing this proposal, the fact that it
did not necessarily create a new BFC raised issues, such as how nested
line-clamps should work, or how floats inside a line-clamp container
should affect floats outside it. These problems go away by having
line-clamp create a new BFC, and this CL takes that route.

This patch also removes
`BlockLineClampData::is_original_line_clamp_context`, which was needed
to be able to distinguish whether `(-webkit-)line-clamp` was specified
on the current block element, or whether it inherited its line clamp
data from its parent. With this change, checking if the current block
is a new BFC is enough.

Bug: 40336192
Change-Id: I8a16ec18ce1653caaf1c7d06280a2a7e4604a946
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5453431
Commit-Queue: Andreu Botella <abotella@igalia.com>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1287280}

--

wpt-commits: 85681c669ff292c3c55bd088bf13fd0cc038d7bd
wpt-pr: 45709
2024-04-19 07:34:54 +00:00
Fotis Papadogeorgopoulos
7afde87ca6 Bug 1881915 [wpt PR 44769] - Add test for external script hashes in content-security-policy/script-src/script-src-strict_dynamic_hashes, a=testonly
Automatic update from web-platform-tests
Add test for external script hashes in content-security-policy/script-src/script-src-strict_dynamic_hashes (#44769)

* Add test for external script hashes in strict-dynamic

* Use sync test
--

wpt-commits: 947b3ebca48d50d9efffc4e196e61d146e983d86
wpt-pr: 44769
2024-04-19 07:34:53 +00:00
Tyler Jones
9479dc45a8 Bug 1882917 [wpt PR 44873] - Focus visible programmatic focus test, a=testonly
Automatic update from web-platform-tests
Focus visible programmatic focus test (#44873)

* Add `:focus-visible` test for mouse/keyboard modality

* Update test to handle failure

* Lint fixes

* Add color change

* Formatting changes
--

wpt-commits: 7bbf8cc6c18b2e523c0b664ebc6022e9722f252d
wpt-pr: 44873
2024-04-19 07:34:52 +00:00
moz-wptsync-bot
39afc59bb1 Bug 1891230 [wpt PR 45683] - Update wpt metadata, a=testonly
wpt-pr: 45683
wpt-type: metadata
2024-04-19 07:34:51 +00:00
Anders Hartvoll Ruud
fb82f56479 Bug 1891230 [wpt PR 45683] - [anchor] Implement CSSPositionTryDescriptors, a=testonly
Automatic update from web-platform-tests
[anchor] Implement CSSPositionTryDescriptors

CSSPositionTryDescriptors is a CSSStyleDeclaration which restricts
which properties are valid, which is a new concept in Blink.
This CL implements this by:

 - Adding a new parsing mode which is stored on the CSSPropertyValueSet
   within the rule. This ensures that we can't smuggle in invalid
   properties using cssText.
 - Filtering properties during setProperty. This ensures that e.g.
   setProperty('color', ...) doesn't work.

Somehow, CSSPositionTryDescriptor is not inheriting the anonymous
named getter/setter from the parent, which is actually what we want
here. (If this is a bug or something and is changed later, the WPT will
fail).

The indexed property getter also doesn't seem to work. This is not
covered by the tests currently. The problem is tracked by
Issue 333965945.

Change-Id: I5fa1b600ed50633a9eb9aa8cfeb43726d64ecf90
Bug: 333967631, 333965945
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5447110
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1287213}

--

wpt-commits: 9fcc5e1b74b4eec90b2dd05c8f06fb2346651f43
wpt-pr: 45683
2024-04-19 07:34:51 +00:00
moz-wptsync-bot
e927bcd0f9 Bug 1891231 [wpt PR 45684] - Update wpt metadata, a=testonly
wpt-pr: 45684
wpt-type: metadata
2024-04-19 07:34:50 +00:00
Rune Lillesveen
416ac73a3d Bug 1891231 [wpt PR 45684] - Await web font loading in css-scoping tests, a=testonly
Automatic update from web-platform-tests
Await web font loading in css-scoping tests

Some tests did not pass because the web font did not finish loading
before the rendered widths were checked. Await document.fonts.ready to
make the tests predictable.

Bug: 333457515
Change-Id: I830cc11b4ba7a4c8a5579777712085cb3f7e5a1e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5447137
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Munira Tursunova <moonira@google.com>
Cr-Commit-Position: refs/heads/main@{#1287178}

--

wpt-commits: 6eb4b61b016f28234bd31d90d8e4e7ca2037375a
wpt-pr: 45684
2024-04-19 07:34:49 +00:00
moz-wptsync-bot
47e736481c Bug 1891374 [wpt PR 45699] - Update wpt metadata, a=testonly
wpt-pr: 45699
wpt-type: metadata
2024-04-19 07:34:49 +00:00
Matt Woodrow
e609e5b1ab Bug 1891374 [wpt PR 45699] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=272496, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=272496

--

wpt-commits: cde638c5ac106e4b18fb3abbcdcb3de9c51e561b
wpt-pr: 45699
2024-04-19 07:34:48 +00:00
moz-wptsync-bot
483ef6ed6a Bug 1890925 [wpt PR 45660] - Update wpt metadata, a=testonly
wpt-pr: 45660
wpt-type: metadata
2024-04-19 07:34:47 +00:00
Domenic Denicola
4aa7a77ef7 Bug 1890925 [wpt PR 45660] - Test inserted async script execution order, a=testonly
Automatic update from web-platform-tests
Test inserted async script execution order

https://github.com/whatwg/html/issues/9864 discusses the issue. https://github.com/whatwg/html/pull/10272 matches what is tested here.
--

wpt-commits: 5adce6fa88ba7bcb5c119d62736fb30cf1273306
wpt-pr: 45660
2024-04-19 07:34:47 +00:00
Anne van Kesteren
e56527957d Bug 1891246 [wpt PR 45688] - URL: some additional host setter tests, a=testonly
Automatic update from web-platform-tests
URL: some additional host setter tests

--

wpt-commits: 12b90e170fe7fea5429d6e5aa4d7612cdf7ed805
wpt-pr: 45688
2024-04-19 07:34:46 +00:00
moz-wptsync-bot
64733ba62a Bug 1891156 [wpt PR 45674] - Update wpt metadata, a=testonly
wpt-pr: 45674
wpt-type: metadata
2024-04-19 07:34:45 +00:00
Tsuyoshi Horo
110f841639 Bug 1891156 [wpt PR 45674] - Deflake compression-dictionary WPT, a=testonly
Automatic update from web-platform-tests
Deflake compression-dictionary WPT

WPT tests for compression-dictionary are flaky on some bots. There are
two reasons:
  1. Installing a dictionary is slow. This requires disk cache access
     and SQLite DB access.
  2. Handling Clear-Cache is slow. All tests of Compression dictionary
     are clearing caches using Clear-Cache HTTP header after running
     tests.

To resolve the flakiness, this CL increases the timeout for checking
available dictionaries, and sets a longer timeout for all tests.
Also this CL splits the tests of Clear-Cache into three files.

Bug: 333916144
Change-Id: I9e41083db599ae2f06f51bfe1abac4aba0a6d472
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5445912
Reviewed-by: Patrick Meenan <pmeenan@chromium.org>
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1287111}

--

wpt-commits: 73b5c2474612889749dfa8f8db0645c07694e9fb
wpt-pr: 45674
2024-04-19 07:34:44 +00:00
moz-wptsync-bot
35b38311f1 Bug 1891248 [wpt PR 45689] - Update wpt metadata, a=testonly
wpt-pr: 45689
wpt-type: metadata
2024-04-19 07:34:44 +00:00
Raphael Kubo da Costa
e5e9022cff Bug 1891248 [wpt PR 45689] - compute pressure: Add web test for multiple calls to PressureObserver.observe(), a=testonly
Automatic update from web-platform-tests
compute pressure: Add web test for multiple calls to PressureObserver.observe()

The buggy behavior described in issue 333957909 has been fixed by
https://crrev.com/c/5384658 but we want to make sure this does not
happen again.

Bug: 333957909
Change-Id: Ia1ac67b534eeca3bb3cc1c7832e8df07d3e7847e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5447142
Auto-Submit: Raphael Kubo Da Costa <raphael.kubo.da.costa@intel.com>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1286881}

--

wpt-commits: dce39b08c51964db0677e1ce1c5c03b658952297
wpt-pr: 45689
2024-04-19 07:34:43 +00:00
moz-wptsync-bot
8ad8186291 Bug 1891280 [wpt PR 45691] - Update wpt metadata, a=testonly
wpt-pr: 45691
wpt-type: metadata
2024-04-19 07:34:42 +00:00
Jean-Philippe Gravel
85e0332fcb Bug 1891280 [wpt PR 45691] - Add WPT tests validating layers with transforms, a=testonly
Automatic update from web-platform-tests
Add WPT tests validating layers with transforms

If the canvas has a global shadow, the transform must not be applied on
the shadow filter. This currently doesn't work in Blink for layers: the
transform affects the shadow of the layer.

Bug: 40257559
Change-Id: Ib765073660b1c2b70cf8934603ab124cef4fdca9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5434678
Reviewed-by: Yi Xu <yiyix@chromium.org>
Commit-Queue: Jean-Philippe Gravel <jpgravel@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1286817}

--

wpt-commits: 44a19cee8dc1860c4bfff0070f4061b27976a7c3
wpt-pr: 45691
2024-04-19 07:34:41 +00:00
moz-wptsync-bot
3f064cb75b Bug 1891282 [wpt PR 45693] - Update wpt metadata, a=testonly
wpt-pr: 45693
wpt-type: metadata
2024-04-19 07:34:41 +00:00
Ian Kilpatrick
7c2aa9e048 Bug 1891282 [wpt PR 45693] - [anchor-pos] Adjust the scroll offsets by the inset area offsets., a=testonly
Automatic update from web-platform-tests
[anchor-pos] Adjust the scroll offsets by the inset area offsets.

Previously the scroll offsets were set up ignoring inset-area, (and
other insets potentially - but that is for a followup).

Adjust the scroll offset by the inset-area if present.

Bug: 333614330
Change-Id: I37e9910f38c81a22b97deba1ac0a171fc5432090
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5448340
Reviewed-by: Mason Freed <masonf@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1286853}

--

wpt-commits: 60e96d833f5ca63f4ba0da8f3bf07e835b94aec2
wpt-pr: 45693
2024-04-19 07:34:40 +00:00
Sahir Vellani
ace4d09111 Bug 1888578 [wpt PR 45420] - Introduce PointerEvent.deviceProperties, a=testonly
Automatic update from web-platform-tests
Introduce PointerEvent.deviceProperties

This change replaces deviceId on the PointerEvent interface with a new interface, deviceProperties. DeviceProperties contains one member, uniqueId, which functionally behaves the same as the outgoing deviceId.

Spec: https://github.com/w3c/pointerevents/pull/495

Bug: 330760871
Change-Id: I0f1a9f7d5589f790d94f498a38bfdf55b6f51073
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5388651
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Sahir Vellani <sahir.vellani@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1286827}

--

wpt-commits: 4013b5285c0977d16542695ae2ed47184730f331
wpt-pr: 45420
2024-04-19 07:34:39 +00:00
Kevin Ellis
518ff4b138 Bug 1890368 [wpt PR 45612] - Short-circuit interpolation calculation for a static-valued property, a=testonly
Automatic update from web-platform-tests
Short-circuit interpolation calculation for a static-valued property

With the exception of cross-fade interpolations, we can sample a single
keyframe and use its value throughout the animation if the property
is constant-valued.  For an animation of the background property that
only explicitly sets the background color, we can short-circuit the
work when applying the animation effect for all of the implicitly set
properties.

Bug: 333861763

Change-Id: Id5634a2656b5e739a91d9593a3ff7c5bb58a85b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5426601
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1286714}

--

wpt-commits: 066959a2f2e30a073beea8b71d3bde62c9d058e3
wpt-pr: 45612
2024-04-19 07:34:38 +00:00