Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Brian Birtles 7a10d13a65 Bug 1541767 - Don't post animation restyles when unbinding an element; r=hiro
Currently we avoid posting animation restyles when unbinding an element by
removing the element from the document before deleting its animation
collections. As a result, when canceled animations go to post a restyle, they
can't find a pres context and give up posting a restyle.

However, this is problematic for two reasons:

* It means we can't remove such canceled animations from the
  PendingAnimationTracker if they are present there (i.e. it regresses the fix
  from bug 1223445).

* It means we can't post cancel events for such animations/transitions since we
  can't lookup the appropriate AnimationEventDispatcher.

In the next patch in this series we will change that order to fix the above
problems but before we do that, we need to introduce another mechanism to make
sure that we don't post restyles when unbinding an element or else we will
regress bug 1396041.

This patch does that by introducing a flag which causes us to not post restyles
when we are doing DOM surgery. For all other cases we actually _do_ need to post
restyles in order to update the style correctly.

Without this patch, layout/style/crashtests/1396041.html would fail after
applying the next patch in this series.

Differential Revision: https://phabricator.services.mozilla.com/D28021

--HG--
extra : moz-landing-system : lando
2019-04-18 06:49:25 +00:00
.cargo Bug 1539406: Bump Cranelift to revision 542d799dd7a3b2cc; r=lth 2019-04-15 10:39:28 +00:00
.vscode Bug 1543529 - Stop recommending VSCode plugin "Babel ES6/ES7" r=jya 2019-04-11 03:31:54 +00:00
accessible Backed out 2 changesets (bug 1519502, bug 1528268) for Crashtest failures in toolkit/content/tests/chrome/test_popupincontent.xul. CLOSED TREE 2019-04-18 18:26:41 +03:00
browser Bug 1534738 - Title and url in RTL mode are not properly overflowing in Quantum Bar. r=dao 2019-04-18 08:29:18 +00:00
build Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku 2019-04-18 01:00:22 +00:00
caps Bug 1501108 - [1.3] Add GeckoView Session Context ID support. r=snorp,baku,mayhemer 2019-04-16 20:24:29 +00:00
chrome Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug 2019-04-01 22:42:34 +00:00
config Bug 1541068 - add Rust compilation directories to GARBAGE_DIRS; r=nalexander 2019-04-09 18:59:19 +00:00
db Bug 1530749 - Upgrade to SQLite 3.27.2. r=mak 2019-02-26 23:21:05 +00:00
devtools Backed out 2 changesets (bug 1519502, bug 1528268) for Crashtest failures in toolkit/content/tests/chrome/test_popupincontent.xul. CLOSED TREE 2019-04-18 18:26:41 +03:00
docshell Bug 1543786 - Ensure that we revoke a top frame's storage access when it is navigated away; r=baku 2019-04-17 15:01:53 +00:00
dom Bug 1541767 - Don't post animation restyles when unbinding an element; r=hiro 2019-04-18 06:49:25 +00:00
editor Bug 1544322 - Part 4 - Remove the [type] attribute for multiline <script> tags loading files in /tests/SimpleTest/ r=bzbarsky 2019-04-16 04:01:46 +00:00
extensions Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky 2019-04-16 03:59:25 +00:00
gfx Bug 1544961 - disable tests that cause gtest harness to crash on windows10-aarch64 r=jmaher,gbrown 2019-04-17 23:12:19 +00:00
gradle/wrapper
hal Bug 1523969 part 9 - Move method definition inline comments to new line in 'hal/'. r=gsvelto 2019-02-25 16:07:35 -06:00
image Bug 1544961 - disable tests that cause gtest harness to crash on windows10-aarch64 r=jmaher,gbrown 2019-04-17 23:12:19 +00:00
intl Bug 1544961 - disable tests that cause gtest harness to crash on windows10-aarch64 r=jmaher,gbrown 2019-04-17 23:12:19 +00:00
ipc Bug 1538353 - Part 1: Add a SetEventTargetForRoute helper to allow setting EventTargets for Endpoint-constructed actors, r=mccr8 2019-04-17 00:51:32 +00:00
js Bug 1541404 part 13 - Add some code to support entering the interpreter and triggering Baseline compilation from the interpreter. r=tcampbell 2019-04-17 17:26:59 +00:00
layout Bug 1541767 - Don't post animation restyles when unbinding an element; r=hiro 2019-04-18 06:49:25 +00:00
media Bug 1543429 - Part 1: Do not copy port 0 from previous bundle-only offer msection into an answer msection. r=mjf 2019-04-16 14:53:41 +00:00
memory Bug 1544961 - disable tests that cause gtest harness to crash on windows10-aarch64 r=jmaher,gbrown 2019-04-17 23:12:19 +00:00
mfbt Bug 1543501 - Make MOZ_DBG() work on Android. r=heycam 2019-04-12 16:48:51 +00:00
mobile Bug 1545081 - Give the about:compat overrides for bug 1177298 unique ids so they can be properly disabled in the UI; r=denschub 2019-04-17 17:03:36 +00:00
modules Backed out 4 changesets (bug 1527925, bug 1545168, bug 1539567) for failing at /actions/test_media.html on a CLOSED TREE. 2019-04-18 05:09:03 +03:00
mozglue Bug 1545007 - Remove our pthread_atfork implementation for Android. r=froydnj 2019-04-17 18:26:02 +00:00
netwerk Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku 2019-04-18 01:00:22 +00:00
nsprpub Bug 1526010, NSPR 4.21 RTM, r=me 2019-03-07 11:16:36 +01:00
other-licenses Backed out 4 changesets (bug 1458385) for nightly updates fail. a=backout 2019-04-10 21:09:46 +03:00
parser Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
python Backed out changeset 7cefdbb63711 (bug 1544764) for static-analysis bustage on clang-analyzer-deadcode.DeadStores.cpp. CLOSED TREE 2019-04-18 00:33:29 +03:00
remote Backed out 4 changesets (bug 1533831) for failing at /browser/browser_target.js on a CLOSED TREE. 2019-04-18 05:35:54 +03:00
security Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku 2019-04-18 01:00:22 +00:00
services Bug 1536170 - Replace all usage of Async.yieldingIterator with Async.yieldingForEach r=tcsc 2019-04-15 19:26:18 +00:00
servo Bug 1543672 - The counters code should use atoms rather than strings. r=mats,boris 2019-04-15 20:11:45 +00:00
startupcache Bug 1543970 - give up removing the startup cache file from the previous profile location after 6 years, r=froydnj 2019-04-12 14:07:40 +00:00
storage Bug 1545200 - Squelch spurious synchronous operation warnings in Connection::operationSupported. r=mak 2019-04-17 19:10:28 +00:00
taskcluster Bug 1544961 - disable tests that cause gtest harness to crash on windows10-aarch64 r=jmaher,gbrown 2019-04-17 23:12:19 +00:00
testing Bug 1544707 - [raptor] Use format strings instead of concatenating log messages. r=rwood 2019-04-18 06:42:00 +00:00
third_party Bug 1543795 - configure lmdb-rkv-sys to use a smaller MDB_IDL_LOGN size r=nanj,glandium 2019-04-16 16:03:10 +00:00
toolkit Bug 1475571 - Update SEARCH_COUNT bug_numbers r=mkaply 2019-04-18 12:48:31 +00:00
tools Backed out changeset 7cefdbb63711 (bug 1544764) for static-analysis bustage on clang-analyzer-deadcode.DeadStores.cpp. CLOSED TREE 2019-04-18 00:33:29 +03:00
uriloader Bug 1542791 - Part 1: Support enabling out-of-process iframes with per-frame granularity, r=mconley 2019-04-17 00:53:22 +00:00
view Bug 1543315 - part 4: Mark ResizeReflow() as MOZ_CAN_RUN_SCRIPT r=smaug 2019-04-13 12:39:47 +00:00
widget Bug 1534389 - Send normal mouse events when cursor is over a draggable region on Windows. r=jmathies 2019-04-17 18:08:22 +00:00
xpcom Bug 1529879: Block changing the profile list when another process has changed it. r=froydnj,Gijs,flod 2019-04-18 04:34:29 +00:00
xpfe/appshell Bug 1542791 - Part 1: Support enabling out-of-process iframes with per-frame granularity, r=mconley 2019-04-17 00:53:22 +00:00
.arcconfig
.clang-format Bug 1542146 - Use the new option StatementMacros from clang-format-8 r=andi 2019-04-05 21:41:57 +00:00
.clang-format-ignore Bug 1533481 - Part 9: Update Gecko to Unicode 12. r=jfkthame! 2019-04-04 12:46:18 +03:00
.cron.yml Bug 1538560 - disable cron job to run mochitest valgrind tasks because they permafail r=gbrown 2019-04-01 15:08:44 +00:00
.eslintignore Bug 1527075 - stop linting intl/l10n/ in m-c given it's linted in github r=Gijs,jaws 2019-04-15 16:43:02 +00:00
.eslintrc.js Bug 1544286 - xpcom/ manual ESLint no-throw-literal fixes. r=erahm 2019-04-16 15:02:10 +00:00
.flake8 Bug 1541086: Remove the embedding code and update the bug components for widget::headless. r=myk r=bdahl 2019-04-02 09:07:54 -07:00
.gdbinit
.gdbinit_python
.git-blame-ignore-revs No bug - Ignore bug 1016240 in blame/annotate. r=MattN 2019-04-04 14:56:20 -04:00
.gitignore Bug 1516337 - Part 1: Dedupe sha2 and related dependencies r=froydnj 2019-04-08 23:17:50 +03:00
.hg-annotate-ignore-revs No bug - Ignore bug 1016240 in blame/annotate. r=MattN 2019-04-04 14:56:20 -04:00
.hg-format-source
.hgignore Bug 1516337 - Part 1: Dedupe sha2 and related dependencies r=froydnj 2019-04-08 23:17:50 +03:00
.hgtags No bug - Tagging mozilla-central 9421b477d67cfc4c9e03350cd554a9e6acc7f435 with FIREFOX_NIGHTLY_67_END a=release DONTBUILD CLOSED TREE 2019-03-18 10:56:58 +00:00
.lldbinit
.mailmap
.taskcluster.yml Bug 1488313: [taskgraph] Don't notify sherrifs on cron decision task failures on try; r=dustin 2019-03-27 19:38:05 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1522135 - Make .ycm_extra_conf.py work with python3. r=jgraham 2019-01-24 13:51:28 +01:00
aclocal.m4 Bug 1519603 - Manually inline AC_OUTPUT_SUBDIRS and MOZ_RUN_ALL_SUBCONFIGURES. r=nalexander 2019-01-14 18:37:06 +00:00
AUTHORS
build.gradle Bug 1541609 - [geckoview] Enforce packages in API. r=snorp,esawin 2019-04-10 01:50:58 +00:00
Cargo.lock Bug 1543795 - configure lmdb-rkv-sys to use a smaller MDB_IDL_LOGN size r=nanj,glandium 2019-04-16 16:03:10 +00:00
Cargo.toml Bug 1539406: Bump Cranelift to revision 542d799dd7a3b2cc; r=lth 2019-04-15 10:39:28 +00:00
client.mk
client.py
CLOBBER Bug 1533481 - Part 10: Updating ICU requires a clobber. r=jwalden! 2019-04-04 12:46:32 +03:00
configure.in
configure.py Bug 1528241 - Add a trace mode to python configure that logs internal values. r=chmanchester 2019-02-20 07:46:22 +09:00
GNUmakefile
gradle.properties Bug 1527896 - Increase Gradle heaps to handle large assets. r=nalexander 2019-02-14 18:21:13 +00:00
gradlew
gradlew.bat Bug 1527796 - Part 3. Use gradlew.bat on Windows. r=nalexander 2019-02-26 11:06:12 +09:00
LEGAL
LICENSE
mach
Makefile.in Bug 1537574 - Use mozbuild's backend-out-of-date logic for RecursiveMake; r=firefox-build-system-reviewers,chmanchester 2019-04-10 22:14:27 +00:00
moz.build Bug 1507334 - Add mozconfigs for 3-stage PGO; r=firefox-build-system-reviewers,chmanchester#firefox-build-system-reviewers 2019-01-10 01:34:49 +00:00
moz.configure Bug 1543323 - On Android, only build gtest tests archive on x86_64 builds; r=glandium 2019-04-12 00:17:45 +00:00
mozilla-config.h.in
old-configure.in Bug 1433685 - Remove nsGConfService, r=glandium 2019-04-10 10:18:14 +00:00
package-lock.json Bug 1536589 - Update ESLint and associated modules. r=mossop 2019-04-08 20:06:38 +00:00
package.json Bug 1536589 - Update ESLint and associated modules. r=mossop 2019-04-08 20:06:38 +00:00
README.txt
settings.gradle Bug 1527796 - Part 5. Add python.exe path of mozilla-build to call mach command from gradle. r=nalexander 2019-03-29 18:11:09 +09:00
test.mozbuild

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.