Commit Graph
107 Commits
Author SHA1 Message Date
Brian Grinstead 25da0de23a Bug 1088861 - Add evaluateJSAsync method on the web console actor;r=past 2014-12-16 17:18:26 -08:00
J. Ryan Stinnett 0a0d996562 Bug 1059001 - Part 5: Reset connection options before connecting. r=paul 2014-12-10 20:55:52 -06:00
J. Ryan Stinnett 0a47176c20 Bug 1059001 - Part 3: Add encryption socket option. r=past 2014-12-10 20:55:52 -06:00
J. Ryan Stinnett 78ead7cad4 Bug 1058997 - Part 1: Extract socket connect and listen. r=past
Relocate the debugger client's connect and server's listen functionality in a
separate file.  This isolates the security-sensitive socket handling pieces, and
also enables easier extension to make room for TLS sockets.
2014-12-01 22:55:56 -08:00
James Long edda82574b Bug 905700 - use Debugger.Source in the debugger backend and reference source actors instead of URLs in the frontend r=fitzgen 2014-11-25 15:02:39 -08:00
Alexandre Poirot a37dc46a40 Bug 1060093 - Implement toolbox to debug chrome of the content process. r=jryans 2014-11-07 14:24:47 -06:00
Nick Fitzgerald 953b07b63c Bug 1090594 - Part 2: Fix indentation in DebuggerClient.prototype.onPacket. r=ejpbruel 2014-10-31 10:27:00 +01:00
Nick Fitzgerald 4c52c4b145 Bug 1090594 - Part 1: Remove the unused ProtocolCompatibility layer from the debugger client (no whitespace changes). r=ejpbruel 2014-10-31 10:26:00 +01:00
Jordan Santell dafc24d50e Bug 1069673 - Add support methods on devtool's Target, r=jryans 2014-10-22 13:33:00 +02:00
Seris 129720deb5 Bug 795917 - Get executable lines through the remote debugging protocol;r=ejpbruel 2014-10-01 17:57:49 +01:00
Shu-yu Guo 6cfc2eb110 Bug 1001090 - Part 4: Fix errors in chrome code. (r=zombie,gavin,fitzgen,dcamp,bgrins,fabrice,gwagner,margaret,mrbkap,mak,njn,vicamo) 2014-09-15 16:30:46 -07:00
Paul Rouget 26da3f41b6 bug 1063648 - don't cache transport. r=jryans 2014-09-08 14:18:20 -05:00
Paul Rouget ff9e196048 Bug 1062748 - Allow connection-manager to use a custom transport. r=jryans 2014-09-05 11:38:33 -05:00
Nick Fitzgerald 604ccebe10 Bug 1053468 - When setting a breakpoint, only resume if we actually interrupted. r=past 2014-08-26 12:37:00 +02:00
Alexandre Poirot f327564fa7 Bug 977043 - Tweak TabActor to support changing its targeted context to an iframe. r=bgrins,past 2014-08-27 12:19:30 +02:00
Jan Keromnes 6b47505450 Bug 1049835 - Don't require actor clients to have a detach method. r=ochameau 2014-08-18 06:14:00 -04:00
Nathan Froyd 07520f9649 Bug 1045247 - move install rules in toolkit/devtools/*/Makefile.in to moz.build; r=mshal 2014-07-28 17:23:44 -04:00
Eddy Bruel b41282f91d Bug 1035206 - Replace occurences of setTimeout in dbg-client.jsm with executeSoon;r=past 2014-07-28 14:22:13 +02:00
Eddy Bruel b94d62024e Bug 1035206 - Fix a bug in the sendActorEvent API; r=past 2014-07-28 13:56:12 +02:00
Panos Astithas a3478ea29c Make thread state changes opt-in for clients with an onThreadState handler (bug 1037514); r=fitzgen 2014-07-24 18:10:21 +03:00
Panos Astithas fc7078b6f2 Ensure that the debugger client doesn't try to call a callback, when one is not provided (bug 1042761). r=robcee 2014-07-23 19:42:16 +03:00
Jakub Jurovych a4ad77f64f Bug 897567 - JS debugger: setting breakpoints can be confused by script GC. r=fitzgen 2014-07-16 14:56:01 -07:00
Michael Ratcliffe 584afa1e41 Bug 994732 - Make "Disable Cache" in Devtools persist (only when the toolbox is open) r=jwalker, r=pbrosset 2014-07-17 10:39:56 +01:00
Jan Keromnes cc049f14c6 Bug 1039448 - Throw when registering an actor client with events is not an EventEmitter. r=past 2014-07-16 04:24:00 +02:00
Alexandre Poirot 8e1a9ef754 Bug 1033280 - Ensure that DebuggerClient.request returns a promise. r=jryans,past 2014-07-08 09:16:00 +02:00
Alexandre Poirot 98e2e28b53 Bug 797621 - Generic actor event API. r=past 2014-07-07 15:40:00 +02:00
J. Ryan Stinnett c1d5722bc6 Bug 1025799 - Progress events for app install. r=ochameau 2014-06-26 14:19:00 +02:00
Jim Blandy 39dc0c6097 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Nick Fitzgerald e4b2de4052 Bug 1021263 - Remove ThreadClient.prototype._doInterrupted. r=past 2014-06-05 14:22:00 -04:00
Vikneshwar ee78456672 Bug 1003546 - Use Arrow function instead of bind(). r=fitzgen 2014-06-14 06:49:00 -04:00
David Caldwell a45309d554 Bug 907310 - (shift)+F5, Cmd/Ctrl+R should be available in Detached Devtools Window. r=bgrins 2014-05-09 17:41:43 -07:00
Shu-yu Guo b869c9a73e Bug 717749 - Part 2: Hook up the debugger to the slow script debug service. (r=past) 2014-05-20 18:27:25 -07:00
J. Ryan Stinnett 1ef4815886 Bug 797639 - Part 2: Bulk data support in client and server. r=jimb 2014-05-14 14:30:02 -05:00
J. Ryan Stinnett 0ed5e93e63 Bug 797639 - Part 1: Bulk data support in the transport layer. r=jimb 2014-05-14 14:30:02 -05:00
James Long 4bc24b26eb Bug 995252 - Always remove a breakpoint and create a new one when setting the condition. r=past 2014-05-07 11:41:00 -04:00
Paolo Amadini 6d99e32a9f Bug 995184 - Copy the legacy "promise.js" implementation from the Add-on SDK to devtools. r=past 2014-04-22 20:55:01 +01:00
James Long e04fcf02a9 Bug 812172 - Add conditional breakpoint handling to the debugger client. r=vp 2014-04-04 08:27:57 -04:00
Jim Blandy 9c38d22b05 Bug 880470 - Fix a reference from the undefined "self" to "this". r=dcamp 2014-03-28 10:44:03 -04:00
James Long b3bc778d24 Bug 812172 - Add conditional breakpoint handling to the debugger server. r=past 2014-03-24 09:37:24 -04:00
Ryan VanderMeulen ccc3f11d1b Backed out 3 changesets (bug 965527, bug 859059, bug 812172) for mochitest and xperf orange on a CLOSED TREE
Backed out changeset 18f579c4308e (bug 965527)
Backed out changeset 70ed33107301 (bug 859059)
Backed out changeset 7b59b92580fa (bug 812172)
2014-03-21 10:33:18 -04:00
James Long 2f4c41af81 Bug 812172 - Conditional breakpoints logic should be handled server-side. r=past 2014-03-21 08:55:50 -04:00
Paolo Amadini 0e3c4f0910 Bug 982597 - Remove backwards compatibility for the "sources" packet. r=fitzgen 2014-03-17 17:20:27 +01:00
Mihai Sucan c1e24d5e4c Bug 917227 - Part 2: network monitor server changes to add support for Firefox OS; r=ochameau 2014-03-10 20:57:27 +02:00
Jordan Santell 4cff0c0a7d Bug 899052 - Implement Addon Thread Actor. r=fitzgen, r=shu 2014-03-07 00:09:14 -08: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
J. Ryan Stinnett 26967f4282 Bug 976679 - Move event-emitter to toolkit. r=paul 2014-02-25 22:22:05 -06:00
Mihai Sucan c33c0f0c94 Bug 970914 - Avoid confusion where if there's already a console client (attachConsole), we get the same WebConsoleClient instance and startListeners is not called. r=past 2014-02-25 18:47:51 +02: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
Alexandre Poirot 30e8aae35e Bug 952214 - Re-enable webapps actor mochitest on b2g desktop and cover shell.js debugger server initialization. r=paul 2014-01-13 08:44:47 -05:00
Nick Fitzgerald 2231c31aeb Bug 958303 - Remove named function expressions from dbg-client.jsm; r=benvie 2014-01-09 15:06:44 -08:00