Commit Graph
55 Commits
Author SHA1 Message Date
Carsten "Tomcat" Book c0a2b46b9b merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Tom Tromey 1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
4e5d04b399 Bug 1265727 - Decouple EventLoopLagFront from EventLoopActor. r=fitzgen 2016-07-21 12:52:30 +02:00
J. Ryan Stinnett 30933227ec Bug 1240907 - Flatten RemoteBrowserTabActor into BrowserTabActor. r=ochameau
The removes the legacy path for non-e10s that avoids the messageManager.  We now
use the messageManager for all cases, both e10s off and on.

Unsurprisingly, this revealed a variety of race conditions in various tests, so
they've been cleaned up as well.

MozReview-Commit-ID: EXEWehphLIY
2016-07-21 12:20:55 -05:00
Greg Tatum 17dea2ba8d Bug 1265785 - replace uses of inIDOMUtils.getCSSPseudoElementNames r=pbro 2016-07-12 06:45:00 +02:00
Nick Fitzgerald 29461839ae Bug 1261869 - Fix leaks in devtools; r=ejpbruel
There are two leaks addressed in this commit:

1. The thread actor's `_debuggerSourcesSeen` set was never cleared. This set
exists only as a performance optimization to speed up `_addSource` in cases
where we've already added the source. Unfortunately, this set wasn't getting
cleared when we cleared debuggees out and it ended up keeping the
`Debugger.Source`, its referent, and transitively its referent's global alive. I
figured it was simpler to make it a `WeakSet` than to add it as a special case
in `ThreadActor.prototype._clearDebuggees` and manage the lifetimes by hand. I
think this fits well with its intended use as an ephemeral performance
optimization.

2. Due to a logic error, we were not clearing debuggees in the memory actor's
`Debugger` instance on navigations. This isn't really a "proper" leak, in that
if you forced a GC, the old debuggees would go away as `Debugger` holds them
weakly, however if there was no GC between navigations, then you could still see
the old windows (and everything they "retained") as roots in the snapshot. This
issue is straightforward to fix once identified: ensure that `_clearDebuggees`
is actually called on navigation.

Finally, this commit adds a test that we don't leak Window objects when devtools
are open and we keep refreshing a tab. When it fails, it prints out the leaking
window's retaining paths.
2016-07-06 08:37:57 -07:00
Eddy Bruel 56865c36f7 Bug 1265727 - Decouple FramerateFront from FramerateActor;r=fitzgen 2016-07-04 17:50:30 +02:00
Eddy Bruel c92530c5cd Bug 1265727 - Decouple ProfilerFront from ProfilerActor;r=fitzgen 2016-07-01 15:27:41 +02:00
Wes Kocher 4eb7fa6fa7 Backed out changeset 7773873116e9 (bug 1265727) for xpcshell failures and eslint failures 2016-06-29 12:00:47 -07:00
Eddy Bruel feb7a3aed3 Bug 1265727 - Decouple ProfilerFront from ProfilerActor;r=fitzgen 2016-06-29 16:20:06 +02:00
Tom Tromey c8e6faf303 Bug 1273941 - replace uses of promise.defer in devtools/shared; r=jryans
MozReview-Commit-ID: 2n3uJ5QKsKL
2016-06-09 09:03:47 -06:00
Eddy Bruel 0f1901e0cf Bug 1265727 - Decouple PerformanceRecordingFront from PerformanceRecordingActor;r=fitzgen 2016-06-22 15:01:28 +02:00
Eddy Bruel 82a70eb5f7 Bug 1265727 - Decouple PerformanceFront from PerformanceActor;r=fitzgen 2016-06-22 13:16:21 +02:00
Patrick Brosset 22dfd32737 Bug 1268082 - Get the list of supported CSS types for each property from the server; r=tromey
Added the list of supported types to each css property returned by the
CssProperties actor.
As a fallback, the css-properties-db static file also contains this list.
Also, if connected to a server that has the CssProperties actor but not
the data about supported types, then the type data is retrieved from the
static db too.

MozReview-Commit-ID: J1o8JGODMiC
2016-06-15 08:58:36 +01:00
Nick Fitzgerald d1b4cd56b2 bug 1265723 - Decouple the MemoryFront from the MemoryActor; r=ejpbruel 2016-06-10 13:28:15 -07:00
Nick Fitzgerald b52886d1fe Bug 1279302 - Decouple the ReflowFront from the ReflowActor; r=ejpbruel 2016-06-10 13:28:15 -07:00
Wes Kocher 64d8c15825 Bug 1265720 - ESLint fix 2016-06-09 12:00:28 -07:00
Eddy Bruel 84f0397a71 Bug 1265720 - Decouple fronts from actors in gcli;r=jryans 2016-06-09 17:28:36 +02:00
Eddy Bruel 624adbf498 Bug 1265724 - Decouple TimelineFront from TimelineActor; r=ejpbruel 2016-06-08 15:51:55 +02:00
Nick Fitzgerald cbcd6d53e5 Bug 1278405 - Decouple the DirectorRegistryFront from the DirectorRegistryActor; r=ejpbruel 2016-06-07 07:53:22 -07:00
Nick Fitzgerald d9095a3f80 Bug 1278397 - Decouple the MessagePortFront, DirectorScriptFront, and DirectorManagerFront from the MessagePortActor, DirectorScriptActor, and DirectorManagerActor respectively; r=ejpbruel 2016-06-07 07:53:22 -07:00
Nick Fitzgerald ec3f800233 Bug 1265731 - Decouple DeviceFront from DeviceActor; r=ejpbruel 2016-06-07 07:53:21 -07:00
Nick Fitzgerald a4f285365d Bug 1278345 - Decouple the LongStringFront from the LongStringActor; r=ejpbruel 2016-06-07 07:53:21 -07:00
Eddy Bruel b1fe093bb4 Bug 1265728 - Decouple PromisesFront from PromisesActor; r=ejpbruel 2016-06-07 12:47:20 +02:00
Nick Fitzgerald bb663a0b35 Bug 1277985 - Decouple the CSSUsageFront from the CSSUsageActor; r=ejpbruel 2016-06-06 10:24:34 -07:00
Greg Tatum 4aebc40c28 Bug 1265790 - replace inIDOMUtils.isInheritedProperty r=pbro
MozReview-Commit-ID: 1c6OLfYMW0p
2016-06-02 13:07:00 +02:00
Nick Fitzgerald b9dff3a9a7 Bug 1277707 - Decouple the fronts from the actors in the shader editor; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald 9792c25f51 Bug 1265719 - Decouple the CanvasFront and FrameSnapshotFront from the CanvasActor and FrameSnapshotActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald 31ebc542b4 Bug 1265732 - Decouple the AudioNodeFront and WebAudioFront from the AudioNodeActor and WebAudioActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald 6783a8670c Bug 1277673 - Decouple the ActorActorFront and ActorRegistryFront from the ActorActor and ActorRegistryActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald f73f769f2f Bug 1277634 - Decouple the CallWatcherFront and FunctionCallFront from the CallWatcherActor and FunctionCallActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Julian Descottes 04c7b09780 Bug 1202458 - part3: rename ShortLongString to SimpleStringFront;r=pbro
The current name ShortLongString doesn't reflect the current usage of
this class. When looking at the few clients of this class, the reason
for using it is that the string is already accessible on the client
and does not need to be fetched from the server, while still keeping
the same interface as the LongStringFront.

MozReview-Commit-ID: 7MdgH8GzC7q
2016-05-31 16:51:27 +02:00
Julian Descottes f53bd5b9dd Bug 1202458 - part1: inline text nodes in markupview only if they are short enough;r=pbro
The markup view will now inline a textnode in its container if and only if:
- the text node is the only child (pseudo elements included)
- the text node length is smaller than a predefined limit

If a container is expanded, its text nodes will now always be rendered in full,
no longer as a short version with an ellipsis. When selecting or navigating on
a textnode, the layout will no longer be modified on the fly.

MozReview-Commit-ID: HcDMqjbOesN
2016-06-02 10:41:49 +02:00
James Long d86f63cef0 Bug 1265854 - replace uses of nsiDOMNode constants in devtools frontend r=tromey 2016-06-03 09:47:58 -04:00
Eddy Bruel 037e160b4a Bug 1265730 - Decouple StyleEditorFront from StyleEditorActor;r=jryans 2016-06-02 17:42:24 +02:00
Carsten "Tomcat" Book d83db65f33 Backed out changeset f3bdf3ebaf4c (bug 1202458) for test failures in test_inspector-mutations-value.html - missed that changeset in the backout before, sorry 2016-06-02 16:32:05 +02:00
Carsten "Tomcat" Book 740a6e2789 Backed out changeset e74192b1a9c8 (bug 1202458) 2016-06-02 16:29:47 +02:00
Carsten "Tomcat" Book 0ec6fcc874 Backed out changeset b6ba2b9fbe8a (bug 1265730) for bc7 failures in browser_parsable_script.js 2016-06-02 15:59:07 +02:00
Julian Descottes 75cc226f5f Bug 1202458 - part3: rename ShortLongString to SimpleStringFront;r=pbro
The current name ShortLongString doesn't reflect the current usage of
this class. When looking at the few clients of this class, the reason
for using it is that the string is already accessible on the client
and does not need to be fetched from the server, while still keeping
the same interface as the LongStringFront.

MozReview-Commit-ID: 7MdgH8GzC7q
2016-05-31 16:51:27 +02:00
Julian Descottes 57f9c7e9d0 Bug 1202458 - part1: inline text nodes in markupview only if they are short enough;r=pbro
The markup view will now inline a textnode in its container if and only if:
- the text node is the only child (pseudo elements included)
- the text node length is smaller than a predefined limit

If a container is expanded, its text nodes will now always be rendered in full,
no longer as a short version with an ellipsis. When selecting or navigating on
a textnode, the layout will no longer be modified on the fly.

MozReview-Commit-ID: HcDMqjbOesN
2016-06-02 10:41:49 +02:00
Eddy Bruel 284061427c Bug 1265730 - Decouple StyleEditorFront from StyleEditorActor;r=jryans 2016-06-02 13:10:41 +02:00
Greg Tatum a8e55a89a4 Bug 1265798 - Implement CSS database to query css properties r=pbro
MozReview-Commit-ID: CAUh2GyeA2o
2016-05-26 08:48:00 -07:00
Eddy Bruel 47088b082e Bug 1265718 - Decouple AnimationsFront from AnimationsActor;r=jryans 2016-05-26 15:47:52 +02:00
Eddy Bruel 92e1c8bd08 Bug 1265730 - Decouple StyleEditorFront from StyleEditorActor;r=jryans 2016-05-26 08:46:03 +02:00
Patrick Brosset 8c1b03880b Bug 1270186 - Move css-parsing-utils.js from devtools/client to devtools/shared; r=tromey
MozReview-Commit-ID: 75Yq1X4YjjJ
2016-05-23 14:03:12 +02:00
Carsten "Tomcat" Book ce217fc28c Backed out changeset 3c599aa289d8 (bug 1265718) for timeouts in test_animation_actor-lifetime.html 2016-05-25 13:25:59 +02:00
Eddy Bruel deb0e4acfe Bug 1265718 - Decouple AnimationsFront from AnimationsActor;r=jryans 2016-05-25 10:18:27 +02:00
Kumar McMillan 548f98817f Bug 1273183 - Install a temporary add-on via remote debugging. r=jryans
MozReview-Commit-ID: FoEZxDjldIA
2016-05-20 11:36:04 -05:00
Carsten "Tomcat" Book bfced16d02 Backed out changeset 25a5ae2711f3 (bug 1265718) for test failures in browser_animation_emitMutations.js 2016-05-24 14:17:34 +02:00
Eddy Bruel f23705afb0 Bug 1265718 - Decouple AnimationsFront from AnimationsActor;r=jryans 2016-05-24 11:33:25 +02:00