Commit Graph

174537 Commits

Author SHA1 Message Date
Blake Kaplan
cb8436b251 Bug 976479 - Don't race to destroy top level protocols off the main thread. r=nical 2014-03-21 15:20:25 -07:00
Brian Birtles
9647a9f855 Bug 981508 - Fix comment in nsDisplayTransform::ShouldPrerenderTransformedContent; r=roc 2014-03-22 05:59:58 +08:00
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
Ryan VanderMeulen
2ecebddb0e Merge m-c to inbound. 2014-03-21 16:49:07 -04:00
Ehsan Akhgari
0cfc414bc6 Backed out 2 changesets (bug 957431) because we decided we're keeping Attr.ownerElement in the end
Backed out changeset ab12a8416a1d (bug 957431)
Backed out changeset 188d1e255d40 (bug 957431)
2014-03-21 16:04:09 -04:00
Ehsan Akhgari
67a4370aba Backed out 2 changesets (bug 957652) because bug 957431 is being backed out
Backed out changeset 92efd61cfca5 (bug 957652)
Backed out changeset 9d405c64a7bf (bug 957652)
2014-03-21 16:02:21 -04:00
David Keeler
94f596638c backout bug 985021 (8d622f4ec6e9) for another build breakage on a CLOSED TREE r=backout 2014-03-21 11:47:06 -07:00
Ryan VanderMeulen
c46dd0aaa3 Backed out changeset 463fa756b43b (bug 886110) for causing various regressions. 2014-03-21 14:44:05 -04:00
B2G Bumper Bot
01387bd9ce Bumping manifests a=b2g-bump 2014-03-21 11:02:34 -07:00
B2G Bumper Bot
dd5134a053 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/1265e2a0f500
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #17372 from gtorodelvalle/contacts-bug-982260-intermittent-failure

Bug 982260 - Gaia-integration tests on TBPL fail with: TEST-UNEXPECTED-FAIL | Contacts > Details Merging 15 contacts

========

https://hg.mozilla.org/integration/gaia-central/rev/123b19d43034
Author: German Toro del Valle <gtorodelvalle@gmail.com>
Desc: Bug 982260 - Gaia-integration tests on TBPL fail with: TEST-UNEXPECTED-FAIL | Contacts > Details Merging 15 contacts
2014-03-21 11:01:09 -07:00
Sotaro Ikeda
8dd768326c Bug 986253 - Limt a number of Fence to 4 per message r=nical 2014-03-21 09:57:01 -07:00
Carsten "Tomcat" Book
9f9416411f Merge mozilla-central to b2g-inbound 2014-03-21 15:26:20 +01:00
Carsten "Tomcat" Book
6856e13ae8 merge b2g-inbound to mozilla-central 2014-03-21 15:18:04 +01:00
Carsten "Tomcat" Book
695b04a65c merge fx-team to mozilla-central 2014-03-21 15:16:06 +01:00
B2G Bumper Bot
3d508e051b Bumping manifests a=b2g-bump 2014-03-21 06:06:07 -07:00
B2G Bumper Bot
fb456de70f Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/84a3ccb6f415
Author: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Desc: Merge pull request #17423 from timdream/keyboard-mempressure-race-master

Bug 984238 - Don't kill the keyboard when when it's being launched +shepherd

========

https://hg.mozilla.org/integration/gaia-central/rev/ebd5fc74f4a1
Author: Timothy Guan-tin Chien <timdream@gmail.com>
Desc: Bug 984238 - Don't kill the keyboard when when it's being launched
2014-03-21 06:00:58 -07:00
B2G Bumper Bot
325d1037cc Bumping manifests a=b2g-bump 2014-03-21 05:56:07 -07:00
B2G Bumper Bot
599be99942 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/3bb28013057e
Author: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Desc: Merge pull request #17250 from eliperelman/bug-979396-homescreen-swipe-velocity

Bug 979396 - Converting homescreen swipe animation to be velocity-sensitive

========

https://hg.mozilla.org/integration/gaia-central/rev/e6d4335cf06a
Author: Eli Perelman <eli@eliperelman.com>
Desc: Converting homescreen swipe animation to be velocity-sensitive
2014-03-21 05:50:56 -07:00
Henrik Skupin
adab276adc Bug 982591 - Update TPS to retrieve keys from server instead of hard-coding them. r=warner
--HG--
extra : rebase_source : 2a9449aeca2f28a2bce648971619635b19a4d670
2014-03-21 10:23:15 +01:00
B2G Bumper Bot
ca9a67f2e0 Bumping manifests a=b2g-bump 2014-03-21 02:17:41 -07:00
Shawn Huang
28433a4df0 Bug 986352 - [bluedroid] Fix hfp-fallback build break due to miss Reset() for BluetoothHfpManager, r=echou 2014-03-21 17:12:16 +08:00
Paolo Amadini
2c1baf6efd Bug 984806 - Convert to Promise.jsm in the Webapp Runtime. r=marco 2014-03-21 09:43:34 +01:00
Carsten "Tomcat" Book
f3d2e516ee Backed out changeset f787c0fa465e (bug 975042) for B2G ICS Emulator M7 Orange on a CLOSED TREE 2014-03-21 08:48:40 +01:00
Carsten "Tomcat" Book
dacc94b8b8 Backed out changeset 351371062c26 (bug 975042) 2014-03-21 08:47:48 +01:00
Carsten "Tomcat" Book
29455a5f1a Backed out changeset 449ade4078c0 (bug 975042) 2014-03-21 08:47:47 +01:00
Carsten "Tomcat" Book
b2e416c8b8 Backed out changeset 59a38e0e27bb (bug 975042) 2014-03-21 08:47:45 +01:00
Carsten "Tomcat" Book
ba5d2ea41e Backed out changeset 8ac7fa583164 (bug 975042) 2014-03-21 08:47:44 +01:00
Carsten "Tomcat" Book
9f94fcc80e Backed out changeset 6c25a4bfd449 (bug 975042) 2014-03-21 08:47:43 +01:00
Carsten "Tomcat" Book
172964cc89 Backed out changeset f7d97dc26289 (bug 975042) 2014-03-21 08:47:42 +01:00
Carsten "Tomcat" Book
571b6e04f0 Backed out changeset 1b62c8f1c211 (bug 975042) 2014-03-21 08:47:41 +01:00
Carsten "Tomcat" Book
6aaa55d6fb Backed out changeset 16da792be5f8 (bug 975042) 2014-03-21 08:47:40 +01:00
Carsten "Tomcat" Book
70e881bcbd Backed out changeset 767ce92ebaf1 (bug 975042) 2014-03-21 08:47:36 +01:00
Boris Zbarsky
7c5ebcc777 Another bug 985827 followup. Make sure to not cache things wrapped in an Xray compartment on the navigator object. r=khuey 2014-03-21 03:25:21 -04:00
B2G Bumper Bot
e7044fccd8 Bumping manifests a=b2g-bump 2014-03-21 00:11:20 -07:00
B2G Bumper Bot
a88dc4f0aa Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/3045bf73d5cc
Author: Carsten Book -Tomcat- <cbook@mozilla.com>
Desc: Revert "Bug 983663 - [Contacts] JSHint fixes for contact unit tests r=arcturus" for Gaia Unit Test Bustage

This reverts commit 4de450bb6f1a6407aa9a23bf211a7e8e9742b913.
2014-03-21 00:06:01 -07:00
Edwin Flores
cab563a65a Bug 941298 - FFmpeg PlatformDecoderModule for Linux r=doublec,cpearce 2014-03-21 19:35:15 +13:00
Edwin Flores
372079241f Bug 941298 - FFmpeg headers for FFmpeg PlatformDecoderModule r=doublec
While FFmpeg function signatures tend not to change between versions of FFmpeg,
class layouts can change dramatically. We include libavcodec, libavformat,
and libavutil headers here so that we don't accidentally build against the wrong
binary interface.
2014-03-21 19:35:14 +13:00
Edwin Flores
4125ba2622 Bug 941298 - Fix errors in content/media/fmp4 on Linux with clang and --enable-warnings-as-errors r=cpearce 2014-03-21 19:35:14 +13:00
Edwin Flores
53b9c2c9b3 Bug 941298 - Build changes for FFmpeg PlatformDecoderModule r=gps 2014-03-21 19:35:14 +13:00
Jeff Walden
2344d13279 Bug 985687 - Remove vestigial tinyid/shortid references, as well as the field in JSPropertySpec. Followup to bug 975069. r=luke
--HG--
extra : rebase_source : 9e4bd270925efb155dacb91470b617f169526824
2014-03-20 23:24:21 -07:00