Commit Graph

171958 Commits

Author SHA1 Message Date
L. David Baron
b109d5c930 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
383c71d957 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
c9ae86a635 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
b98ff26924 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
4603813c94 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
358f564ab9 Bug 828173 patch 3.5: Move GetTransformRootFrame to nsLayoutUtils. r=mattwoodrow 2014-03-04 20:13:21 -08:00
L. David Baron
365f5250f9 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
4bc85751cb 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
4d4545cfcb Bug 828173 patch 1: Add nsLayoutUtils::GetReferenceFrame. r=mattwoodrow 2014-03-04 20:13:21 -08:00
L. David Baron
ef65031de5 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
537d857ff5 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
ef278311e1 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
c37c08d10e Bug 621618 patch 3: Add FIXMEs in nsXULDocument for ID handling. r=bzbarsky 2014-03-04 20:13:20 -08:00
L. David Baron
69ad1b9e44 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
9dc98d8810 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
dfeaacc718 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
ee3d9471bc 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
b789a57871 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
008bca7069 Bug 979100 - Refactor MediaSource's EndOfStream. r=cajbir 2014-03-05 16:35:47 +13:00
Matthew Gregan
569e29ee6e Bug 979099 - Refactor MediaSource's IsTypeSupported. r=cajbir 2014-03-05 16:35:47 +13:00
Matthew Gregan
db37ba47ff 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
aae5561a7c Bug 966054 - MessagePort should use StructuredCloneBuffer as internal member, r=smaug 2014-03-05 03:28:20 +00:00
Andrea Marchesini
66a700605d Bug 979109 - termination string check in Console.cpp, r=smaug 2014-03-05 03:22:32 +00:00
Sam Foster
7c5a36a08e 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
01554d95c0 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
4d7220983c Bug 967793 - Add tests for metro notification bindings and adoptNotification method. r=azasypkin 2014-03-04 19:16:07 -08:00
Sam Foster
08687cfaaa 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
735cf773b0 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
3588bcfc85 Bug 974413 - Call Tab's updateViewport when a notification is closed. r=mbrubeck 2014-03-04 19:16:07 -08:00
Gijs Kruitbosch
5fd079ab5d 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
d2d9316d51 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
f57850a595 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
1aad1ac675 Bug 978447 - fix Australis' bookmarks menu hover and active style some more, r=bwinton 2014-03-05 09:17:49 -05:00
Jim Chen
509a8a56c8 Bug 975436 - Catch ClassCastException in ANRReporter. r=blassey 2014-03-05 09:05:21 -05:00
Christopher Su
f200495f75 Bug 943629 - Remove unnecessary comment in Tabs. r=mcomella 2014-03-05 09:05:07 -05:00
Ehsan Akhgari
258b9a4469 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
f6ffcce7a8 Bug 946407 - Disable sandbox when DMDing. r=njn r=kang
See also bug 956961.
2014-03-04 18:27:14 -08:00
Jed Davis
906a754859 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
1b6419575b 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
aea72816f8 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
Gregory Szorc
800b9acdc1 Bug 979640 - Make build system error on missing test files; r=ted
Previously, the build system may silently missing test files defined in
manifests. This patch makes missing test files a fatal error, detected
when reading test manifests.

The test_bug872273.html XBL test appeared to be orphaned in
content/xbl/test. It has been reunited with its family.

dom/tests/mochitest/notification referenced a single test file which was
recently deleted. That manifest has been removed.

Missing test files related to the Python unit tests for the build system
have been added. (They are a bunch of empty files.)

--HG--
extra : amend_source : cb6b9bf91e57569c8be312d3c16fef69b2b0b950
2014-03-04 17:48:50 -08:00
Ryan VanderMeulen
2dc1e91c77 Backed out changeset 593206fbd97e (bug 979640) for mochitest-other failures.
CLOSED TREE
2014-03-05 13:52:02 -05:00
Gijs Kruitbosch
c0977f17f2 Bug 972286 - fix negation issue in Australis panel detection CSS, r=MattN
--HG--
extra : rebase_source : 683cc6d9b6482647b7a3227d5d77785ef53944e2
2014-03-05 13:17:29 -05:00
Gregory Szorc
73017e8d17 Bug 979640 - Make build system error on missing test files; r=ted
Previously, the build system may silently missing test files defined in
manifests. This patch makes missing test files a fatal error, detected
when reading test manifests.

The test_bug872273.html XBL test appeared to be orphaned in
content/xbl/test. It has been reunited with its family.

dom/tests/mochitest/notification referenced a single test file which was
recently deleted. That manifest has been removed.

Missing test files related to the Python unit tests for the build system
have been added. (They are a bunch of empty files.)

--HG--
extra : rebase_source : 8c64986169064401951585c07deadada8c905550
2014-03-04 17:48:50 -08:00
Matt Brubeck
ba3cdcb090 Bug 972844 - Add a Maybe Later link on about:feedback intro [r=mfinkle] 2014-03-04 16:58:33 -08:00
Botond Ballo
390740c5a5 Bug 978840 - Calculate displayport based on up-to-date scrollable rect on first paint. r=tn
--HG--
extra : rebase_source : b370dd7d139f41d6da41c464fa700c9ecfd212c4
2014-03-04 19:02:37 -05:00
Richard Newman
eea1085ad4 Bug 966143 - Don't attempt to process a malformed password record. r=nalexander 2014-03-04 14:38:11 -08:00
Jared Wein
a014dcaea3 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
230ec65231 Merge m-c to fx-team. 2014-03-04 17:24:28 -05:00
Ryan VanderMeulen
991cf68d46 Merge inbound to m-c. 2014-03-04 17:12:58 -05:00