Commit Graph
250 Commits
Author SHA1 Message Date
Carsten "Tomcat" Book 496d5f888a merge fx-team to mozilla-central a=merge 2016-07-25 15:49:05 +02:00
Tom Tromey 901e97b35a Bug 1276341 - don't use Cu.import for event-emitter.js; r=jryans
MozReview-Commit-ID: BDvrMP8fRim
2016-07-18 13:58:20 -06:00
Carsten "Tomcat" Book c0a2b46b9b merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Carsten "Tomcat" Book 3c6d6ab8d0 merge fx-team to mozilla-central a=merge 2016-07-22 11:56:37 +02:00
Tim Nguyen 80c893a4a9 Bug 1268591 - Support new invertIconForDarkTheme flag. r=bgrins, jsantell a=kwierso CLOSED TREE
MozReview-Commit-ID: DfMBsD2u0ow
2016-07-22 00:44:11 +02:00
Jaideep Bhoosreddy 8878aa9116 Bug 670002 - Use source maps in the web console w/ performance issues; r=jsantell 2016-07-20 19:09:00 +02:00
Jaideep Bhoosreddy 62ae513da3 Bug 670002 - Tests for source maps in the web console w/ performance issues; r=jsantell 2016-07-19 14:42:00 +02:00
Wes Kocher 92db197898 Backed out changeset c6a1177a17e4 (bug 670002) because it should have been backed out with the other patch from this bug CLOSED TREE 2016-07-20 15:15:33 -07:00
Wes Kocher c81f8b6029 Backed out changeset aab8baf2c5f5 (bug 670002) for eslint failures 2016-07-20 12:56:46 -07:00
Jaideep Bhoosreddy 5a68fb170d Bug 670002 - Tests for source maps in the web console w/ performance issues. r=jsantell 2016-07-19 14:42:00 -04:00
Jaideep Bhoosreddy a410059042 Bug 670002 - Use source maps in the web console w/ performance issues. r=jsantell 2016-07-20 00:40:00 -04:00
Tom Tromey bd2b8192f3 Bug 1266839 - replace uses of nsIXULAppInfo in devtools; r=gregtatum
MozReview-Commit-ID: KIsffqE99hA
2016-07-15 14:04:02 -06:00
Tom Tromey 3ae78bc3e0 Bug 1265802 - Add Services.appinfo.OS shim for devtools; r=jryans
MozReview-Commit-ID: L41zmBEyqPH
2016-07-14 12:48:47 -06:00
Julian Descottes 7bcbd981b1 Bug 1280360 - markupview: a11y fix tabindex when modifying attributes;r=pbro
Modify the template for markup view attributes to accept a tabindex attribute.
The markup for attributes might be generated and inserted in an already focused
markup view line. In this case the DOM element should be created with a tabindex
of 0 instead of -1.

MozReview-Commit-ID: AaMUS1h1o0C
2016-07-01 23:34:21 +02:00
Alexandre Poirot 043ec757f5 Bug 1281726 - Test about:devtools-toolbox?target r=jryans 2016-07-13 23:34:18 -07:00
Alexandre Poirot 43293a7a75 Bug 1281726 - Support TabActor.getTab against mozbrowser iframes. r=jryans 2016-07-13 23:34:17 -07:00
Alexandre Poirot 86f84bf1c7 Bug 1285229 - Prevent duplicated context menu in the Inspector on Windows. r=jdescottes 2016-07-13 15:44:20 -07:00
Ricky Chien fa3095e149 Bug 1280791 - Don't apply min-width to the command-button-frames checkbox in firebug theme r=Honza
MozReview-Commit-ID: 1BrYfWKqwsP
2016-07-08 16:44:21 +08:00
Brian Grinstead b32d541bec Bug 1285225 - Set accesskey and disabled properties on menuitems with submenus in Menu API;r=jdescottes
MozReview-Commit-ID: GN9j5pEn3cH
2016-07-08 07:24:09 -07:00
Gijs Kruitbosch 792e604bb8 Bug 1208489 - use resizebefore attribute on devtools horizontal splitter to avoid resizing notificationboxes, r=bgrins
MozReview-Commit-ID: 9ijDB4fFhA3
2016-07-07 16:38:27 +01:00
Carsten "Tomcat" Book a7a350dbcb merge mozilla-inbound to mozilla-central a=merge 2016-07-07 11:41:27 +02:00
Nicolas Chevobbe 13a81ee15d Bug 1261714 - Fix dead CPOW intermittent on browser_toolbox_options_disable_js.js. r=jryans
MozReview-Commit-ID: G2De93K0Tgv
2016-07-05 23:24:21 +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
Patrick Brosset c820930b1a Bug 1284221 - Move the font panel to the last position in the sidebar; r=jdescottes
MozReview-Commit-ID: Kh64bTWxQkA
2016-07-04 15:21:58 +02:00
Towkir Ahmed 804d8bb111 Bug 1266142 - Fixed radio button labels vertical alignment in devtools settings/options pane. r=ochameau 2016-06-29 12:36:00 +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
J. Ryan Stinnett 3b0119033c Bug 1240907 - Tunnel toolbox messages to content in RDM. r=ochameau
When you open a toolbox in RDM, it will now debug the content page, instead of
the RDM UI.

MozReview-Commit-ID: LXbVhwNVlcp
2016-07-21 12:20:55 -05:00
Alexandre Poirot 1db912cedb Bug 1281731 - Destroy the toolbox on toolbox.xul unload. r=jryans 2016-06-28 08:39:37 -07:00
Jan Keromnes 84d47113b0 Bug 1268073 - Fix a few BrowserToolboxProcess leaks. r=ochameau 2016-06-28 08:39:37 -07:00
Alexandre Poirot 3fb26aa8a9 Bug 1268073 - Free loader created by BrowserToolboxProcess. r=jryans 2016-06-28 08:39:37 -07:00
Alexandre Poirot a70c9beceb Bug 1268073 - Prevent leaking BrowserToolboxProcess instance when debuggerServer leaks. r=jryans 2016-06-28 08:39:36 -07:00
Philipp Kewisch 8b42287804 Bug 1279784 - Remove hardcoded navigator:browser in devtools. r=jryans 2016-06-28 11:03:11 +02:00
J. Ryan Stinnett 7b666ebded Bug 1240900 - Use outerWindowID directly from browser. r=ochameau
MozReview-Commit-ID: JuJNSScaJEs
2016-06-25 11:35:02 -05:00
Tom Tromey 474aade274 Bug 1273941 - replace uses of promise.defer in devtools/client/framework; r=jryans
MozReview-Commit-ID: GwgbcXOmvtK
2016-06-09 09:04:58 -06:00
Tom Tromey 49a3014680 Bug 1273941 - replace uses of promise.defer in devtools/client/shared; r=jryans
MozReview-Commit-ID: K5P4eB0XPT9
2016-06-09 09:04:22 -06:00
Eddy Bruel 82a70eb5f7 Bug 1265727 - Decouple PerformanceFront from PerformanceActor;r=fitzgen 2016-06-22 13:16:21 +02:00
Patrick Brosset 3e7653ff54 Bug 1262439 - 5 - Move eyedropper btn to inspector and update gcli command; r=bgrins
This moves the eyedropper button from the toolbar into the inspector,
therefore the old eyedropper command isn't needed anymore,
or at least not as it was.
The button in the inspector simply uses the pickColorFromPage inspector
actor method.
And to preserve a eyedropper gcli command, a new simpler one was added.

MozReview-Commit-ID: B1yr1EqLFBD
2016-07-20 16:06:42 +02:00
Amod Narvekar 0e517cd3d7 Bug 1267503 - Show the font-inspector in sidebar menu if enabled, r=jdescottes 2016-06-14 08:12:00 +01:00
Jan Odvarko 464f688c77 Bug 1277199 - Fix CSS for command-button-frames; r=ochameau, ntim 2016-06-09 13:07:34 +02:00
J. Ryan Stinnett 169c44d5f6 Bug 1193390 - Remove single arg Cu.import from /devtools. r=tromey
A few miscellaneous linting issues also addressed near the lines involved.

MozReview-Commit-ID: 9t1RwxdSS2X
2016-06-09 14:10:07 -05:00
J. Ryan Stinnett 7ece02499b Bug 1278413 - Clean up code style in worker.js, event-emitter.js. r=tromey
MozReview-Commit-ID: LVbo9i0rPqI
2016-06-07 22:32:40 -05: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 31ebc542b4 Bug 1265732 - Decouple the AudioNodeFront and WebAudioFront from the AudioNodeActor and WebAudioActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07: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
Jan Odvarko 7e3fed4e81 Bug 1276873 - Wait for a tick to avoid unexpected popuphidden event; r=jryans 2016-06-02 13:33:14 +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
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
Alexandre Poirot 51346cf61c Bug 1268447 - Convert webconsole to use new key shortcut module. r=bgrins 2016-05-31 14:17:03 -07:00
Jan Odvarko 49335be54f Bug 1266419 - Fixing tests; r=bgrins, poirot.alex 2016-05-26 14:51:28 +02:00