Граф коммитов

258 Коммитов

Автор SHA1 Сообщение Дата
James Long 0b2677dddc Bug 1267365 - move various flags out of DevToolsUtils and don't depend on that module so much r=tromey 2016-08-05 17:41:01 -04:00
Jarda Snajdr 3d501e4ccf Bug 1286281 - Part 7: Add WebSocket transport option to chrome debugger server r=jryans
MozReview-Commit-ID: 3gkcU2Zl8Pq
2016-08-01 08:00:00 -07:00
Michael Ratcliffe 8bf82a521a Bug 1278889 - Stop the toolbox losing focus when changing docking modes. r=bgrins
MozReview-Commit-ID: 7yyrLumR3BZ
2016-08-04 16:37:17 +01:00
Wes Kocher 4964221598 Backed out changeset 78d61dcf3faf (bug 1290263) for devtools test failures 2016-08-04 10:33:29 -07:00
Jaideep Bhoosreddy 8efc34b4f9 Bug 1290263 - Source maps in console don't work after first log; r=jsantell 2016-08-03 15:41:00 +02:00
Yura Zenevich b3a1d43416 Bug 1289170 - improving keyboard accessibility for dev tools tabbar. r=bgrins
MozReview-Commit-ID: 10WSu9nGYmz

--HG--
extra : rebase_source : 0053d258b8abaa34a934289a4d21d3cb7b833efe
2016-08-03 17:05:00 -04:00
Luca Greco d01ad0fefd Bug 1285557 - Create a WebExtensionAddonActor based on ChromeActor and TabActor. r=jryans
MozReview-Commit-ID: 70sLUzqHHsl

--HG--
rename : devtools/server/actors/chrome.js => devtools/server/actors/webextension.js
extra : rebase_source : 4e15cd90658dcc28e8cb90414c55cd66865c711e
2016-07-25 16:28:49 +02:00
Tom Tromey bbb5d58ec6 Bug 1288147 - don't use ownerGlobal in devtools client code; r=bgrins
MozReview-Commit-ID: EgXSMILZrri

--HG--
extra : rebase_source : 8a1ec7e1458fe2b2844ba8d2e70803da4eb05199
2016-07-26 09:34:25 -06:00
Carsten "Tomcat" Book 42933ba381 merge fx-team to mozilla-central a=merge
--HG--
rename : devtools/client/shared/css-color.js => devtools/shared/css-color.js
2016-07-25 15:49:05 +02:00
Tom Tromey ee883aab7f Bug 1276341 - don't use Cu.import for event-emitter.js; r=jryans
MozReview-Commit-ID: BDvrMP8fRim

--HG--
extra : rebase_source : a40ac300ff98f302bfbf5ce978172904426fa152
2016-07-18 13:58:20 -06:00
Carsten "Tomcat" Book 336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Carsten "Tomcat" Book 53b9562c23 merge fx-team to mozilla-central a=merge 2016-07-22 11:56:37 +02:00
Tim Nguyen 13c2525149 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 55e61dc998 Bug 670002 - Use source maps in the web console w/ performance issues; r=jsantell
--HG--
rename : devtools/client/framework/source-location.js => devtools/client/framework/source-map-service.js
2016-07-20 19:09:00 +02:00
Jaideep Bhoosreddy 02353bc27a Bug 670002 - Tests for source maps in the web console w/ performance issues; r=jsantell
--HG--
rename : devtools/client/framework/test/browser_source-location-01.js => devtools/client/framework/test/browser_source_map-01.js
rename : devtools/client/framework/test/browser_source-location-02.js => devtools/client/framework/test/browser_source_map-02.js
rename : devtools/client/debugger/test/mochitest/code_binary_search.coffee => devtools/client/framework/test/code_binary_search.coffee
rename : devtools/client/debugger/test/mochitest/code_binary_search.js => devtools/client/framework/test/code_binary_search.js
rename : devtools/client/debugger/test/mochitest/code_binary_search.map => devtools/client/framework/test/code_binary_search.map
rename : devtools/client/debugger/test/mochitest/doc_empty-tab-01.html => devtools/client/framework/test/doc_empty-tab-01.html
2016-07-19 14:42:00 +02:00
Wes Kocher 2f6e5ed95c Backed out changeset c6a1177a17e4 (bug 670002) because it should have been backed out with the other patch from this bug CLOSED TREE
--HG--
rename : devtools/client/framework/test/browser_source_map-01.js => devtools/client/framework/test/browser_source-location-01.js
rename : devtools/client/framework/test/browser_source_map-02.js => devtools/client/framework/test/browser_source-location-02.js
2016-07-20 15:15:33 -07:00
Wes Kocher b79af22444 Backed out changeset aab8baf2c5f5 (bug 670002) for eslint failures
--HG--
rename : devtools/client/framework/source-map-service.js => devtools/client/framework/source-location.js
2016-07-20 12:56:46 -07:00
Jaideep Bhoosreddy 5b25587f88 Bug 670002 - Tests for source maps in the web console w/ performance issues. r=jsantell
--HG--
rename : devtools/client/framework/test/browser_source-location-01.js => devtools/client/framework/test/browser_source_map-01.js
rename : devtools/client/framework/test/browser_source-location-02.js => devtools/client/framework/test/browser_source_map-02.js
rename : devtools/client/debugger/test/mochitest/code_binary_search.coffee => devtools/client/framework/test/code_binary_search.coffee
rename : devtools/client/debugger/test/mochitest/code_binary_search.js => devtools/client/framework/test/code_binary_search.js
rename : devtools/client/debugger/test/mochitest/code_binary_search.map => devtools/client/framework/test/code_binary_search.map
rename : devtools/client/debugger/test/mochitest/doc_empty-tab-01.html => devtools/client/framework/test/doc_empty-tab-01.html
2016-07-19 14:42:00 -04:00
Jaideep Bhoosreddy 8f73e01607 Bug 670002 - Use source maps in the web console w/ performance issues. r=jsantell
--HG--
rename : devtools/client/framework/source-location.js => devtools/client/framework/source-map-service.js
2016-07-20 00:40:00 -04:00
Tom Tromey c1f4e8a225 Bug 1266839 - replace uses of nsIXULAppInfo in devtools; r=gregtatum
MozReview-Commit-ID: KIsffqE99hA

--HG--
extra : rebase_source : 6513acf886bef3192445ae003f413acc0143f658
2016-07-15 14:04:02 -06:00
Tom Tromey f3688e87f4 Bug 1265802 - Add Services.appinfo.OS shim for devtools; r=jryans
MozReview-Commit-ID: L41zmBEyqPH

--HG--
extra : rebase_source : 45d478bf4b60a869490b12b1e2cd1e8f2d204a9f
2016-07-14 12:48:47 -06:00
Julian Descottes c0a152512a 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

--HG--
extra : rebase_source : e03f187326b6b42f7e575712137118e3adcb6a6f
2016-07-01 23:34:21 +02:00
Alexandre Poirot a4a6cbfec2 Bug 1281726 - Test about:devtools-toolbox?target r=jryans 2016-07-13 23:34:18 -07:00
Alexandre Poirot 213ad20a2e Bug 1281726 - Support TabActor.getTab against mozbrowser iframes. r=jryans 2016-07-13 23:34:17 -07:00
Alexandre Poirot d63a3adedf Bug 1285229 - Prevent duplicated context menu in the Inspector on Windows. r=jdescottes 2016-07-13 15:44:20 -07:00
Ricky Chien c68666cebd 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 f3214d3c0b 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 ad4c50d8a8 Bug 1208489 - use resizebefore attribute on devtools horizontal splitter to avoid resizing notificationboxes, r=bgrins
MozReview-Commit-ID: 9ijDB4fFhA3

--HG--
extra : rebase_source : 742b2dc71b56e32a23ca426713b3eb53a7d65f48
2016-07-07 16:38:27 +01:00
Carsten "Tomcat" Book 1e5237c994 merge mozilla-inbound to mozilla-central a=merge 2016-07-07 11:41:27 +02:00
Nicolas Chevobbe eaa1f24d14 Bug 1261714 - Fix dead CPOW intermittent on browser_toolbox_options_disable_js.js. r=jryans
MozReview-Commit-ID: G2De93K0Tgv

--HG--
extra : rebase_source : 4b77cdad5f749555acd470b61ca9627c805f1ad5
2016-07-05 23:24:21 +02:00
Nick Fitzgerald 7b0a1f6dee 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 3d0938464a Bug 1284221 - Move the font panel to the last position in the sidebar; r=jdescottes
MozReview-Commit-ID: Kh64bTWxQkA

--HG--
extra : rebase_source : fef638a9abb65e918ef593434a9224828c44d29e
2016-07-04 15:21:58 +02:00
Towkir Ahmed 88e1001723 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 5538d692d3 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

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
J. Ryan Stinnett 96a4940397 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 9e552a2542 Bug 1281731 - Destroy the toolbox on toolbox.xul unload. r=jryans 2016-06-28 08:39:37 -07:00
Jan Keromnes 03eff3939b Bug 1268073 - Fix a few BrowserToolboxProcess leaks. r=ochameau 2016-06-28 08:39:37 -07:00
Alexandre Poirot 250e55dddb Bug 1268073 - Free loader created by BrowserToolboxProcess. r=jryans 2016-06-28 08:39:37 -07:00
Alexandre Poirot b62081ba39 Bug 1268073 - Prevent leaking BrowserToolboxProcess instance when debuggerServer leaks. r=jryans 2016-06-28 08:39:36 -07:00
Philipp Kewisch a07ebf7178 Bug 1279784 - Remove hardcoded navigator:browser in devtools. r=jryans 2016-06-28 11:03:11 +02:00
J. Ryan Stinnett 0068c10f19 Bug 1240900 - Use outerWindowID directly from browser. r=ochameau
MozReview-Commit-ID: JuJNSScaJEs
2016-06-25 11:35:02 -05:00
Tom Tromey abf6180c9f Bug 1273941 - replace uses of promise.defer in devtools/client/framework; r=jryans
MozReview-Commit-ID: GwgbcXOmvtK

--HG--
extra : transplant_source : %21MF%10yF%AC%01%D3%3C%A3%95fF%CA%7Ct%A6%92w
2016-06-09 09:04:58 -06:00
Tom Tromey 16d4051c4f Bug 1273941 - replace uses of promise.defer in devtools/client/shared; r=jryans
MozReview-Commit-ID: K5P4eB0XPT9

--HG--
extra : transplant_source : %EB%27%9C%FE%80N%8D%13E%C0%7B%B7%F0_%A5%CCJ%5D%FC%8F
2016-06-09 09:04:22 -06:00
Eddy Bruel ba21a67524 Bug 1265727 - Decouple PerformanceFront from PerformanceActor;r=fitzgen 2016-06-22 13:16:21 +02:00
Patrick Brosset f9d2dc2d7d 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

--HG--
extra : rebase_source : 47c2effe193f4d1a64a8d16ea3609ff5ae1f793b
2016-07-20 16:06:42 +02:00
Amod Narvekar 61a9f0df50 Bug 1267503 - Show the font-inspector in sidebar menu if enabled, r=jdescottes 2016-06-14 08:12:00 +01:00
Jan Odvarko a8f1d4df47 Bug 1277199 - Fix CSS for command-button-frames; r=ochameau, ntim 2016-06-09 13:07:34 +02:00
J. Ryan Stinnett ca7fb511f8 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 b48b79960b 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 e3276c78d8 Bug 1277707 - Decouple the fronts from the actors in the shader editor; r=ejpbruel 2016-06-03 10:45:10 -07:00