Commit Graph

174779 Commits

Author SHA1 Message Date
Brian Birtles
880027c0e0 Bug 975261 part 5 - Fix OMTA animations with backwards fill; r=dzbarsky
When we have a backwards fill and we sample at *exactly* the start of the
animation on the next refresh driver tick, when we get to
RestyleManager::ComputeStyleChangeFor (or more specifically
ElementRestyler::CaptureChange) we notice that the style hasn't changed (since
the first frame of the animation produces the same value as the backwards fill)
and end up with an empty change list. As a result we never schedule a view
manager flush and rebuild the layer. Hence, the animation never gets sent to the
compositor thread. On the next tick we're already throttling the main thread.

This patch fixes this by applying the same approach as is used for transitions,
that is, explicitly marking which animations are running on the compositor
thread so we know if we need to trigger a layer transaction or not. This should
not only be more robust than the previous code but also facilitate aligning
animations and transitions code (bug 880596).
2014-03-22 05:59:58 +08:00
Brian Birtles
11a7708f98 Bug 975261 part 4 - Add test for starting OMTA animations with backwards fill; r=dzbarsky
This test reproduces a bug where we don't send an animation to the compositor
thread. The important step is the sample precisely at the start of the animation
interval.
2014-03-22 05:59:58 +08:00
Brian Birtles
d362de8251 Bug 975261 part 3 - Add test for transforms; r=dzbarsky
Adds a test for transform animations with a delay where there is already
a transform specified on the element.

This test used to fail but bug 828173 fixed it. It is included here as
a regression test.

(Prior to bug 828173 we were able to fix this by triggering
ForceLayerRerendering inside nsAnimationManager::nsFlushAnimations whenever we
detected *different* style rules but canThrottleTick=true)

The issue stemmed from the fact that when an element has a transform property,
LayerIsPrerenderedDataKey would get set on the layer because in
nsDisplayTransform::ShouldPrerenderTransformedContent we would only check for
the *presence* of an animation, not whether it is running. Then in
RestyleManager::DoApplyRenderingChangeToTree we wouldn't do an invalidating
paint because TryUpdateTransformOnly() returns true since it looks at
LayerIsPrerenderedDataKey.

Bug 828173 fixes this, at least in part, by checking if an animation is running.
This bug may resurface if we put animations with a delay on the compositor
thread hence it is worth including here.
2014-03-22 05:59:57 +08:00
Brian Birtles
036a91443e Bug 975261 part 2 - Trigger animations with a delay; r=dzbarsky
Animations with a delay are not put on the compositor thread until the end of
the delay phase. However, there is currently nothing that explicitly triggers
this transaction. It may occur due to flushes that arise from UI events but it
is not guaranteed.

This patch detects the end of a delay phase and turns off throttling for that
sample. It re-uses the mLastNotification member which is not ideal but
a subsequent patch in this queue removes this and replaces it with the approach
used for transitions.
2014-03-22 05:59:57 +08:00
Brian Birtles
dda03127b6 Bug 975261 part 1 - Add test for OMTA animations that start with a delay; r=dzbarsky 2014-03-22 05:59:57 +08:00
Brian Birtles
b6cbba569e Bug 986359 part 3 - Add AutoResolveRefLayers before calling TransformShadowTree; r=mattwoodrow 2014-03-22 05:59:57 +08:00
Brian Birtles
6177798cad Bug 986359 part 2 - Factor out GetTransaction in DOMWindowUtils; r=mattwoodrow 2014-03-22 05:59:57 +08:00
Brian Birtles
68df29a84d Bug 986359 part 1 - Move SetTestSampleTime and LeaveTestMode to LayerTransactionParent; r=mattwoodrow 2014-03-22 05:59:57 +08:00
Garrett Robinson
cbd5b0e76f Bug 979580: Enable CSP 1.1 {nonce,hash}-source by default r=sstamm 2014-03-21 14:24:53 -07:00
Chadd Williams
be019a3d12 Bug 980493 - Transition FrameMetrics::mScrollId to use a getter/setter. r=botond
--HG--
extra : histedit_source : 1c84496d4b61f019e6e6cc24591ee3a10434e4cc
2014-03-21 17:48:08 -04:00
David Keeler
84882df999 bug 985021 - mozilla::pkix: temporarily accept pathLenConstraint in EE basic constraints extensions r=briansmith 2014-03-21 11:52:01 -07:00
Dave Hylands
6a5f943dc4 Bug 983848 - Don't use settings db in UpdatePrompt when running under xpcshell. r=bent 2014-03-19 11:58:01 -07:00
B2G Bumper Bot
47217eb21d Bumping manifests a=b2g-bump 2014-03-19 11:51:08 -07:00
B2G Bumper Bot
7ab7a6f38e Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/181049c75f53
Author: vingtetun <21@vingtetun.org>
Desc: Merge pull request #17223 from vingtetun/bug984151

Bug 984151 - Make the contacts image pull up effect smoother. r=arcturus

========

https://hg.mozilla.org/integration/gaia-central/rev/752987e94d55
Author: Vivien Nicolas <21@vingtetun.org>
Desc: Bug 984151 - Make the contacts image pull up effect smoother. r=arcturus

========

https://hg.mozilla.org/integration/gaia-central/rev/de18d91d9202
Author: vingtetun <21@vingtetun.org>
Desc: Merge pull request #17337 from vingtetun/bug981610.shared

Bug 981610 - Remove some CSS warnings on shared/. r=arnau

========

https://hg.mozilla.org/integration/gaia-central/rev/3e386227223e
Author: Vivien Nicolas <21@vingtetun.org>
Desc: Bug 981610 - Remove some CSS warnings on shared/. r=arnau
2014-03-19 11:45:59 -07:00
B2G Bumper Bot
10d9abde21 Bumping manifests a=b2g-bump 2014-03-19 11:11:06 -07:00
B2G Bumper Bot
c87106a8b1 Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/ac9e11ac7ef1
Author: vingtetun <21@vingtetun.org>
Desc: Merge pull request #17334 from vingtetun/bug981610.keyboards

Bug 981610 - Remove some CSS warnings on the keyboard app. r=janjongboom

========

https://hg.mozilla.org/integration/gaia-central/rev/9eb973a412fc
Author: Vivien Nicolas <21@vingtetun.org>
Desc: Bug 981610 - Remove some CSS warnings on the keyboard app. r=janjongboom

========

https://hg.mozilla.org/integration/gaia-central/rev/72858e9f347e
Author: Arnau <arnau@arnaumarch.com>
Desc: Merge pull request #17202 from rnowm/981887

Bug 981887 - Update button design using current BB structure and "Plan B" design

========

https://hg.mozilla.org/integration/gaia-central/rev/f86b04fd966d
Author: rnowm <arnau@arnaumarch.com>
Desc: Bug 981887 - Update button design using current BB structure and "Plan B" design
2014-03-19 11:06:04 -07:00
Steve Fink
476c41949c Bug 985143 - Comment updates to new ArrayBuffer storage scheme
--HG--
extra : rebase_source : 22cee061dc536d327ae10171578bf60b5ccc1469
2014-03-19 10:47:47 -07:00
B2G Bumper Bot
b8c4b768f6 Bumping manifests a=b2g-bump 2014-03-19 10:31:03 -07:00
B2G Bumper Bot
5b512566ac Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/7b407971f5e9
Author: Kyle Machulis <kyle@nonpolynomial.com>
Desc: Merge pull request #17214 from qdot/983507-flight-mode-radio-off

Bug 983507 - Make airplane mode icon appear via airplaneMode setting, not RIL status

========

https://hg.mozilla.org/integration/gaia-central/rev/2f72a17e70d9
Author: Kyle Machulis <kyle@nonpolynomial.com>
Desc: Bug 983507 - Make airplane mode icon appear via airplaneMode setting, not RIL status
2014-03-19 10:25:51 -07:00
B2G Bumper Bot
a971ba6d95 Bumping manifests a=b2g-bump 2014-03-19 10:17:43 -07:00
B2G Bumper Bot
9b4e951af2 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/a6daf6b427d8
Author: russnicoletti <rnicoletti@mozilla.com>
Desc: Merge pull request #17215 from russnicoletti/bug982743

Bug 982743 - [B2G][Clock]Timer section's Resume button illuminates and doesn't resume timer countdown r=mcav

========

https://hg.mozilla.org/integration/gaia-central/rev/b583b37dab27
Author: Russ Nicoletti <rnicoletti@mozilla.com>
Desc: Bug 982743 - [B2G][Clock]Timer section's Resume button illuminates and doesn't resume timer countdown
2014-03-19 10:15:57 -07:00
B2G Bumper Bot
d9611fd562 Bumping manifests a=b2g-bump 2014-03-19 09:01:04 -07:00
B2G Bumper Bot
4da1da2e2c Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/40a8306a7319
Author: Etienne Segonzac <etienne@segonzac.info>
Desc: Merge pull request #17297 from etiennesegonzac/bug-982196-reflow-helper-upgrade

Bug 982196 - Upgrading the ReflowHelper to use the new devtools tooling.

========

https://hg.mozilla.org/integration/gaia-central/rev/21a7faa34a1c
Author: Etienne Segonzac <etienne@segonzac.info>
Desc: Bug 982196 - Upgrading the ReflowHelper to use the new devtools tooling.
r=gaye,janx

========

https://hg.mozilla.org/integration/gaia-central/rev/cd4d77e23bfe
Author: Etienne Segonzac <etienne@segonzac.info>
Desc: Merge pull request #17290 from etiennesegonzac/bug-984882-callscreen-display-l10n-followup

Bug 984882 - 946874 l10n follow up. r=rik

========

https://hg.mozilla.org/integration/gaia-central/rev/e03df3a4285f
Author: Etienne Segonzac <etienne@segonzac.info>
Desc: Bug 984882 - 946874 l10n follow up. r=rik
2014-03-19 08:55:58 -07:00
Carsten "Tomcat" Book
57df59943d Merge mozilla-central to b2g-inbound 2014-03-19 16:30:49 +01:00
Rick Eyre
a0b716dca0 Bug 891381 - Tracks loaded via TrackElement should have the same id as the TrackElement. r=cpearce 2014-03-19 11:27:39 -04:00
Birunthan Mohanathas
c46a46e0fa Bug 845478 - Part 7: Use JS::CallArgs instead of JS_ARGV, argc in ipc/{ril,nfc}/. r=vicamo 2014-03-24 08:50:10 -04:00
Birunthan Mohanathas
a4b438c948 Bug 845478 - Part 6: Use JS::CallArgs instead of JS_{ARGV,SET_RVAL,...}, argc, vp in js/xpconnect/. r=bz 2014-03-24 08:49:57 -04:00
Birunthan Mohanathas
b3fda6b126 Bug 845478 - Part 5: Use JS::CallArgs instead of vp in js/src/. r=evilpie 2014-03-24 08:49:44 -04:00
Birunthan Mohanathas
bfefe8233a Bug 845478 - Part 4: Use JS::CallArgs instead of argc in js/src/builtin/. r=evilpie 2014-03-24 08:49:27 -04:00
Birunthan Mohanathas
d038e79519 Bug 845478 - Part 3: Use JS::CallArgs instead of argc in js/src/. r=evilpie 2014-03-24 08:49:11 -04:00
Birunthan Mohanathas
d601451b5e Bug 845478 - Part 2: Use JS::CallArgs instead of JS_{ARGV,SET_RVAL,...} in js/src/. r=evilpie 2014-03-24 08:48:52 -04:00
Birunthan Mohanathas
7fa0f7ca76 Bug 845478 - Part 1: Use JS::CallArgs instead of JS_{ARGV,SET_RVAL,...} in js/src/shell/. r=evilpie 2014-03-24 08:48:37 -04:00
Jonathan Kew
b3123645d2 bug 986296 - try to make window_open_position_constraint test more reliable. r=roc 2014-03-24 11:21:13 +00:00
Robert Longson
8b69e12a76 Bug 986913 - Using setAttributeNS can cause serialisation to fail. r=smaug 2014-03-24 11:20:12 +00:00
Andrew Halberstadt
b8c0d05211 Bug 983262 - Remove obsolete b2g mochitest json manifests, r=jmaher 2014-03-19 11:23:29 -04:00
Carsten "Tomcat" Book
7235f549a1 merge b2g-inbound to mozilla-central 2014-03-19 16:22:07 +01:00
Carsten "Tomcat" Book
075b2961d5 merge fx-team to mozilla-central 2014-03-19 16:21:06 +01:00
Marco Bonardo
5b1b279f66 Bug 818584 - Discard consecutive duplicate bookmark backups by comparing hashes r=mano
Original patch by Raymond Lee <raymond@appcoast.com> f=mak
2014-03-19 14:33:02 +01:00
Marco Bonardo
aa3410c3af Bug 983571 - browser.bookmarks.autoExportHTML = true no longer works. r=Yoric 2014-03-22 14:26:52 +01:00
Marco Bonardo
9120a58848 Bug 959576 - Create a component to get the list of priority domains. r=gavin 2014-03-22 14:24:36 +01:00
Gijs Kruitbosch
11a24d1eed Bug 986769 - bug 940038 caused a JS error when opening the character encoding view, rs=firebot 2014-03-22 10:00:10 +00:00
Gijs Kruitbosch
1ec486ce23 Bug 985777 - add a whitelist for URLs that we can switch to/from private browsing windows, r=ehsan
--HG--
extra : rebase_source : ab3d48e8fdc569f56118ad3fd518411733ff757b
2014-03-21 23:30:03 +00:00
Dave Townsend
6ab5501ee9 Bug 986107: Make new sandboxes inherit the metadata of the creating sandbox by default. r=bholley 2014-03-21 19:57:42 -07:00
Phil Ringnalda
64a957151a Bug 982359 - Increase timeout for browser_net_filter-02.js to avoid it failing on Ubuntu 2014-03-21 18:57:50 -07:00
Wes Kocher
a9a6ef9a27 Merge m-c to fx-team 2014-03-21 18:00:14 -07:00
Nick Alexander
52642ff855 Bug 986114 - Follow-up: Fix bustage on a CLOSED TREE. 2014-03-21 16:42:02 -07:00
Richard Newman
d746352c74 Bug 986114 - Part 2: switch TabsProvider to use PerProfileDatabaseProvider. r=nalexander 2014-03-21 16:00:39 -07:00
Richard Newman
13f5db8d6b Bug 986114 - Part 1: ReadingListProvider and BrowserProvider should share DB accessors. r=nalexander 2014-03-21 16:00:38 -07:00
Richard Newman
4a2968280a Bug 986114 - Pre: clean up testReadingListProvider. r=trivial 2014-03-21 16:00:38 -07:00
Richard Newman
5ef5abff1d Bug 986719 - Centralized documentation for UITelemetry. r=gps DONTBUILD 2014-03-21 15:59:57 -07:00