Commit Graph

171785 Commits

Author SHA1 Message Date
L. David Baron
0ff448bbbf Bug 979557: CanAnimatePropertyOnCompositor should return early when there's no OMT compositing, whether or not logging is enabled. r=dzbarsky
This shouldn't behave differently depending on whether or not logging is
enabled; that difference was introduced in bug 785648.
2014-03-04 20:13:22 -08:00
L. David Baron
8b4ba29d81 Bug 979555: Add default value for layers.offmainthreadcomposition.log-animations preference to all.js. r=dzbarsky
It's good practice to have default values for all preferences in all.js.
Otherwise some preference APIs throw exceptions and/or leave values
uninitialized.  It also makes the preference show up in about:config.

Bug 875204 accidentally removed this line from all.js even though the
pref was not removed.  (The pref was initially added in bug 780342.)
2014-03-04 20:13:22 -08:00
L. David Baron
503c4c2bbe Bug 828173 patch 6: Remove calls to ForceLayerRerendering from the miniflush code (UpdateThrottledStyles, which flushes animations whose main thread updates are throttled without updating any other styles). r=mattwoodrow
I've been wanting to remove this code for a while.  I think this code is
problematic for three reasons:

 (1) It's in the middle of code where it doesn't belong, and which ought
     to be handling purely-style-system things.  (This is blocking me
     from reusing that code elsewhere, e.g., in bug 977991 and
     bug 960465, both of which could use it in some form.)

 (2) It defeats the optimization from bug 790505 whenever we do a
     miniflush (in other words, whenever we have any style change,
     whether or not it's related)

 (3) It means the conditions for when we decide to ship a new set of
     animation data to a layer doesn't cover all the cases the layer
     needs it.  In particular, we only run this miniflush code when we
     have a currently running animation or transition that's running on
     the compositor thread.  On the other hand, the UpdateTransformLayer
     style change handling in DoApplyRenderingChangeToTree depends on
     whether the frame currently has a transform layer, which can
     continue to be true for a bit after the animation stops.  So if we
     need to send animations to the layer because of a transform style
     change that happens soon after an animation completes, our style
     change handling will find the existing layer and call its
     SetBaseTransformForNextTransaction method but never do anything
     that triggers layer construction.  The style throttling code, in
     turn, will never stop doing main thread updates because the
     animation generation on the layer is out-of-date, and these main
     thread updates will keep the layer active, but they'll never show
     up because the stale animation data overrides the new transform
     that we've been setting.  (At least, I think that's what was
     happening; it makes sense to me and matches the behavior I was
     observing.  I didn't verify which main thread updates and which
     layer updates were actually happening, though.)

     This shows up, for example, in the animation in attachment 8384813
     just halting at a corner if I'm careful not to disturb it.  (I'm
     testing on Linux, with both accelerated layers and OMT animations
     explicitly enabled.)

I think there are probably some other things that can be removed as
followups to removing this code, because I think we made some boundary
conditions intentionally incorrect so that problem (3) above wouldn't be
as bad as it otherwise would have been.
2014-03-04 20:13:22 -08:00
L. David Baron
598c0d4122 Bug 828173 patch 5: Call AddAnimationsAndTransitionsToLayer when we choose not to repaint when handling an UpdateTransformLayer hint, so that any new animations resulting from the style change get sent to the layer. r=mattwoodrow 2014-03-04 20:13:22 -08:00
L. David Baron
6a0c7b3f88 Bug 828173 patch 4: Expose AddAnimationsAndTransitionsToLayer and allow it to be called from style change handling. r=mattwoodrow 2014-03-04 20:13:21 -08:00
L. David Baron
6dd37cbb18 Bug 828173 patch 3.5: Move GetTransformRootFrame to nsLayoutUtils. r=mattwoodrow 2014-03-04 20:13:21 -08:00
L. David Baron
3a3230d07c Bug 828173 patch 3: Add a concept of pending animations to Layer, like pending transform. r=mattwoodrow 2014-03-04 20:13:21 -08:00
L. David Baron
33a1acf4a8 Bug 828173 patch 2: Make Layer::AddAnimation have the caller fill in the data instead of taking parameters. r=mattwoodrow
(This is a bigger simplification later in the patch queue, when I add a
variant of AddAnimation called AddAnimationForNextTransaction.)
2014-03-04 20:13:21 -08:00
L. David Baron
0cc7253609 Bug 828173 patch 1: Add nsLayoutUtils::GetReferenceFrame. r=mattwoodrow 2014-03-04 20:13:21 -08:00
L. David Baron
a632cf17a5 Bug 978903: Fix some uninitialized variable warnings in the CSS parser. r=heycam
The first provides a reasonable default (failure to parse) for the case
of an unknown value type (which should never happen).

The second reorders two failure checks so that the one that returns
early when units is uninitialized happens before the one that looks at
units.
2014-03-04 20:13:20 -08:00
L. David Baron
99fe2c6a0f Bug 978648: Handle dynamic changes to @keyframes rules and keyframe rules better. r=heycam 2014-03-04 20:13:20 -08:00
L. David Baron
af015e471f Bug 621618 patch 4: Make conditions in Element::RemoveFromIdTable match those in AddToIdTable, to avoid asymmetric calls to the document's functions. r=bzbarsky 2014-03-04 20:13:20 -08:00
L. David Baron
2367771127 Bug 621618 patch 3: Add FIXMEs in nsXULDocument for ID handling. r=bzbarsky 2014-03-04 20:13:20 -08:00
L. David Baron
ac15812b00 Bug 621618 patch 2: Make nsXMLElement reuse Element::AddToIdTable and Element::RemoveFromIdTable thoroughly. r=bzbarsky 2014-03-04 20:13:20 -08:00
L. David Baron
5be0db86fb Bug 621618 patch 1: Remove BindToTree overrides in nsXMLElement that exist only to make AddToIdTable/RemoveFromIdTable calls already in the base class (Element). r=bzbarsky
I think this could have been done as part of Bug 700981 part 2, which
moved AddToIdTable and RemoveFromIdTable calls from nsStyledElement to
nsGenericElement.
2014-03-04 20:13:20 -08:00
L. David Baron
c756924cf8 Bug 976777: Truncate long source lines in script errors before sending them to the parent process. r=bent
This fixes an out-of-memory foreground-tab crash that I could reliably
reproduce on a 256MB Firefox OS phone, and I think also significantly
reduces the number of background tabs I'm seeing killed due to low
memory.
2014-03-04 20:13:19 -08:00
L. David Baron
a63ef45bd2 Fix merge error between bug 872273 (changeset 46df3fd9b0dc) and bug 946065 (changeset 243259fda9ab) and move this test to the directory where it's listed in mochitest.ini so it will actually be run. No review.
Bug 979640 is filed on making this mistake harder.

--HG--
rename : content/xbl/test/test_bug872273.xhtml => dom/xbl/test/test_bug872273.xhtml
2014-03-04 20:13:19 -08:00
Jim Blandy
50018f6a4d Bug 800200: Print a deprecation warning to the console when JSD is first used. r=bholley 2014-03-04 20:09:15 -08:00
Matthew Gregan
a41d42b3f5 Bug 979100 - Refactor MediaSource's EndOfStream. r=cajbir 2014-03-05 16:35:47 +13:00
Matthew Gregan
b9478e3792 Bug 979099 - Refactor MediaSource's IsTypeSupported. r=cajbir 2014-03-05 16:35:47 +13:00
Matthew Gregan
90007339f3 Bug 979096 - Rename PR_LOG uses to MSE_LOG in content/media/mediasource. r=cajbir 2014-03-05 16:35:46 +13:00
Andrea Marchesini
f9cfcef2a3 Bug 966054 - MessagePort should use StructuredCloneBuffer as internal member, r=smaug 2014-03-05 03:28:20 +00:00
Andrea Marchesini
f247026039 Bug 979109 - termination string check in Console.cpp, r=smaug 2014-03-05 03:22:32 +00:00
Sam Foster
73aab8c053 Bug 967793 - Add test for download notification behavior when the current tab gets closed. r=azasypkin 2014-03-04 19:16:08 -08:00
Sam Foster
38e079a175 Bug 967793 - move all download notifications to next tab when current tab gets closed. r=mbrubeck 2014-03-04 19:16:08 -08:00
Sam Foster
45db6abe3f Bug 967793 - Add tests for metro notification bindings and adoptNotification method. r=azasypkin 2014-03-04 19:16:07 -08:00
Sam Foster
e22760428b Bug 967793 - Move CAO adjustment of notificationbox padding into CSS via a navbar=visible broadcaster. r=mbrubeck 2014-03-04 19:16:07 -08:00
Sam Foster
77244b1221 Bug 967793 - extended notification binding to provide child element support for the notification label. r=mbrubeck 2014-03-04 19:16:07 -08:00
Sam Foster
65b6a27532 Bug 974413 - Call Tab's updateViewport when a notification is closed. r=mbrubeck 2014-03-04 19:16:07 -08:00
Gijs Kruitbosch
5421baa9d0 Bug 959640 - add icons to enable SDK add-ons to show default icon in Australis, rs=jaws,various-real-life-review+s 2014-03-04 22:11:46 -05:00
Gijs Kruitbosch
ed0c6f2d9d Bug 979587 - attempt to fix sidebar opening from Australis bookmarks menu, r=mconley
--HG--
extra : rebase_source : 8d0d3ca939b8f7327da50b5cf52327e3a37d19fa
2014-03-04 21:46:32 -05:00
Brian Grinstead
7825802e59 Bug 979864 - [markup view] After selecting a node using the picker button, the hover background is used until hovering the markup view;r=pbrosset 2014-03-05 08:44:47 -06:00
Gijs Kruitbosch
6e8d66a2d3 Bug 978447 - fix Australis' bookmarks menu hover and active style some more, r=bwinton 2014-03-05 09:17:49 -05:00
Jim Chen
d0283f4f04 Bug 975436 - Catch ClassCastException in ANRReporter. r=blassey 2014-03-05 09:05:21 -05:00
Christopher Su
fffcc84d5a Bug 943629 - Remove unnecessary comment in Tabs. r=mcomella 2014-03-05 09:05:07 -05:00
Ehsan Akhgari
3e3cabcaaf Bug 979681 - Correctly handle SOURCES.flags for sources with relative paths in them; r=glandium 2014-03-04 21:36:16 -05:00
Jed Davis
cfaafc654d Bug 946407 - Disable sandbox when DMDing. r=njn r=kang
See also bug 956961.
2014-03-04 18:27:14 -08:00
Jed Davis
6a4c4691a0 Bug 946407 - Reimplement DumpMemoryInfoToTempDir in terms of GetReports. r=njn
This winds up exposing things in the nsIMemoryReporterManager interface
that arguably don't belong at that level of abstraction -- "minimize
memory usage first" and DMD -- in order to take advantage of the
infrastructure that GetReports already has for managing the child
processes.
2014-03-04 18:27:13 -08:00
Wes Kocher
b4dd408494 Backed out changeset f814a1a08de6 (bug 865241) for failing at least once per push since the test landed 2014-03-04 18:22:18 -08:00
William Chen
e1d3d37020 Bug 901319 - Implement HTML spec change to Adoption Agency Algorithm to not reverse the order of nodes in the document, by removing nodes that we're not recreating from the stack of open elements. r=hsivonen 2014-03-04 18:06:15 -08:00
Matt Brubeck
95576befed Bug 972844 - Add a Maybe Later link on about:feedback intro [r=mfinkle] 2014-03-04 16:58:33 -08:00
Richard Newman
d588cdd055 Bug 966143 - Don't attempt to process a malformed password record. r=nalexander 2014-03-04 14:38:11 -08:00
Jared Wein
8ddc0d63bd Bug 940133 - Australis: Invert icons in the tabstrip and menubar on Windows Classic. r=MattN 2014-03-04 17:26:49 -05:00
Ryan VanderMeulen
291eff6624 Merge m-c to fx-team. 2014-03-04 17:24:28 -05:00
Ryan VanderMeulen
f8b176e5a0 Merge inbound to m-c. 2014-03-04 17:12:58 -05:00
Ryan VanderMeulen
565fe7f416 Merge b2g-inbound to m-c. 2014-03-04 16:37:41 -05:00
Victor Porof
61594118ef Bug 957952 - Intermittent TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/netmonitor/test/browser_net_timing-division.js | There should be at least one division on the seconds time scale, r=rcampbell 2014-03-04 14:15:52 -05:00
Lars T Hansen
554e5b8c75 Bug 979139 - Add necessary guards to TypedObject tests. r=mjrosenb 2014-03-04 13:51:37 -05:00
Nils Ohlmeier [:drno]
32a0e501c4 Bug 977933 - Temporarily increase WebRTC logging for tests to help catching intermittent test failures. r=jesup 2014-03-04 13:51:37 -05:00
Kent James
ca83307c02 Bug 977736 - Rewind stream early in DoAuthRetry. r=honzab 2014-03-04 13:51:37 -05:00