Commit Graph

716 Commits

Author SHA1 Message Date
Dave Townsend
fb04fd3a86 Bug 986838: Add-on SDK modules should be listed after the add-on's own modules. r=fitzgen 2014-03-27 11:35:14 -07:00
Dave Townsend
c0debf235d Bug 986853: Add-on Debugger title is always 'Debugger - (null)'. r=past 2014-03-27 10:29:03 -07:00
John Shih
b4123e9a67 Bug 960426 - Part 6: Fix conflict in browser_dpg_variables-view-filter-03.js. r=past 2014-03-27 15:26:47 +08:00
Victor Porof
edb8b333ef Backed out changeset 882b91ce5a9f, as a relanding of Bug 917226, r=me 2014-03-27 12:24:00 -04:00
Ed Morley
773b2fdd6c Backed out changeset 894e40121370 (bug 917226) for mochitest-chrome failures 2014-03-27 16:11:59 +00:00
Dave Townsend
147d27e8e4 Bug 986639: Use the __URI__ property of component and module globals to detect which add-on they come from (missed review comments). r=fitzgen 2014-03-27 09:02:39 -07:00
Dave Townsend
9b4f7ed904 Bug 986639: Use the __URI__ property of component and module globals to detect which add-on they come from. r=fitzgen 2014-03-26 16:04:20 -07:00
Dave Townsend
eb6d75856a Bug 986108: Make all restartless add-ons debuggable. r=Unfocused, r=fitzgen 2014-03-26 16:03:57 -07:00
Jordan Santell
13e58e7f00 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
Victor Porof
8f4d59d943 Bug 917226 - Build a canvas inspection tool, r=rcampbell 2014-03-27 10:21:37 -04:00
Wes Kocher
d02d099208 Backed out changeset 7d9bbb3ec194 (bug 911098) for debugger leaks on a CLOSED TREE 2014-03-24 18:36:42 -07:00
Jordan Santell
817da65e8e Bug 911098 Implement addon debugger UI, r=mossop,fitzgen,harthur 2014-03-24 15:35:44 -07:00
Brandon Benvie
cefdacd8c4 Bug 970172 - Prevent VariablesView Variables from handling clicks while editing. r=vporof 2014-02-12 15:33:59 -08:00
Nick Fitzgerald
1328b8dbd2 Bug 981258 - Set the breakpoints in browser_dbg_breakpoints-break-on-last-line-of-script-on-reload.js before executng the IIFE so that the IIFE's Debugger.Script can't be GC'd before the breakpoints are set; r=past 2014-03-15 18:48:55 -07:00
Phil Ringnalda
9b37e6fe4b Merge m-c to f-t 2014-03-14 19:09:29 -07:00
Ed Morley
fcdd3d6c98 Bug 918507 - Disable browser_dbg_chrome-create.js on the remaining platforms, since it doesn't clean up after itself; CLOSED TREE 2014-03-14 16:54:20 +00:00
Nick Fitzgerald
c917c1e11b Bug 981258 - Replace 'waitForSourceShown' with 'ensureSourceIs' to fix intermittent browser_dbg_breakpoints-break-on-last-line-of-script-on-reload.js; r=past 2014-03-14 10:15:43 -07:00
Michael Ratcliffe
6a28402ad5 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
2b3238df82 Bug 663778 - Changes to tests for box model highlighter r=jwalker 2014-03-12 14:01:31 +00:00
Ryan VanderMeulen
c633e65783 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
f4a47052ae 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
c925e482b5 Bug 663778 - Changes to tests for box model highlighter r=jwalker 2014-03-12 14:01:31 +00:00
Panos Astithas
eaf32e3367 Increase the timeout for browser_dbg_chrome-create.js test to avoid test failures on Win 8.1 (bug 918507). r=me 2014-03-12 18:34:38 +02:00
Wes Kocher
9ea670225c Backed out changeset f8f0091f945c (bug 918507) for pushing win8debug m-bc logs over the limit 2014-03-11 17:15:44 -07:00
Nick Fitzgerald
158e6e41b1 Bug 981258 - Clean up breakpoints manually before finishing the browser_dbg_breakpoints-break-on-last-line-of-script-on-reload.js test; r=past 2014-03-11 09:42:49 -07:00
Panos Astithas
f04f96deec Add more logging around browser toolbox process creation to diagnose an orange (bug 918507). r=vporof,rcampbell 2014-03-11 18:15:42 +02:00
Robin Ricard
a83ad36b25 Bug 965172 - Variables view hover popup appears while selecting text. r=fitzgen
Prevent the popup from appearing while selecting text.
If the mouse button is released, the popup can get back.
Added a new test case for this new behavior.
2014-03-11 08:07:11 -04:00
Jordan Santell
4cff0c0a7d Bug 899052 - Implement Addon Thread Actor. r=fitzgen, r=shu 2014-03-07 00:09:14 -08:00
Nick Fitzgerald
11e74ef7d8 Bug 978019 - Fix breakpoints after reload on immediately invoked function expressions; r=past 2014-03-07 11:06:28 -08:00
a31e73a968 Bug 859372 - Refactor DevToolsUtils.js;r=past 2014-03-04 15:38:05 +01:00
Hubert B Manilla
a06cffe4f5 Bug 943356 - Prettifing a source while paused will not switch away from it. r=fitzgen 2014-02-27 11:39:56 -05:00
Joe Walker
c034c93275 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
2013-09-03 12:20:27 +01:00
Phil Ringnalda
826e1727ab Merge f-t to m-c 2014-02-15 10:10:31 -08:00
Panos Astithas
ff03c716d6 Use the wrapped global to decide if we are in an xpcshell environment or not (bug 901930). r=vporof 2014-02-15 10:57:26 +02:00
Masayuki Nakano
a3ff9acf01 Bug 969247 part.1 Remove or replace DOM_VK_ENTER and NS_VK_ENTER users r=smaug 2014-02-15 09:57:39 +09:00
Panos Astithas
416512ec68 The debugger shouldn't try to connect to the tracer actor if it is not present or if tracing is disabled (bug 970536). r=fitzgen 2014-02-13 09:18:36 +02:00
Ryan VanderMeulen
9cb1e54009 Backed out changeset 2b95fec2f1f5 (bug 970536) for mochitest-bc failures.
CLOSED TREE
2014-02-12 08:19:05 -05:00
Panos Astithas
5a09478eeb The debugger shouldn't try to connect to the tracer actor if it is not present or if tracing is disabled (bug 970536). r=fitzgen 2014-02-12 12:40:52 +02:00
J. Ryan Stinnett
f5d6e8ec2a Bug 919819 - Detect JS files from fetched content type. r=fitzgen 2014-02-11 15:35:11 -06:00
Hubert B Manilla
5cb9c4fdbb Bug 927673 - Fix forPage has no sources showing when debugger is loading. r=fitzgen 2014-02-06 10:04:13 -05:00
Kannan Vijayan
a835a67677 Bug 332176 - Change eval-ed scripts to have more descriptive filenames indicating the chain of evaluation, and give them absolute line numbers instead of the offset-from-lineno-of-eval-in-caller-script approach used currently. r=jimb 2014-02-04 16:23:20 -05:00
kushagra singh
b2db1dbc89 Bug 962070 - Tooltips for sources contain the group URL instead of the file URL, r=vporof 2014-02-04 13:04:38 +02:00
Patrick Brosset
b05c336ceb Bug 952277 - DOMNodes can be highlighted and selected from the debugger - Debugger test; r=vporof 2014-02-01 10:24:47 +01:00
Patrick Brosset
b672dbbcdb Bug 952277 - DOMNodes can be highlighted and selected from the debugger [Australis]; r=past, vporof 2014-02-01 10:24:44 +01:00
Panos Astithas
b0aae39b08 Teach auto-pretty-print tests to not rely on the default pref value (bug 962857). r=bustage in a CLOSED TREE 2014-01-31 20:56:17 +02:00
Lalit Khattar
1e207c40a2 Bug 944640 - Add a "Watch" button on the new inspect popup. r=vporof 2014-01-31 13:01:27 -05:00
Victor Porof
9a5ec580a2 Bug 965171 - Opening a variables view popup will change the scroll position in the editor if a watch expression is present, r=past 2014-01-30 12:46:09 +02:00
Victor Porof
a859119703 Bug 963919 - When triggering file filtering via a keyboard shortcut, don't automatically fill the searchbox with the identifier under the caret position, r=past 2014-01-28 12:16:49 +02:00
Mahdi Dibaiee
784aa3fe5b Bug 911916 - Search set to identifier under cursor if no text selected. r=vp 2014-01-23 09:39:59 -05:00
Panos Astithas
8609912471 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