gecko-dev/devtools
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
..
client Bug 1864425 - Remove PendingAnimationTracker. r=birtles 2023-11-20 09:31:41 +00:00
docs Bug 1864362 - Add docs for Wi-Fi debugging of Firefox for Android r=devtools-reviewers,nchevobbe 2023-11-14 12:45:22 +00:00
perfdocs
platform Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish 2023-05-20 12:26:49 +00:00
server Bug 1578220 - [devtools] Allow disabling debugger statement by a toggle in the breakpoints panel. r=devtools-reviewers,nchevobbe 2023-11-17 16:05:04 +00:00
shared Bug 1865275 - [devtools] Update MDN compat data. r=devtools-reviewers,bomsy. 2023-11-17 15:31:11 +00:00
startup Bug 1853244 - convert .ini manifests to .toml: batch 6 {caps,devtools,dom}/**/browser.ini r=jmaher,media-playback-reviewers,devtools-reviewers,profiler-reviewers,alwu,nchevobbe,canaltinova 2023-09-22 20:42:14 +00:00
.eslintrc.js Bug 1835250 - [devtools] Migrate compatibility constants and helpers to dedicated modules. r=jdescottes,devtools-reviewers,Standard8. 2023-05-31 04:55:22 +00:00
.eslintrc.xpcshell.js
CODE_OF_CONDUCT.md
moz.build
rename.py Bug 1786490 - reformat the tree using black 23.3.0 r=sylvestre,webdriver-reviewers,taskgraph-reviewers,whimboo,jmaher,ahal,perftest-reviewers,geckoview-reviewers,afinder,m_kato 2023-09-06 16:14:30 +00:00
templates.mozbuild
tsconfig.json