gecko-dev/dom
Emilio Cobos Álvarez ec7a1d06ff Bug 1864425 - Remove PendingAnimationTracker. r=birtles
Instead of starting transitions and animations as a result of a paint,
use the refresh driver tick to do this.

This sets the transition-ready time to the current time during the next
refresh driver tick that it was started on (see mSawTickWhilePending).

This is similar to what's described in the bugs comments, and seems to
work nicely in practice.

We could easily change that (current time) by a paint-based time if
needed (when available), which would be more similar to what we were
doing. But I'd rather do the simple thing for now, and land this shortly
after the soft freeze is over so that we have time to watch out for
regressions.

There's one regression on a test that birtles wrote (using an XHR doc
and switching the timeline to a rendered doc's timeline).

We use the timeline's document rather than the target document to
determine whether to trigger animations now. That's one of the cases
where we'd keep vsync perma-running without this patch, and Chrome also
fails that test. Maybe the test should be removed / the spec should be
tweaked to allow this behavior?

This causes some progression in some CSS transitions tests too, and I
added an extra test for the vsync behavior.

Over-all this is much simpler to reason about and I think we should try
to do this.

Differential Revision: https://phabricator.services.mozilla.com/D193583
2023-11-20 09:31:41 +00:00
..
abort
animation Bug 1864425 - Remove PendingAnimationTracker. r=birtles 2023-11-20 09:31:41 +00:00
audiochannel
base Bug 1864425 - Remove PendingAnimationTracker. r=birtles 2023-11-20 09:31:41 +00:00
battery
bindings Backed out changeset d92146952904 (bug 1865332) for causing wpt failures in CSS-supports-CSSStyleDeclaration.html CLOSED TREE 2023-11-19 11:33:08 -05:00
broadcastchannel Bug 1836700 - Remove BusyCount of WorkerPrivate. r=asuth,ipc-reviewers,mccr8 2023-11-13 04:00:40 +00:00
browser-element
cache Bug 1734538 - Use NS_NewURI instead of MozURL. r=dom-storage-reviewers,jesup,asuth,janv 2023-11-15 18:59:23 +00:00
canvas Bug 1855780 - Generate INVALID_ENUM in ProvokingVertex for bad mode. r=gfx-reviewers,nical 2023-11-18 00:03:07 +00:00
chrome-webidl Bug 1855386: Remove nsNavBookmarks::ResultNodeForContainer() r=mak 2023-11-06 21:28:19 +00:00
clients
commandhandler
console Bug 1860888 - [devtools] Fix logging SharedArrayBuffer from Worklet/Workers. r=devtools-reviewers,smaug 2023-11-06 14:42:52 +00:00
credentialmanagement Backed out 2 changesets (bug 1838932, bug 1853951) for causing wpt failures on webauthn/conditional-mediation.https.html CLOSED TREE 2023-11-18 01:30:17 +02:00
crypto Bug 1864056 - web crypto: check for empty usages when importing private keys r=jschanck 2023-11-14 22:46:13 +00:00
debugger Bug 1856795 - Remove redundant member init r=emilio 2023-10-15 15:29:02 +00:00
docs Backed out 7 changesets (bug 1852098) for bustages on UseCounterMetrics.h . CLOSED TREE 2023-11-16 01:00:42 +02:00
encoding Bug 1849037 - Add ErrorResult to TypedArray::Create. r=necko-reviewers,extension-reviewers,media-playback-reviewers,webidl,profiler-reviewers,farre,padenot,smaug,robwu,jesup,aabh 2023-11-11 08:24:05 +00:00
events Bug 1865479. Rename nsIContentViewerEdit to nsIDocumentViewerEdit. r=layout-reviewers,tnikkel 2023-11-19 10:13:12 +00:00
fetch Bug 1851992 - implement nsIThreadRetargetableStreamListener::OnDataFinished to multiple listeners. r=necko-reviewers,extension-reviewers,jesup,rpl 2023-10-27 13:30:11 +00:00
file Bug 1851992 - implement nsIThreadRetargetableStreamListener::OnDataFinished to multiple listeners. r=necko-reviewers,extension-reviewers,jesup,rpl 2023-10-27 13:30:11 +00:00
filesystem
flex
fs Bug 1858820 - Handle other FileSystemWritableFileStream states in FileSystemWritableFileStream::Write; r=dom-storage-reviewers,jari 2023-10-19 11:25:30 +00:00
gamepad Bug 1849037 - Add ErrorResult to TypedArray::Create. r=necko-reviewers,extension-reviewers,media-playback-reviewers,webidl,profiler-reviewers,farre,padenot,smaug,robwu,jesup,aabh 2023-11-11 08:24:05 +00:00
geolocation
grid
html Bug 1864255. Make sure some crashtests in dom/ cleanup any opened windows after they finish. r=dom-core,peterv 2023-11-17 01:31:21 +00:00
imptests
indexedDB Bug 1863204 - Correct ESLint scope for some privileged globals and remove importGlobalProperties from more places. r=Gijs,sessionstore-reviewers,dom-storage-reviewers,sclements,asuth 2023-11-10 08:29:10 +00:00
interfaces Bug 1864425 - Remove PendingAnimationTracker. r=birtles 2023-11-20 09:31:41 +00:00
ipc Backed out 7 changesets (bug 1852098) for bustages on UseCounterMetrics.h . CLOSED TREE 2023-11-16 01:00:42 +02:00
jsurl
l10n Bug 1858692 - Part 2: Add test for data-l10n-args. r=platform-i18n-reviewers,gregtatum 2023-11-06 17:10:51 +00:00
locales Bug 1860635 - deprecate isExternalCTAP2SecurityKeySupported. r=keeler,webidl,smaug 2023-10-30 16:05:48 +00:00
localstorage Bug 1734538 - Use NS_NewURI instead of MozURL. r=dom-storage-reviewers,jesup,asuth,janv 2023-11-15 18:59:23 +00:00
locks
manifest Bug 1858148 - Remove Cu.importGlobalProperties from sjs files as it is no longer needed. r=mossop,webdriver-reviewers,necko-reviewers,search-reviewers,devtools-reviewers,anti-tracking-reviewers,sessionstore-reviewers,pbz,dao,daleharvey,valentin 2023-11-04 09:29:27 +00:00
mathml
media Bug 1865091 - When the channel count and channel map disagree in a WAVE file, disregard the channel map. r=azebrowski 2023-11-20 09:12:27 +00:00
messagechannel Bug 1854076 - Improve MessagePort state machine. r=dom-worker-reviewers,edenchuang 2023-10-27 16:40:56 +00:00
midi Bug 1849037 - Add ErrorResult to TypedArray::Create. r=necko-reviewers,extension-reviewers,media-playback-reviewers,webidl,profiler-reviewers,farre,padenot,smaug,robwu,jesup,aabh 2023-11-11 08:24:05 +00:00
network Bug 1849037 - Add ErrorResult to TypedArray::Create. r=necko-reviewers,extension-reviewers,media-playback-reviewers,webidl,profiler-reviewers,farre,padenot,smaug,robwu,jesup,aabh 2023-11-11 08:24:05 +00:00
notification Bug 1836700 - Remove BusyCount of WorkerPrivate. r=asuth,ipc-reviewers,mccr8 2023-11-13 04:00:40 +00:00
origin-trials
payments
performance Bug 1863491 - Use weak pointers for LargestContentfulPaint to avoid keeping the element alive for unnecessary period r=emilio,mccr8 2023-11-13 19:20:00 +00:00
permission
plugins
power Bug 1864522 - Remove unused functionality from ModifyWakeLock. r=gsvelto 2023-11-16 00:14:10 +00:00
promise Bug 1836700 - Remove BusyCount of WorkerPrivate. r=asuth,ipc-reviewers,mccr8 2023-11-13 04:00:40 +00:00
prototype
push Bug 1849037 - Add ErrorResult to TypedArray::Create. r=necko-reviewers,extension-reviewers,media-playback-reviewers,webidl,profiler-reviewers,farre,padenot,smaug,robwu,jesup,aabh 2023-11-11 08:24:05 +00:00
quota Bug 1864798 - QuotaManager::ParseOrigin returns incomplete PrincipalInfo; r=valentin 2023-11-15 10:09:22 +00:00
reporting Bug 1858148 - Remove Cu.importGlobalProperties from sjs files as it is no longer needed. r=mossop,webdriver-reviewers,necko-reviewers,search-reviewers,devtools-reviewers,anti-tracking-reviewers,sessionstore-reviewers,pbz,dao,daleharvey,valentin 2023-11-04 09:29:27 +00:00
res
script Bug 1862692 - Part 20: Stop using 0-origin column number types. r=iain 2023-11-09 11:41:12 +00:00
security Bug 1859576 - Try to log HTTPS-Only/First messages to triggering window of loadinfo if inner window does not exist yet r=freddyb 2023-11-06 09:49:08 +00:00
serializers Bug 1864820 - Fix plaintext serializer space-stuffing stuff to avoid breaking over and over in the inserted space. r=jfkthame 2023-11-15 17:32:09 +00:00
serviceworkers Bug 1734538 - Use NS_NewURI instead of MozURL. r=dom-storage-reviewers,jesup,asuth,janv 2023-11-15 18:59:23 +00:00
simpledb
smil Bug 1860988 - Enable ESLint rule no-useless-return on all of dom/*. r=dom-core,mccr8 2023-10-27 12:43:03 +00:00
storage
streams Bug 1863204 - Correct ESLint scope for some privileged globals and remove importGlobalProperties from more places. r=Gijs,sessionstore-reviewers,dom-storage-reviewers,sclements,asuth 2023-11-10 08:29:10 +00:00
svg Bug 1864039 - clip-path path reference box is incorrect with stroke r=boris 2023-11-15 19:27:43 +00:00
system Bug 1862692 - Part 16: Use 1-origin column number type in JS::DescribeScriptedCaller. r=iain 2023-11-09 11:41:10 +00:00
tests Bug 1863204 - Correct ESLint scope for some privileged globals and remove importGlobalProperties from more places. r=Gijs,sessionstore-reviewers,dom-storage-reviewers,sclements,asuth 2023-11-10 08:29:10 +00:00
url Bug 1855298 - convert .ini manifests to .toml: batch 10 dom/[t-z]**/mochitest.ini r=jmaher 2023-10-25 15:54:48 +00:00
vr Bug 1849037 - Add ErrorResult to TypedArray::Create. r=necko-reviewers,extension-reviewers,media-playback-reviewers,webidl,profiler-reviewers,farre,padenot,smaug,robwu,jesup,aabh 2023-11-11 08:24:05 +00:00
webauthn Backed out 2 changesets (bug 1838932, bug 1853951) for causing wpt failures on webauthn/conditional-mediation.https.html CLOSED TREE 2023-11-18 01:30:17 +02:00
webbrowserpersist Bug 1851992 - implement nsIThreadRetargetableStreamListener::OnDataFinished to multiple listeners. r=necko-reviewers,extension-reviewers,jesup,rpl 2023-10-27 13:30:11 +00:00
webgpu Bug 1865311 - Fix inconsistent destroy/drop naming in webgpu IPC. r=webgpu-reviewers,ErichDonGubler 2023-11-17 20:11:22 +00:00
webidl Bug 1849037 - Add ErrorResult to TypedArray::Create. r=necko-reviewers,extension-reviewers,media-playback-reviewers,webidl,profiler-reviewers,farre,padenot,smaug,robwu,jesup,aabh 2023-11-11 08:24:05 +00:00
webscheduling Bug 1861713 - Fix a nullptr crash in WebTaskScheduler r=dom-core,mccr8 2023-11-09 14:28:30 +00:00
webshare Bug 1855298 - convert .ini manifests to .toml: batch 10 dom/[t-z]**/mochitest.ini r=jmaher 2023-10-25 15:54:48 +00:00
websocket Bug 1836700 - Remove BusyCount of WorkerPrivate. r=asuth,ipc-reviewers,mccr8 2023-11-13 04:00:40 +00:00
webtransport Bug 1849037 - Add ErrorResult to TypedArray::Create. r=necko-reviewers,extension-reviewers,media-playback-reviewers,webidl,profiler-reviewers,farre,padenot,smaug,robwu,jesup,aabh 2023-11-11 08:24:05 +00:00
workers Backed out 7 changesets (bug 1852098) for bustages on UseCounterMetrics.h . CLOSED TREE 2023-11-16 01:00:42 +02:00
worklet Backed out 2 changesets (bug 1851816) for causing private browsing related failures CLOSED TREE 2023-11-07 00:18:54 +02:00
xhr Bug 1864985: Use nsIURI::hasUserPass instead of checking user pass string r=necko-reviewers,valentin 2023-11-17 20:12:11 +00:00
xml Bug 1855298 - convert .ini manifests to .toml: batch 10 dom/[t-z]**/mochitest.ini r=jmaher 2023-10-25 15:54:48 +00:00
xslt Bug 1730119 - Rewrite XSLT path result compare to use Collator::CompareStrings r=dom-core,hsivonen 2023-11-03 12:59:31 +00:00
xul Bug 1853881 - Part 1: Add JS::ThreadStackQuotaForSize and use it everywhere. r=nbp 2023-10-26 14:10:55 +00:00
jar.mn
metrics.yaml Bug 1862939 - Part 3: Add Glean histogram telemetry for LCP, mirrored to legacy telemetry. r=sefeng 2023-11-06 20:32:44 +00:00
moz.build
pings.yaml Backed out 7 changesets (bug 1852098) for bustages on UseCounterMetrics.h . CLOSED TREE 2023-11-16 01:00:42 +02:00