Commit Graph

144 Commits

Author SHA1 Message Date
Eddy Bruel
15989ab51b Bug 859372 - Refactor DevToolsUtils.js;r=past 2014-03-04 15:38:05 +01:00
Jim Blandy
2506f2364c Bug 969786: Implement Debugger.Source.prototype.introductionScript. r=sfink 2014-02-26 15:20:00 -08:00
Wes Kocher
0ed2983140 Backed out 3 changesets (bug 969786) for m-oth permabustage on a CLOSED TREE
Backed out changeset a79a64806e6c (bug 969786)
Backed out changeset 198decf16acf (bug 969786)
Backed out changeset 7d0b03e13765 (bug 969786)
2014-02-26 17:05:33 -08:00
Jim Blandy
0e19c30a3b Bug 969786: Implement Debugger.Source.prototype.introductionScript. r=sfink 2014-02-26 15:20:00 -08:00
Jim Blandy
ccfbb9a146 Bug 935203: Provide introductionType information for JS code appearing in event handlers. r=bz 2014-02-24 15:31:47 -08:00
Panos Astithas
0aa0c2add2 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
Paul Rouget
07de69f604 Bug 962511 - Implement an eventlooplag actor. r=past 2014-02-05 16:29:38 +01:00
Gregory Szorc
5f7ff500d3 Bug 969021 - Part 1: Consolidate moz.build data into parent moz.build files; r=ted
Many moz.build files define things that could be defined in parent
moz.build files. Keeping the number of moz.build files low helps with
build times due to less I/O and fewer directories traversed.

This patch eliminates a lot of moz.build files by moving their content
into parent moz.build files.

--HG--
extra : rebase_source : 0cfdf2697d10532e5b03cd27fbaadb41f42b837c
extra : amend_source : 0119d4e4881217f105e0e4ba1dfa9c8f7295f3e9
extra : histedit_source : eb49e62c67af2005fdc08d9c9a07f56bee98d558%2C50951e960e450f9b0e48fc7e8ec369d8666a63b0
2014-02-06 13:00:20 -08:00
Patrick Brosset
4b885fdd46 Bug 932896 - Retrieves image data from server for image tooltips and makes tooltip size a pref, r=jwalker,ttaubert 2014-02-05 11:53:46 +01:00
Jim Blandy
d9503ff767 Bug 964507: Add mochitests for Debugger.Source.protoype.element and .elementAttributeName. r=bz 2014-01-29 14:12:23 -08:00
Panos Astithas
2c406aadac Add a memory actor for collecting memory usage data (bug 923275); r=paul 2013-12-03 13:41:02 +02:00
Tim Taubert
7bfc5b8029 merge m-c to fx-team 2014-01-23 10:57:35 +01:00
Jim Blandy
075e271ed0 Bug 958646: Implement Debugger.Script.prototype.global accessor. r=sfink 2014-01-22 16:55:12 -08: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
Luca Greco
d2f9e61877 Bug 937197 - Handle requestTypes RDP request for any existent RDP actor. r=fitzgen 2014-01-06 18:27:10 +01:00
Nick Fitzgerald
5d34040335 Bug 951874 - self-hosted functions shouldn't appear in the Tracer; r=vporof 2013-12-19 10:41:34 -08:00
Nick Fitzgerald
00a923905f Bug 929349 - Integrate a tracing debugger into our existing debugger; r=vporof,past 2013-12-18 14:17:27 -08:00
Panos Astithas
0a88c79288 Forbid out of order resumption when two tabs with the same URL are paused (bug 947830); r=fitzgen
Also consider stepping actions as a form of resumption and require the same resumption order when multiple tabs are paused.
2013-12-09 22:09:15 +02:00
Jeff Walden
6e6ec86b96 Bug 724768 - Store the various properties of Error objects in reserved slots, and eagerly create the stack string for them. r=bhackett for the TI bits, r=jimb otherwise
--HG--
extra : rebase_source : b1fc9b1f09c36a9f936aa518d53001f430808f95
2012-12-17 14:53:35 -05:00
Nick Fitzgerald
25be8aab63 Bug 917983 - BreakpointActor instances should be saved in the threadLifetimePool; r=past 2013-12-06 09:25:58 -08:00
Nick Fitzgerald
fe8a196d8d Bug 943070 - Add a "depth" trace type to the tracer; r=past 2013-12-05 10:58:33 -08:00
Alexandre Poirot
c9259f5e7c Bug 931921 - Prevent creating multiple intances of global actors. r=past 2013-12-02 11:34:47 -05:00
Ryan VanderMeulen
da2075e3fb Backed out 2 changesets (bug 941012, bug 931921) for suspicion of breaking Mn on OSX. CLOSED TREE
Backed out changeset c50cca7d248a (bug 941012)
Backed out changeset eb8d750eabb3 (bug 931921)
2013-12-02 13:47:29 -05:00
Alexandre Poirot
1244ab513a Bug 931921 - Prevent creating multiple intances of global actors. r=past 2013-12-02 11:34:47 -05:00
Nick Fitzgerald
12f3243085 Bug 934163 - Improve performance of tracer actors; r=past 2013-11-25 10:11:53 -08:00
Nick Fitzgerald
463b65b788 Bug 917583 - part 1: make function's definition site its own request in the RDP; r=past 2013-11-05 16:40:00 -08:00
Mike Hommey
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Brandon Benvie
681a32500a Bug 936101 - Make ObjectActor.onDisplayString not call debuggee code. r=fitzgen 2013-11-18 13:24:54 -08:00
Patrick Brosset
accb41d63a Bug 932937 - Images are resized on the server-side for image preview tooltips. r=harth 2013-11-05 11:19:29 -05:00
Brian Grinstead
a89ef93583 Bug 895561 - 'Edit As HTML' option in the markup view - toolkit changes, r=fitzgen 2013-10-23 11:53:39 -05:00
Nick Fitzgerald
5ad1045447 Bug 812764 - Show magic properties on Error objects in the debugger; r=past 2013-10-15 10:21:44 -07:00
Nick Fitzgerald
d02d9e866d Bug 923735 - Tracer should attach why to frame exit packets; r=robcee 2013-10-11 13:40:42 -07:00
Paul Rouget
2184c53f22 Bug 921191 - Allow inspection/editing of SVG elements' CSS properties. r=mratcliffe 2013-10-09 09:46:48 -04:00
Ms2ger
105ce73cfa Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Wes Kocher
4d92cef6c5 Merge inbound to m-c 2013-10-01 18:41:15 -07:00
Nick Fitzgerald
01536ebd1d Bug 918802 - Move the debugger's pretty printing into a worker; r=past 2013-10-01 14:25:19 -07:00
Panos Astithas
d043b7987a Bug 810966 - Display closed over variables in the variables view for functions that are not stack frames; r=vporof,msucan 2013-09-25 19:03:17 +03:00
Gregory Szorc
cc1da2c22a Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Ed Morley
038cae0901 Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Gregory Szorc
483a776413 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Ryan VanderMeulen
5dc1c55908 Merge m-c to inbound. 2013-10-01 17:23:59 -04:00
Jim Blandy
fbf9139844 Bug 837060: Test that Debugger.Object.prototype.evalInGlobal{,withBindings} properly outerizes 'this'. r=jorendorff 2013-10-01 14:07:19 -07:00
Gregory Szorc
ed68c2482b Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Ed Morley
8ecccccfc3 Merge latest green fx-team changeset and mozilla-central 2013-09-19 15:39:37 +01:00
Nick Fitzgerald
43ffe41627 Bug 762761 - part 2: front end changes for debugger pretty printing; r=vporof 2013-09-18 17:56:20 -07:00
Jim Blandy
5917b71689 Bug 914405: Define makeGlobalObjectReference, a quick way to get D.O's referring to global objects, to simplify the web console. r=jorendorff r=msucan 2013-09-17 15:21:11 -07:00
Wes Kocher
8009e15796 Backed out changeset bba922f6d4f3 (bug 914405) for mochitest-bc bustage 2013-09-17 17:34:51 -07:00
Jim Blandy
0389359c56 Bug 914405: Define makeGlobalObjectReference, a quick way to get D.O's referring to global objects, to simplify the web console. r=jorendorff r=msucan 2013-09-17 15:21:11 -07:00
Nick Fitzgerald
71c3dfdfea Bug 914930 - sometimes load source content via Debugger.Source; r=past 2013-09-12 16:39:53 -07:00
Jonathan Fuentes
aa2357bcd8 Bug 897050 - Prefer displayName instead of name; r=fitzgen 2013-09-12 09:54:56 -07:00