Commit Graph

23 Commits

Author SHA1 Message Date
Jordan Santell
6ff57c8694 Bug 987890 - Hide unused tools when using addon debugger. r=jryans 2014-03-27 12:32:00 +01:00
Brandon Benvie
4520a9d6f2 Bug 943510 - Convert to Promise.jsm in the devtools framework. r=pbrosset, r=rcampbell 2014-03-17 11:11:00 -07:00
Bill McCloskey
4bfc6a49eb Bug 937172 - Change DebuggerProgressListener to use correct WebProgressListener (r=ochameau,past) 2014-03-10 09:34:41 -07:00
J. Ryan Stinnett
26967f4282 Bug 976679 - Move event-emitter to toolkit. r=paul 2014-02-25 22:22:05 -06:00
J. Ryan Stinnett
f7d5d11153 Bug 975064 - Close target when client is closed. r=past 2014-02-25 23:29:09 -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
Chris Peterson
817228d0fe Bug 955890 - Part 1: Fix DevTools JS warnings about some code paths not returning a value. r=rcampbell 2013-12-31 19:28:42 -08:00
Alexandre Poirot
8c0e509e5e Bug 934883 - Prevent closing all targets when receiving one tabDetached event. r=past 2013-11-07 09:14:40 -05:00
Panos Astithas
1fd49d3ebf Bug 932880 - Make targets oblivious to inspectors. r=bgrins 2013-10-31 21:09:40 +02:00
Brian Grinstead
a92c150e7f Bug 932880 - Fix a bunch of devtools test leaks. r=past 2013-10-31 17:49:37 -05:00
Dave Camp
5bb79c8f88 Bug 897194: Use outer window ID to match toolbox to tab rather than assuming the currently-selected tab. r=bgrins 2013-10-29 10:47:16 -07:00
J. Ryan Stinnett
384de12142 Bug 915372 - Clean up inspector front and actor when reusing connection. r=paul 2013-09-13 19:09:52 -05:00
J. Ryan Stinnett
32b7aeb7ed Bug 912646 - Part 2: Leave client of remote tab open. r=dcamp
* * *
[mq]: leave-remote-open
* * *
imported patch add-close-calls
* * *
[mq]: remain-con-test
2013-09-06 17:37:18 -05:00
J. Ryan Stinnett
b975705b57 Bug 912646 - Part 1: Refactor debug targets for more reuse. r=dcamp
* * *
imported patch cleanup-target-listeners
* * *
imported patch target-cleanup
2013-09-06 17:34:56 -05:00
Panos Astithas
e1057e0bc3 Rename Promise to promise to avoid collisions with the forthcoming DOM Promise implementation (bug 885318); r=jwalker 2013-07-11 10:12:20 +03:00
Dave Camp
fed4c4fe12 Bug 877320 - Expose a node front in the Selection object in addition to a raw node. r=paul 2013-06-07 14:32:32 -07:00
Anton Kovalyov
c5ad1b963b Bug 817836 - Support for console.profile and console.profileEnd; r=dcamp 2013-05-14 15:25:28 -07:00
Anton Kovalyov
59e156f369 Backed out changeset 4f2586fe4489 2013-05-28 12:51:42 -07:00
Anton Kovalyov
7acb2dd18f Bug 817836 - Support for console.profile and console.profileEnd; r=dcamp 2013-05-14 15:25:28 -07:00
Panos Astithas
2bc918268d Bug 873912 - JS warning "anonymous function does not always return a value" resource:///modules/devtools/framework/target.js:218; r=jwalker 2013-05-20 11:50:27 +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