Commit Graph

76 Commits

Author SHA1 Message Date
Dave Townsend
4a889699f1 Bug 990074: Sources linked via the optionsURL in install.rdf do not show up in addon debugger. r=fitzgen 2014-04-16 14:14:50 -07:00
Paolo Amadini
6efc9852ae Bug 995170 - Convert legacy uses of promise.js in devtools where this doesn't result in test failures. r=jwalker 2014-04-14 14:15:43 +01:00
Dave Townsend
706bfd03ff Bug 989374: Consolidate logic from browser_dbg_addon-* tests. r=fitzgen 2014-04-07 12:49:43 -07:00
Victor Porof
44be8a9e11 Bug 917226 - Build a canvas inspection tool, r=rcampbell, jryans 2014-03-29 13:01:37 -04:00
Ed Morley
7b7e69675a Backed out changeset 894e40121370 (bug 917226) for browser-chrome failures; DONTBUILD since fixing commit message
CLOSED TREE
2014-03-27 19:09:29 +00:00
Ed Morley
94fd0585ad Backed out changeset 7b9fab28c591 (bug 917226) for incorrect commit message generated by qbackout; DONTBUILD 2014-03-27 19:07:31 +00:00
Victor Porof
1e99cd89c2 Bug 917226 - Build a canvas inspection tool, r=rcampbell 2014-03-27 18:57:16 +00:00
Dave Townsend
c0debf235d Bug 986853: Add-on Debugger title is always 'Debugger - (null)'. r=past 2014-03-27 10:29:03 -07: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
Victor Porof
8f4d59d943 Bug 917226 - Build a canvas inspection tool, r=rcampbell 2014-03-27 10:21:37 -04: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
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
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
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
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
J. Ryan Stinnett
f5d6e8ec2a Bug 919819 - Detect JS files from fetched content type. r=fitzgen 2014-02-11 15:35:11 -06: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
Victor Porof
b1071ddd25 Bug 885294 - Immediate script selection from debugger search box is really janky and loses selection if you don't find anything, r=past 2014-01-08 10:48:32 +02:00
Nick Fitzgerald
3930bddb92 Bug 929349 - Integrate a tracing debugger into our existing debugger; r=vporof,past 2013-12-18 14:17:27 -08:00
Victor Porof
273be2c44e Bug 830344 - Part 1: Remove the lazy append mechanism in the variables view, r=past 2013-12-18 19:01:38 +02:00
Victor Porof
74ee3a243b Bug 945482 - Intermittent browser_dbg_variables-view-popup-08.js | Should have two frames. - Got 0, expected 2 | Test timed out | Found a tab after previous test timed out, r=me 2013-12-04 10:12:05 +02:00
J. Ryan Stinnett
2e1d41b2d1 Bug 912057 - Replace Browser Debugger with Browser Toolbox. r=past 2013-12-02 02:28:01 -06:00
Shu-yu Guo
5c07522949 Bug 933882 - Force GC in Debugger mochitests for ASan. (r=past) 2013-11-20 22:50:28 -08:00
Nick Fitzgerald
9b55175b36 Bug 917072 - Move black box eyeball into sources toolbar; r=vporof 2013-10-23 02:10:08 -07:00
Anton Kovalyov
459525119e Bug 919709 - Make Debugger use CodeMirror. r=vporof 2013-10-22 13:53:53 -07:00
Victor Porof
a21bdf0972 Bug 800857 - Add tests, r=rcampbell 2013-10-04 10:33:08 +03:00
Anton Kovalyov
b489d46929 Bug 912260 - Make Scratchpad use CodeMirror. r=robcee r=msucan 2013-09-20 11:34:10 -07:00
Nick Fitzgerald
f1fd7888d7 Bug 762761 - part 2: front end changes for debugger pretty printing; r=vporof 2013-09-18 17:56:20 -07:00
Panos Astithas
6fb780199c Ignore failures to get the lastPausedUrl when a tab is closing (bug 916458). r=fitzgen 2013-09-18 12:58:37 +03:00
Victor Porof
00c61a2cca Bug 901271 - Add a test, r=fitzgen 2013-09-14 12:34:08 +03:00
Victor Porof
1424cd3d51 Bug 876277 - Rewrite head.js to use promises and remove useless cruft, r=past 2013-09-13 16:23:16 +03:00
Phil Ringnalda
e01a1770bc Merge m-i to m-c 2013-08-25 08:20:24 -07:00
Nick Fitzgerald
17b5bf1a19 Bug 908870 - disable logging RDP packets in mochitests by default again; r=me 2013-08-23 14:18:08 -07:00
Eddy Bruel
5bcdbc98da Bug 899052 - Implement the listAddons request; r=fitzgen 2013-08-24 01:33:46 +02:00
Oprea Victor Andrei
9addaa19cb Bug 901733 - Add "--invert" flag to the "dbg blackbox" command; r=fitzgen 2013-08-12 13:58:22 -07:00
Panos Astithas
4f1fb07772 Set the logging pref before loading the debugger server if it is to use it (bug 896534); r=rcampbell 2013-07-23 09:47:47 +03:00
Panos Astithas
708ffcef30 Implement backend support for breaking on DOM events and retrieving all the event listeners on a page (bug 832982); r=rcampbell,smaug 2013-07-18 14:14:16 +03:00
Victor Porof
e27e0a35e9 Bug 823577 - Cleanup debugger frontend code, strings, etc., r=rcampbell 2013-06-21 17:33:56 +03:00
Joe Walker
e980f67442 Bug 846696 - GCLI helpers.js should be shared rather than copied; r=mratcliffe 2013-05-25 09:51:31 +01:00
Gijs Kruitbosch
c24a71e8e6 Bug 874028 - Debugger and Net monitor tests should use browser's load event rather than tab's, r=past 2013-05-20 15:23:06 +02:00
Dave Camp
e923fe56c4 Bug 867485: Move the devtools loader into toolkit/ r=jwalker 2013-05-01 09:27:24 -07:00
Victor Porof
bd853245ea Bug 859039 - Allow sorting by column (status, method, file, domain, type, size etc.), r=rcampbell 2013-05-10 12:01:08 +03:00
Dave Camp
31ce67e5e0 Bug 855914 - Start using the jetpack loader in devtools. r=jwalker, f=ochameau 2013-04-11 13:59:08 -07:00
Dave Camp
a5c65f65e2 Backed out changeset 9117c7ad29d5 for MaxHeap regression. 2013-04-28 14:42:23 -07:00
Dave Camp
fee966b388 Bug 855914 - Start using the jetpack loader in devtools. r=jwalker, f=ochameau 2013-04-11 13:59:08 -07:00