Commit Graph

210 Commits

Author SHA1 Message Date
Panos Astithas
816f5867bd Bug 740551 - ThreadActor should automatically add appropriate debuggee globals - Patch v14; r=rcampbell 2012-10-31 18:31:55 +02:00
Panos Astithas
939fd3bd0e Bug 802081 - listTabs returns empty tab titles after startup; r=rcampbell 2012-11-01 15:34:41 +02:00
Kyle Huey
0469a02b25 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Mihai Sucan
801e322ecb Bug 805960 - Intermittent toolkit/devtools/webconsole/test/test_file_uri.html | an unexpected uncaught JS exception reported through window.onerror - NS_ERROR_FILE_IS_LOCKED; r=past 2012-10-30 17:53:58 +02:00
Vicamo Yang
a78b5b38c7 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
9a3674d80a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Neil Rashbrook
cd349de7a0 Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg r=msucan 2012-11-03 10:59:29 +00:00
Philipp von Weitershausen
deea79d04c Bug 807478 - Fix DebuggerProtocol and SpecialPowers imports for jsloader.reuseGlobal = true. r=past 2012-11-02 18:03:13 -07:00
Ryan VanderMeulen
f1d654c74a Backout 06b998c1100d (bug 664695) due to mochitest-other orange. 2012-11-02 17:12:22 -04:00
Ryan VanderMeulen
a7d45f8d16 Merge m-c to inbound. 2012-11-02 16:11:46 -04:00
Neil Rashbrook
958b1668fa Bug 664695 Improve signature of nsIConsoleService::GetMessageArray r=bsmedberg 2012-11-02 20:07:50 +00:00
Jim Blandy
60d882dbc2 No bug: Correct comment on type of argument to DebuggerTransport constructor. DONTBUILD r=dcamp on IRC 2012-11-13 13:28:22 -08:00
Bobby Holley
9e2e3deda7 Bug 808608 - Stop relying on unique Location objects in WebConsoleActor. r=past
Right now the code holds a ref to the per-inner-window Location object of the
Window associated with the sandbox, and uses that to determine if the page has
navigated. This breaks when we have one Location object per docshell, because
the check always succeeds. Just use the window ID instead, which is also less
likely to leak.
2012-11-21 13:20:04 -08:00
Ryan VanderMeulen
b683b9b54d Merge the last PGO-green inbound changeset to m-c. 2012-10-26 21:22:40 -04:00
Victor Porof
239fc142c6 Bug 707302 - Optimize and refactor the debugger frontend to use constructors instead of attached functions to DOM nodes, r=rcampbell 2012-10-26 20:10:17 +03:00
Bill McCloskey
a6cd2f8c4f Bug 692267 - Remove jsgc.h from INSTALLED_HEADERS (r=terrence) 2012-10-26 11:17:24 -07:00
Mihai Sucan
6acfd3f384 Bug 805639 - Intermittent devtools/webconsole/test/test_file_uri.html | file URI match; r=paul 2012-10-26 19:35:30 +03:00
Mihai Sucan
ca6d5ec31b Bug 803991 - Intermittent test_file_uri.html | Test timed out; r=robcee 2012-10-23 16:38:26 +03:00
Mihai Sucan
7ebf4e405a Bug 802013 - Intermittent test_cached_messages.html | number of cached page errors - got 6, expected 2; r=robcee 2012-10-23 18:37:01 +03:00
Phil Ringnalda
b6e6285116 Merge mozilla-central to fx-team 2012-10-19 22:13:58 -07:00
Jim Blandy
107003f921 Bug 738480: Simplify Debugger::ScriptQuery after CPG. Fix missing compile-and-go scripts. r=luke 2012-10-19 09:53:00 -07:00
Mihai Sucan
e5840d45f4 Bug 798764 - Global console: add support for a global ConsoleProgressListener; r=past 2012-10-18 22:04:53 +03:00
Mihai Sucan
2d87b85b5d Bug 795691 - b2g fixes for the web console actors; r=past,vingtetun,ttaubert 2012-10-11 21:24:57 +03:00
Panos Astithas
c34119acd6 Bug 795263 - Actor names should not change when promoted to thread-lifetime; r=rcampbell 2012-10-12 11:26:49 +03:00
Mike Hommey
c8e9ba64cc Bug 799323 - Make test from bug 793672 more reliable. r=past 2012-10-09 10:17:27 +02:00
Mihai Sucan
4ad390f7e8 Bug 787981 - Use LongStringActor in the Web Console actors; r=past 2012-11-05 18:41:59 +02:00
Andrew Halberstadt
8eb43eeb81 Bug 821285 - Disable toolkit/devtools/debugger/tests/unit/test_dbgsocket.js for B2G, r=bustage 2012-12-13 09:25:25 -05:00
Andrew Halberstadt
d465ed739a Bug 817122 - Disable failing B2G xpcshell tests, enable debugger tests, r=mdas 2012-12-12 16:17:49 -05:00
Panos Astithas
d87cad64a8 Fix a merge conflict. No bug. 2012-10-08 16:28:17 +03:00
Panos Astithas
096e1d6297 Merge m-c to fx-team 2012-10-08 16:26:41 +03:00
Mihai Sucan
08b66a54fc Bug 768096 - Web Console remote debugging protocol support - Part 5: tests; r=robcee 2012-10-05 16:40:57 +03:00
Mihai Sucan
d002ffbfa9 Bug 768096 - Web Console remote debugging protocol support - Part 4.5: global actor; r=past 2012-10-06 13:29:57 +03:00
Mihai Sucan
2ebc30fe3e Bug 768096 - Web Console remote debugging protocol support - Part 4: cleanups; r=robcee 2012-10-05 19:15:51 +03:00
Mihai Sucan
f068e8fc8b 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-10-05 14:54:43 +03:00
Mihai Sucan
f59e844bfe 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
e37bda789b 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
8d100f5576 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
6a0adafae6 bug 788754: simplify SourceClient's api; r=past 2012-09-28 08:27:00 +03:00
Panos Astithas
48f1ad12b4 bug 755661 part 5 - fix xpcshell test on windows; r=rcampbell 2012-10-03 18:56:45 +03:00
Nick Fitzgerald
8ab1ee0dc1 bug 755661 part 3 - sources over protocol; r=past 2012-09-27 11:30:00 +03:00
Nick Fitzgerald
48f940e2ba bug 755661 part 2 - add thread scoped long strings; r=past 2012-09-27 11:29:00 +03:00
Nick Fitzgerald
df3899ae85 bug 755661 part 1 - move Promise.jsm; r=past,jwalker 2012-09-27 11:28:00 +03:00
Mihai Sucan
58c1a38abb Backed out changeset 4a87ede182ca (bug 792925) 2012-09-28 13:19:40 +01:00
Mihai Sucan
ab9f577b2b Backed out changeset fd6633f5666e (bug 768096)
--HG--
rename : toolkit/devtools/webconsole/WebConsoleUtils.jsm => browser/devtools/webconsole/WebConsoleUtils.jsm
2012-09-28 13:19:40 +01:00
Mihai Sucan
90ed5b8af8 Backed out changeset 57755fd703c9 (bug 768096) 2012-09-28 13:19:40 +01:00
Mihai Sucan
9935683e96 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
d63cbf67cf Backed out changeset 9c70da27ec28 (bug 768096) 2012-09-28 13:19:40 +01:00
Mihai Sucan
71e9d639cb Backed out changeset 89ab8685729d (bug 768096) 2012-09-28 13:19:39 +01:00
Mihai Sucan
51c3405050 Bug 768096 - Web Console remote debugging protocol support - Part 5: tests; r=robcee 2012-09-26 17:27:38 +01:00
Mihai Sucan
c3914c067d Bug 768096 - Web Console remote debugging protocol support - Part 4: cleanups; r=robcee 2012-09-26 18:04:34 +01:00
Mihai Sucan
255e02f433 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
fa385a4925 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
67c85e3411 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
65a38620a2 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
d87fce3ec9 bug 673487 - map from an original source to a generated; r=robcee 2012-09-27 06:15:00 +01:00
Panos Astithas
8233647168 Bug 793947 - Race condition in dbg-server.js breaks Marionette; r=msucan 2012-09-27 12:31:49 +01:00
Panos Astithas
4bc32fff08 Bug 792867 - Debugger mochitests leak when run separately. r=rcampbell 2012-09-22 18:44:00 +03:00
Panos Astithas
c403cb27a4 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
bb92ccb47c 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
55fd251b7f 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
f4d41c8144 Bug 790952 - Debugger server always creates new actor instances. f=glandium r=rcampbell 2012-09-21 09:04:21 +03:00
Mike Hommey
b36036dcc8 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
b6e56083ee Bug 751034 part 2 - Add profiler actor when adding the browser actors. r=past 2012-09-13 14:40:16 +02:00
Benoit Girard
b80842661e Bug 751034 - Support remote profiling Via Remote debugging protocol. r=past,rcampbell 2012-09-06 16:55:55 +03:00
Panos Astithas
65d78a9986 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
152572b05a 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
cf0e138e04 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
896f520d2f Remove redundant check for Debugger.Object.displayName property (bug 786711). r=jimb 2012-09-18 10:30:02 +03:00
Panos Astithas
3b9100236a Bug 785689 - Debugger breaking when it shouldn't. r=msucan,vporof 2012-09-12 14:10:05 +03:00
Panos Astithas
7b37b54fa1 Use the statically-inferred name for anonymous functions (bug 786711) r=msucan,vporof 2012-09-10 11:48:52 +03:00
Mike Hommey
60f0c8831e Bug 793672 - Tests for the debugging server profiler actor. r=past 2012-10-06 10:38:35 +02:00
Mike Hommey
590c0b53ce 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
c321314360 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
d53d00d3d4 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
792f9332b4 Bug 785466: Remove DebugProtocolTypes table. r=past 2012-08-30 14:11:54 -07:00
Nick Fitzgerald
fa9547d0c6 Bug 694539: Implement 'long string' grips. r=jimb 2012-08-30 14:10:07 -07:00
Nick Fitzgerald
8faf1ce8d4 Fix test hang on Win opt (Bug 783393). r=past 2012-08-24 10:58:59 +03:00
Panos Astithas
3543b14d33 Bug 783393 - Breakpoints not getting caught on reload, r=rcampbell f=rcampbell,dcamp,vporof 2012-08-24 10:41:02 +03:00
Matt Brubeck
128729361d 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
ebc6f0fce9 Bug 783393 - Breakpoints not getting caught on reload, r=rcampbell f=rcampbell,dcamp,vporof 2012-08-17 04:32:21 +03:00
Tim Taubert
ab35ee90b7 merge m-c to fx-team 2012-08-22 22:15:08 -07:00
Panos Astithas
98d8b7753d Don't send newScript notifications for ignored scripts (bug 770882). r=rcampbell 2012-08-22 11:11:07 +03:00
Ehsan Akhgari
e368dc9c85 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
0b9e755f46 Share the breakpoint store across ThreadActor instances (bug 777146); r=past 2012-08-06 12:32:00 +03:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Panos Astithas
aa91c828bb 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
063e53c63c merge m-c to fx-team 2012-07-31 16:38:32 +02:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Nick Fitzgerald
7ca06a7f54 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
b58c48f6a7 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
9a079204d1 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
57b7742cc4 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
e9befb9911 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
570e90155e 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
1f8f1532ad 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
cb8e22fdfb 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
9a42aa2f50 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
e6216ac10d 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