Commit Graph

252 Commits

Author SHA1 Message Date
Panos Astithas
1ed8b5fa5c Miscellaneous lazification and cleanups in devtools framework code (bug 986841). r=dcamp 2014-04-03 11:19:42 +03:00
Panos Astithas
8ac9209bc4 Lazy load modules as much as possible in gDevTools.jsm (bug 986841). r=dcamp
Also, ensure the devtools main module is only loaded once as it may have observable side-effects (like breaking the browser_toolbox_options.js test).
2014-04-03 11:19:31 +03:00
Mark Hammond
cd2c8e6c5b Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Rob Campbell
4489d775c2 Bug 989058 - Some cumulative theme fixes - BACKOUTOMG; r=dcamp,#developers 2014-04-01 12:30:22 -04:00
Rob Campbell
04bae2b54d Bug 989058 - Cumulative theme fixes; f=bgrins,benvie r=dcamp,fitzgen 2014-03-31 17:40:52 -04:00
John Hood
c2d66cdb11 Bug 925275 - Make Network Monitor log requests persistent. r=vporof
Bug 925275: Added in a check to Services.prefs before clearing the screen in netmonitor-controller.js.
Added a new heading called Common Preferences and moved the Enable Persistent Logging checkbox there.
Added a new string to toolbox.dtd for the new heading.
TODO: Add a bug test to reflect these changes.
2013-12-12 15:38:30 -08:00
Phil Ringnalda
b9b8a97985 Back out 43663582cfdb (bug 987404) because it looks like it disabled things even without e10s being defined 2014-03-30 23:18:57 -07:00
Mark Hammond
555f838434 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-03-31 14:11:49 +11:00
Jordan Santell
4771981e1d Bug 988661 - Add 'Enable addon debugging' button in toolbox. r=jryans 2014-03-27 15:43:00 +01:00
Jordan Santell
1d63ae7ec1 Bug 987890 - Hide unused tools when using addon debugger. r=jryans 2014-03-27 12:32:00 +01:00
Dave Townsend
abee89a8c8 Bug 986853: Add-on Debugger title is always 'Debugger - (null)'. r=past 2014-03-27 10:29:03 -07:00
Brian Grinstead
3318c304f0 Bug 988506 - toolbox.js - focusConsoleInput() - TypeError: hud.jsterm is null;r=msucan 2014-03-27 07:50:30 -05:00
Jordan Santell
ac741bf517 Bug 911098 - Implement Addon Debugger UI, r=fitzgen,harthur,mossop
From 8af4148dc10f18bf67e39442ee93169cb66382d5 Mon Sep 17 00:00:00 2001
---
 browser/devtools/debugger/debugger-controller.js   |  36 ++++++-
 browser/devtools/debugger/debugger-panes.js        |  17 +++-
 browser/devtools/debugger/test/browser.ini         |   1 +
 .../debugger/test/browser_dbg_addon-sources.js     | 108 ++++++++++++++++++++
 browser/devtools/debugger/test/head.js             |  29 ++++++
 browser/devtools/framework/ToolboxProcess.jsm      |  31 ++++--
 .../devtools/framework/toolbox-process-window.js   |  18 +++-
 modules/libpref/src/init/all.js                    |   3 +
 .../en-US/chrome/mozapps/extensions/extensions.dtd |   1 +
 toolkit/mozapps/extensions/content/extensions.js   |  55 +++++++---
 toolkit/mozapps/extensions/content/extensions.xml  |  31 +++++-
 toolkit/mozapps/extensions/content/extensions.xul  |   6 ++
 .../mozapps/extensions/internal/XPIProvider.jsm    |   4 +
 .../extensions/internal/XPIProviderUtils.js        |   2 +-
 .../test/addons/test_jetpack/bootstrap.js          |  17 ++++
 .../test/addons/test_jetpack/harness-options.json  |   1 +
 .../test/addons/test_jetpack/install.rdf           |  28 ++++++
 .../extensions/test/browser/browser-common.ini     |   1 +
 .../test/browser/browser_debug_button.js           | 112 +++++++++++++++++++++
 toolkit/mozapps/extensions/test/browser/head.js    |   3 +
 .../extensions/test/xpcshell/test_isDebuggable.js  |  36 +++++++
 .../extensions/test/xpcshell/xpcshell-shared.ini   |   1 +
 22 files changed, 508 insertions(+), 33 deletions(-)
 create mode 100644 browser/devtools/debugger/test/browser_dbg_addon-sources.js
 create mode 100644 toolkit/mozapps/extensions/test/addons/test_jetpack/bootstrap.js
 create mode 100644 toolkit/mozapps/extensions/test/addons/test_jetpack/harness-options.json
 create mode 100644 toolkit/mozapps/extensions/test/addons/test_jetpack/install.rdf
 create mode 100644 toolkit/mozapps/extensions/test/browser/browser_debug_button.js
 create mode 100644 toolkit/mozapps/extensions/test/xpcshell/test_isDebuggable.js
* * *
Leak fix
2014-03-25 10:59:14 -07:00
Tim Nguyen
9886c75f98 Bug 986932 - Fix alignment with some items in DevTools options panel. r=bgrins DONTBUILD 2014-03-26 11:27:15 -07:00
Wes Kocher
5814a1fd0c Backed out changeset 3960ad0617ff for landing with the wrong bug number. 2014-03-26 11:26:26 -07:00
Tim Nguyen
c34dafe7a6 Bug 986982 - Fix alignment with some items in DevTools options panel. r=bgrins 2014-03-26 11:21:04 -07:00
Wes Kocher
53863d5dcd Backed out changeset 7d9bbb3ec194 (bug 911098) for debugger leaks on a CLOSED TREE 2014-03-24 18:36:42 -07:00
Jordan Santell
2236d55a6a Bug 911098 Implement addon debugger UI, r=mossop,fitzgen,harthur 2014-03-24 15:35:44 -07:00
J. Ryan Stinnett
c2f9d9a154 Bug 984969 - Only connect from Browser Toolbox after load. r=past 2014-03-18 11:30:23 -05:00
Brandon Benvie
e5e2242f22 Bug 943510 - Convert to Promise.jsm in the devtools framework. r=pbrosset, r=rcampbell 2014-03-17 11:11:00 -07:00
Michael Ratcliffe
dabaac4db5 Bug 663778 - Use flag instead of pref for mozafterpaint switch and highlighter noautohide r=jwalker 2014-03-13 21:27:10 +00:00
Michael Ratcliffe
d3a9fcdf6b Bug 663778 - Box Model Highlighter r=jwalker 2014-03-13 21:36:48 +00:00
Ryan VanderMeulen
991e5c8bc3 Backed out 6 changesets (bug 663778) for browser_dbg_listtabs-02.js leaks on a CLOSED TREE.
Backed out changeset cbd200206f9b (bug 663778)
Backed out changeset b0b74401e614 (bug 663778)
Backed out changeset df5255cffbfa (bug 663778)
Backed out changeset e6d0dd124356 (bug 663778)
Backed out changeset 134f77474941 (bug 663778)
Backed out changeset 456609873c5f (bug 663778)
2014-03-13 13:56:22 -04:00
Michael Ratcliffe
39a70a90a5 Bug 663778 - Use flag instead of pref for mozafterpaint switch and highlighter noautohide r=jwalker 2014-03-13 15:38:37 +00:00
Michael Ratcliffe
508e2702a6 Bug 663778 - Box Model Highlighter r=jwalker 2014-03-13 13:54:02 +00:00
Mihai Sucan
de77c8314a Bug 917227 - Part 1: network monitor client changes; r=ochameau 2014-03-07 14:14:53 +02:00
Patrick Brosset
c2bf773173 Bug 757866 - Highlight and select DOM nodes in the web console output; r=msucan 2014-03-11 12:21:20 +02:00
Bill McCloskey
c20cde9d05 Bug 937172 - Change DebuggerProgressListener to use correct WebProgressListener (r=ochameau,past) 2014-03-10 09:34:41 -07:00
Ed Morley
10aebf48c2 Backed out changeset dcec4c42cd18 (bug 757866) for bug 980835 2014-03-07 15:05:31 +00:00
Brian Grinstead
061581b518 Bug 974947 - Add preferences to hide command buttons on DevTools tabbar;r=jwalker 2014-03-06 16:02:11 -06:00
Patrick Brosset
957932cf2e Bug 757866 - Highlight and select DOM nodes in the web console output; r=msucan 2014-03-06 18:16:45 +01:00
Joe Walker
6fd91a613d Bug 933727 - Split gcli.jsm and use JS directly from gcli project; r=mratcliffe
* * *
Bug 933727 - Update Developer Toolbar to use promises and split out GCLI; r=mratcliffe
* * *
Bug 933727 - Update GCLI tests to use Task.spawn; r=mratcliffe
* * *
Bug 933727 - Update the Inspector to use split out GCLI; r=pbrosset
* * *
Bug 933727 - Update style editor to use split out GCLI; r=harth
* * *
Bug 933727 - Update Debugger to use split out GCLI; r=past
* * *
Bug 933727 - Update Profiler/Tilt/Scratchpad to use split out GCLI; r=valueof

--HG--
rename : browser/devtools/commandline/test/browser_cmd_pref.js => browser/devtools/commandline/test/browser_cmd_pref1.js
rename : browser/devtools/commandline/test/browser_cmd_pref.js => browser/devtools/commandline/test/browser_cmd_pref2.js
rename : browser/devtools/commandline/test/browser_gcli_cli.js => browser/devtools/commandline/test/browser_gcli_cli1.js
rename : browser/devtools/commandline/test/browser_gcli_cli.js => browser/devtools/commandline/test/browser_gcli_cli2.js
rename : browser/devtools/commandline/test/browser_gcli_completion.js => browser/devtools/commandline/test/browser_gcli_completion1.js
rename : browser/devtools/commandline/test/browser_gcli_completion.js => browser/devtools/commandline/test/browser_gcli_completion2.js
2013-09-03 12:20:27 +01:00
J. Ryan Stinnett
ca83343b85 Bug 976679 - Move event-emitter to toolkit. r=paul
--HG--
rename : browser/devtools/shared/event-emitter.js => toolkit/devtools/event-emitter.js
rename : browser/devtools/shared/test/browser_eventemitter_basic.js => toolkit/devtools/tests/mochitest/test_eventemitter_basic.html
2014-02-25 22:22:05 -06:00
J. Ryan Stinnett
5f679b54b3 Bug 975064 - Close target when client is closed. r=past 2014-02-25 23:29:09 -06:00
Brian Grinstead
16b3c7a6ce Bug 967168 - DevTools Addon icons should not be inverted on light theme;r=jwalker 2014-02-10 07:50:13 -06:00
Rob Campbell
5c09e3632b Bug 612253 - Need a shortcut key to focus the input line in web console; r=msucan 2014-02-07 08:56:00 -05:00
Patrick Brosset
444c0bd823 Bug 962478 - Stop inspector's picker on devtools toolbox destroy, r=miker 2014-02-05 20:50:25 +01:00
Mihai Sucan
a6f8eca51d Bug 966970 - Fix for intermittent browser_webconsole_bug_632275_getters_document_width.js | Test timed out; r=pbrosset 2014-02-05 14:22:37 +02:00
Patrick Brosset
7c890d7d69 Bug 952277 - DOMNodes can be highlighted and selected from the debugger [Australis]; r=past, vporof 2014-02-01 10:24:44 +01:00
Girish Sharma
8bc1f3a4e7 Bug 717369 - Autocomplete CSS properties and values in the Style Editor - Part 1 - No tests, r=anton, msucan, dcamp, robcee, harth 2014-01-28 20:38:41 +05:30
Brian Grinstead
7d773da68d Bug 958048 - Remove double scrollbar from DevTools options pane with resolution < 800;r=pbrosset 2014-01-28 07:29:41 -06:00
J. Ryan Stinnett
f412f1fcd4 Bug 960669 - Close Browser Toolbox on browser shutdown. r=past 2014-01-24 11:29:33 -06:00
Peiyong Lin
55305b0740 Bug 961771 - Disable highlighter when switching tools. r=pbrosset 2014-01-24 17:28:41 +01:00
Panos Astithas
97a45e85f9 Make the debugger frontend cope with an already connected target (bug 933212); r=jryans,fitzgen
* Made the DebuggerClient, which is actually the RootActor front, not consider one of the attached child fronts as "active". Since a single DebuggerClient (or RootFront) is kept around for the App Manager's lifetime, it makes sense to move the notion of "active" tab to the toolbox's target. As each toolbox gets destroyed, the fronts should be detaching from their actors (if they are stateful) so that the app is no longer in a debugging state. Debugging a new app (or reconnecting to a previous one) will create new fronts anyway.
* Slightly refactored the TabClient, ThreadClient, SourceClient and TracerClient towards a protocol.js-based architecture, by adding parent-child references and lifecycle management. Now a tab-scoped thread actor for instance has the tab as its parent, while a global-scoped thread actor (chrome debugger) has the DebuggerCLient (RootFront) as its parent. This lets parents reference their children, so that caching in the target object can work. It also allowed me to move some methods from the DebuggerClient to the actual front that should be responsible, like reconfigureTab, reconfigureThread and attachThread. These methods now use DebuggerClient.requester, too.
* Added some error handling in the debugger client requester around "before" and "after" callbacks, which exposed some errors in tests that are now fixed.
* Fixed the state handling in the thread actor so that merely detaching from a thread doesn't put it in the exited state. This is the part that what was necessary for Firebug's use case.
* Properly loading tracer and webgl actors now on b2g.
2014-01-14 17:39:40 +02:00
Kay Plößer
b7fdfa1cc0 Bug 960730 - Rewrite inline script / style in devtools/framework/connect/connect.xhtml. r=bgrins 2014-01-22 10:33:58 -05:00
Brandon Benvie
50ba6cc59b Bug 962357 - Disable browser_toolbox_raise.js. r=dcamp 2014-01-21 17:13:53 -08:00
Patrick Brosset
cb2a0bbc9d Bug 958169 - Switch to the inspector panel on click of the pick button; r=bgrins 2014-01-15 14:03:18 +01:00
Heather Arthur
5dffe83b01 Bug 950921 - UI for flipping CSS source map pref. r=dcamp 2014-01-14 10:13:47 -05:00
J. Ryan Stinnett
afee1e9f19 Bug 946813 - Part 3: Use independent loaders, mark them invisible. r=past 2014-01-10 23:37:09 -06:00
Patrick Brosset
5b107c6af9 Bug 916443 - part 2 - Toolbox level remote highlighter (tests), r=paul 2014-01-09 12:36:06 +01:00