Commit Graph

164 Commits

Author SHA1 Message Date
Mihai Sucan
995889473e Backed out changeset 57755fd703c9 (bug 768096) 2012-09-28 13:19:40 +01:00
Mihai Sucan
242d9a4393 Backed out changeset 8c127abc3ad8 (bug 768096)
--HG--
rename : toolkit/devtools/webconsole/NetworkHelper.jsm => browser/devtools/webconsole/NetworkHelper.jsm
2012-09-28 13:19:40 +01:00
Mihai Sucan
3ce6371433 Backed out changeset 9c70da27ec28 (bug 768096) 2012-09-28 13:19:40 +01:00
Mihai Sucan
4460464e79 Backed out changeset 89ab8685729d (bug 768096) 2012-09-28 13:19:39 +01:00
Mihai Sucan
a981dde573 Bug 768096 - Web Console remote debugging protocol support - Part 5: tests; r=robcee 2012-09-26 17:27:38 +01:00
Mihai Sucan
a50bab4256 Bug 768096 - Web Console remote debugging protocol support - Part 4: cleanups; r=robcee 2012-09-26 18:04:34 +01:00
Mihai Sucan
bc8c482314 Bug 768096 - Web Console remote debugging protocol support - Part 3: network logging; r=past,robcee
--HG--
rename : browser/devtools/webconsole/NetworkHelper.jsm => toolkit/devtools/webconsole/NetworkHelper.jsm
2012-09-27 13:51:45 +01:00
Mihai Sucan
f468d13cdd Bug 768096 - Web Console remote debugging protocol support - Part 2: window.console API and JS evaluation; r=past,robcee 2012-09-26 18:02:04 +01:00
Mihai Sucan
8e690cb0f5 Bug 768096 - Web Console remote debugging protocol support - Part 1: page errors; r=past,robcee
--HG--
rename : browser/devtools/webconsole/WebConsoleUtils.jsm => toolkit/devtools/webconsole/WebConsoleUtils.jsm
2012-09-26 18:07:57 +01:00
Panos Astithas
2ecaa8a884 Bug 792925 - Dynamically-added tab-scoped actors should get a reference to their parent; r=msucan 2012-09-24 12:43:26 +01:00
Nick Fitzgerald
e35bab9087 bug 673487 - map from an original source to a generated; r=robcee 2012-09-27 06:15:00 +01:00
Panos Astithas
2ae0c7c16b Bug 793947 - Race condition in dbg-server.js breaks Marionette; r=msucan 2012-09-27 12:31:49 +01:00
Panos Astithas
4f4e6f3b97 Bug 792867 - Debugger mochitests leak when run separately. r=rcampbell 2012-09-22 18:44:00 +03:00
Panos Astithas
897efefc6b Bug 790202 - Protocol layer performance overhead is too much for local transports. f=msucan r=rcampbell 2012-09-22 18:44:00 +03:00
Anton Kovalyov
67a1ef32aa Bug 788769 - The update function in dbg-script-actors.js should also copy getters and setters to the target object. r=past,nfitzgerald 2012-09-20 16:44:25 -07:00
Anton Kovalyov
0f8e84c2c7 Bug 785044 - Replace the ThreadActor's private debugger object and its getter with a public property. r=past 2012-09-20 14:15:15 -07:00
Panos Astithas
dc9481235a Bug 790952 - Debugger server always creates new actor instances. f=glandium r=rcampbell 2012-09-21 09:04:21 +03:00
Mike Hommey
8bcb36741e Bug 751034 part 3 - Send notifications through remote debugging protocol when the profiler starts/stops. r=past 2012-09-13 00:14:12 +02:00
Mike Hommey
8a282a3398 Bug 751034 part 2 - Add profiler actor when adding the browser actors. r=past 2012-09-13 14:40:16 +02:00
Benoit Girard
e10709cf8a Bug 751034 - Support remote profiling Via Remote debugging protocol. r=past,rcampbell 2012-09-06 16:55:55 +03:00
Panos Astithas
a23a7fbcb1 Bug 781515 - Use a default allowConnection handler in dbg-server.js so that add-ons don't have to provide their own. r=rcampbell, f=Pike,mgoodwin 2012-09-20 09:40:01 +03:00
Panos Astithas
c7397616ed Bug 789114 - Make B2G and Fennec browser actors inherit the extensibility API changes. f=glandium r=msucan,mfinkle,vingtetun 2012-09-20 09:38:11 +03:00
Panos Astithas
6658636165 Bug 753401 - The debugger server root and tab actors should be easily extensible; r=rcampbell
--HG--
rename : browser/devtools/debugger/test/browser_dbg_contextactor-02.js => browser/devtools/debugger/test/browser_dbg_globalactor-01.js
2012-09-20 09:36:32 +03:00
Panos Astithas
1560eb2b1a Remove redundant check for Debugger.Object.displayName property (bug 786711). r=jimb 2012-09-18 10:30:02 +03:00
Panos Astithas
3347e6ac32 Bug 785689 - Debugger breaking when it shouldn't. r=msucan,vporof 2012-09-12 14:10:05 +03:00
Panos Astithas
fcc4ea9dc0 Use the statically-inferred name for anonymous functions (bug 786711) r=msucan,vporof 2012-09-10 11:48:52 +03:00
Mike Hommey
891f405b2f Bug 793672 - Tests for the debugging server profiler actor. r=past 2012-10-06 10:38:35 +02:00
Mike Hommey
958dbfdb59 Bug 793672 - Allow to get notifications for arbitrary observer topics through RDP with the profiler actor. r=past 2012-10-06 10:37:58 +02:00
Jim Blandy
74f1caf4cc Bug 786509: Remove support for wildcard event listeners from dbg-client.jsm's eventSource. r=past 2012-08-30 14:29:55 -07:00
Jim Blandy
05b378d891 Bug 785466: follow-on fix: uncommitted changes to resolve conflicts with bug 694539; no r 2012-08-30 14:24:05 -07:00
Jim Blandy
cfd66b47f4 Bug 785466: Remove DebugProtocolTypes table. r=past 2012-08-30 14:11:54 -07:00
Nick Fitzgerald
cd8684039b Bug 694539: Implement 'long string' grips. r=jimb 2012-08-30 14:10:07 -07:00
Nick Fitzgerald
bed2b8ae72 Fix test hang on Win opt (Bug 783393). r=past 2012-08-24 10:58:59 +03:00
Panos Astithas
c3e23a698c Bug 783393 - Breakpoints not getting caught on reload, r=rcampbell f=rcampbell,dcamp,vporof 2012-08-24 10:41:02 +03:00
Matt Brubeck
66414abc2f Back out b2900e347f5c (bug 783393) for Windows xpcshell hangs in test_listscripts-01.js on a CLOSED TREE
--HG--
extra : transplant_source : %F4%97%281%7F%AD%7E%C0Vb%00t%9Bd%FC%EC%A5%92%B5%C8
2012-08-23 14:37:29 -07:00
Panos Astithas
45afc9f7b9 Bug 783393 - Breakpoints not getting caught on reload, r=rcampbell f=rcampbell,dcamp,vporof 2012-08-17 04:32:21 +03:00
Tim Taubert
bb4a8970e4 merge m-c to fx-team 2012-08-22 22:15:08 -07:00
Panos Astithas
b6179ec970 Don't send newScript notifications for ignored scripts (bug 770882). r=rcampbell 2012-08-22 11:11:07 +03:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Nick Fitzgerald
4417dc2ab5 Share the breakpoint store across ThreadActor instances (bug 777146); r=past 2012-08-06 12:32:00 +03:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Panos Astithas
3343ffb65e Only use a web progress listener when a tabbrowser has been passed to the tab actor (bug 779641); r=rcampbell 2012-08-03 10:31:55 +03:00
Tim Taubert
7c84c23358 merge m-c to fx-team 2012-07-31 16:38:32 +02:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Nick Fitzgerald
305834af54 Bug 777146 - Move ThreadActor.prototype.{_scripts, _breakpointStore} initialization to the constructor so that each instance of ThreadActor has its own {_scripts, _breakpointStore} object instead of each instance sharing the same object. r=rcampbell 2012-07-25 09:30:00 -07:00
Michael Ratcliffe
fe7022b757 Bug 777355 - Move Console.jsm somewhere into toolkit to fix comm-central's busted XPCShell tests.; r=rcampbell
--HG--
rename : browser/devtools/shared/Console.jsm => toolkit/devtools/Console.jsm
2012-07-25 18:34:34 +01:00
Panos Astithas
28a8d4a224 Bug 751226 - Refactor all the existing browser actor implementations to eliminate duplication. r=rcampbell r=mark.finkle r=21 2012-07-11 14:43:11 +03:00
Rob Campbell
d03e611eb5 Bug 776518 - Move Require.jsm somewhere into toolkit to fix comm-central's busted XPCShell tests; r=gavin 2012-07-24 15:02:10 -07:00
Michael Ratcliffe
a2cccfbb98 Bug 776518 - Move Require.jsm somewhere into toolkit to fix comm-central's busted XPCShell tests; r=rcampbell
--HG--
rename : browser/devtools/shared/Require.jsm => toolkit/devtools/Require.jsm
2012-07-24 12:08:30 +01:00
Nick Fitzgerald
2b86de406a Bug 669999 - Add a library for parsing and consuming source map files to Firefox; r=joe_walker,rcampbell 2012-07-18 17:17:00 -04:00
Ehsan Akhgari
b3dd3b6646 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more toolkit parts); blanket-r=bzbarsky 2012-07-18 12:12:55 -04:00
Victor Porof
3356a29ccb Bug 767389 - about:home and about:newtab are intermittently shown in the Debugger dropdown; r=past 2012-07-15 09:50:41 +03:00
Panos Astithas
25dfbf0950 Bug 751949 - Reloading a page when the debuggee is paused results in: ASSERTION: Mismatched calls to ResumeTimeouts; r=rcampbell 2012-07-13 13:10:22 +03:00
Panos Astithas
fd456f8730 Bug 771452 - resume button need two clicks to go on after a breakpoint when the script is inside the .html file; r=rcampbell 2012-07-13 13:10:21 +03:00
Panos Astithas
6211a0eadd Bug 767399 - When navigating between web pages with the Back and Forward buttons, the same scripts are displayed in the Debugger for all the pages; r=rcampbell 2012-07-12 14:03:43 +03:00
Panos Astithas
727e12a234 Use a preference setting to decide whether to bind to the loopback interface only, or all interfaces (Bug 764679); r=dcamp,mfinkle,jgriffin,vingtetun 2012-06-20 16:31:50 +03:00
Panos Astithas
63bb179ecf Ensure that with multiple windows open, the debugger's selected tab belongs to the top-level window (bug 761742); r=dcamp 2012-06-19 17:46:25 +03:00
Tim Taubert
3cc384cd72 merge m-c to fx-team 2012-06-13 15:34:08 +02:00
Panos Astithas
b1b26c25c1 Bug 754251 - Can't set breakpoint in Script Debugger; r=rcampbell 2012-06-12 09:47:08 +03:00
Ryan VanderMeulen
891e38e528 Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Panos Astithas
d8c8860a3c Bug 760882 - XBL Bindings appear in the debugger script dropdown if the debugger is open when the page is refreshed; r=rcampbell 2012-06-08 16:05:27 +03:00
Panos Astithas
2655e2afaf Bug 761223 - JS Debugger errors prevent me from debugging Orion; r=dcamp 2012-06-08 11:21:59 +03:00
Panos Astithas
4197e5af0e Backout 61e0d5d09f77 due to test breakage 2012-06-08 11:18:28 +03:00
Panos Astithas
2291a64c5a Bug 761223 - JS Debugger errors prevent me from debugging Orion; r=dcamp 2012-06-08 10:00:48 +03:00
Panos Astithas
11197066ba Bug 757282 - Pause when an exception is hit; r=rcampbell 2012-06-03 16:39:51 +03:00
Panos Astithas
67a08210a6 Bug 737808 - Separate breakpoints and scripts handling in the client from the server; r=rcampbell 2012-06-03 16:39:50 +03:00
Panos Astithas
6cf3dfbaac Bug 758696 - Add a dialog to the debugger to deny or allow incoming server connections (Part 1: Firefox); r=rcampbell 2012-06-01 18:25:08 +03:00
Panos Astithas
e2edf4f1eb Bug 755346 - Global variables are not displayed in the debugger frontend; r=vporof,rcampbell 2012-05-29 12:08:20 +03:00
Panos Astithas
b1ff343559 Bug 724862 - Implement protocol support for modifying the values of a debuggee object's properties; r=rcampbell 2012-05-24 14:23:53 +03:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Michael Wu
ea17443d61 Bug 759013 - Convert more makefiles to use TEST_DIRS, r=khuey 2012-05-27 23:25:22 -04:00
Jim Blandy
c595de95c0 (No bug): Add comments to some debugger server code. r=past in IRC 2012-05-08 17:54:04 -07:00
Victor Porof
81ccc3e0ce Bug 748927 - Add UI elements for the remote debugging case: starting a server and selecting the server to connect to; r=past 2012-04-27 17:18:02 -04:00
Ehsan Akhgari
f71126f4f7 Merge mozilla-central into mozilla-inbound 2012-05-04 16:29:42 -04:00
Jason Orendorff
68ca935eed Bug 749316 - Put Debugger object into chrome scratchpad. r=dcamp,bholley.
--HG--
extra : rebase_source : 12ab275ac9cdfa0e9890c507e30e0b56e4086816
2012-05-01 10:17:32 -05:00
Panos Astithas
dfb60bd8de Bug 724228 - Use getVariable instead of getVariableDescriptor until the latter lands; r=dcamp 2012-03-21 15:49:23 +00:00
Ehsan Akhgari
83c608b002 Merge backout; a=me 2012-05-02 16:22:51 -04:00
Ehsan Akhgari
27f6798b66 Backout the merge from fx-team because of Ts regressions (no bug)
This is the backed out range:
http://hg.mozilla.org/mozilla-central/pushloghtml?changeset=a974c45914eb
2012-05-02 16:20:02 -04:00
Ehsan Akhgari
1264cba321 Backout changeset b0200dab0ccc to revert the incorrect backout of an fx-team range (no bug)
This is the range I mistakenly backed out before:
http://hg.mozilla.org/mozilla-central/pushloghtml?changeset=bc5fee76550b
2012-05-02 16:11:19 -04:00
Ehsan Akhgari
077dde163d Backout the latest merge from fx-team because of Ts regressions (no bug) 2012-05-02 15:37:08 -04:00
Tim Taubert
467f00c214 merge m-c to fx-team; a=js-only 2012-05-02 15:36:57 +02:00
Panos Astithas
240fb3787b Bug 749258: Fix debugger server tests exposed as broken when we start listening for errors. r=dcamp 2012-05-01 15:31:00 -07:00
Jim Blandy
bbc356c90c Bug 749258: Have toolkit/devtools/debugger xpcshell tests register a listener for Components.utils.reportError, so tests fail when they throw an exception. r=past 2012-05-01 15:29:48 -07:00
Jim Blandy
cf9f1a6041 Bug 749215: Install the debug server jsms as symlinks, when appropriate. r=rcampbell 2012-05-01 15:19:32 -07:00
Jim Blandy
7d5df75a5a Bug 749231: Set the devtools.debugger.log pref in head_dbg.js, so we always get packet logs. r=past 2012-04-30 15:02:11 -07:00
Mike Hommey
8adf17ff29 Bug 749550 - Import dbg-client.jsm from resource://gre/ instead of resource:///. r=past 2012-04-30 08:05:05 +02:00
Panos Astithas
f4adb96b3f Bug 724228 - Use getVariable instead of getVariableDescriptor until the latter lands; r=dcamp 2012-03-21 15:49:23 +00:00
Panos Astithas
4a851cc61e Bug 740803 - Put the debugger in its own compartment again; r=dcamp, a=mfinkle
--HG--
rename : toolkit/devtools/debugger/server/dbg-server.jsm => toolkit/devtools/debugger/server/dbg-server.js
2012-04-22 12:59:09 +03:00
Jim Blandy
a677109191 Bug 742358: Add some documentation to toolkit/devtools/debugger/dbg-transport.js. r=dcamp 2012-04-05 12:37:21 -07:00
Panos Astithas
e0c0fd9637 Bug 739995 - Intermittent test failures in browser_dbg_bug723069_editor-breakpoints.js and others | Found the expected number of scripts. - Got 3, expected 2, followed by other errors; r=rcampbell 2012-03-30 11:26:08 +03:00
Panos Astithas
9436803818 Bug 723563 - Use findScripts to retrieve the list of scripts known to the debugger; r=rcampbell 2012-03-30 11:25:52 +03:00
Panos Astithas
8d13c0a4ce Bug 737464 - Add frame and iframe globals to the debugger when present in a page; r=rcampbell 2012-03-29 08:46:54 +03:00
Panos Astithas
5407d2b5ab Backout changeset 794ff67c7a9a (bug 723563) due to suspected randomorange (bug 739995) 2012-03-28 17:47:33 +03:00
Panos Astithas
857008e1a8 Backout changeset 0b6a274e8b5a (bug 737464) due to suspected randomorange (bug 739995) 2012-03-28 17:45:22 +03:00
Panos Astithas
642a6553ef Bug 737464 - Add frame and iframe globals to the debugger when present in a page; r=rcampbell 2012-03-28 13:31:11 +03:00
Panos Astithas
88735b837d Bug 723563 - Use findScripts to retrieve the list of scripts known to the debugger; r=rcampbell 2012-02-23 10:39:02 +02:00
Panos Astithas
33cdddb60c Bug 734911 - Adding breakpoints sometimes doesn't work; r=rcampbell 2012-03-28 12:23:09 +03:00
Panos Astithas
8485042d05 Bug 711164 - Add support for stepping to the debugger; r=rcampbell 2012-03-18 08:50:43 +02:00
Panos Astithas
6eda6ce053 Bug 729576 - Update the remote debugging protocol to reflect the recent spec changes; r=dcamp,jimb 2012-03-13 09:13:02 +02:00