Commit Graph

459 Commits

Author SHA1 Message Date
Bobby Holley
cfe137c733 Bug 860438 - Straightforward cases. r=gabor 2013-04-18 11:36:03 -04:00
Ryan VanderMeulen
891392fbf9 Merge m-c to inbound. 2013-04-18 08:08:12 -04:00
Colby Russell
4a949e0c1a Bug 861495 - Transplant getOuterWindowWithId from nsIDOMWindowUtils to a window-related service: WebConsoleUtils.jsm; r=msucan 2013-05-08 15:05:51 +03:00
Jim Blandy
ec464eb0fd Bug 866278: Remote debugging protocol: show sequence numbers with packets. r=past 2013-04-29 16:16:14 -07:00
Panos Astithas
980a377da5 Try to fix intermittent test_dbgsocket.js (bug 775924); r=me 2013-04-18 00:27:24 +03:00
Nick Fitzgerald
2e7589b70c Bug 850738 - Add a crap load of telemetry tests; r=past 2013-04-09 13:47:00 +03:00
Ryan VanderMeulen
f9bee15085 Merge m-c to fx-team. 2013-04-10 11:01:28 -04:00
Panos Astithas
2c8dec2f1f Backout eb887b962dfa (bug 772119) on suspicion of leaks 2013-04-10 16:08:59 +03:00
Panos Astithas
116a5ab638 Backout 50b1fc3ef560 (bug 849069) on suspicion of leaks 2013-04-10 16:05:35 +03:00
Nick Fitzgerald
6eb54bdd02 Bug 849069 - Relative source map URLs should be resolved according to the spec's rules; r=past 2013-04-09 11:40:00 +03:00
Nick Fitzgerald
49d18847ef Bug 772119 - Expose source mapped sources over the remote debugging protocol; r=past 2013-04-09 11:42:00 +03:00
Anton Kovalyov
5ea69ec3a9 Bug 855244 - Add support for the Profiler running in multiple tabs. r=past, r=robcee 2013-04-09 12:00:30 -07:00
Panos Astithas
0aadf55961 Bug 818134 - Allow multiple debuggers in toolboxes to debug separate tabs; r=rcampbell,dcamp 2013-04-09 14:17:03 +03:00
Mihai Sucan
ee7997edec Bug 783499 - Web Console should use the debugger API; r=past 2013-03-30 13:31:10 +02:00
Jim Blandy
689e14416b Bug 837723: Implement Debugger.Object.prototype.unsafeDereference. r=jorendorff 2013-04-08 13:14:39 -07:00
Victor Porof
2253842238 Bug 855544 - Implement a network monitor, r=dcamp,msucan 2013-03-11 23:50:42 -07:00
Panos Astithas
6dfca6ff57 Bug 853787 - Report errors in nested event loops in xpcshell tests; r=jimb 2013-04-05 09:06:38 +03:00
Jim Blandy
95482a2311 Bug 840292: Change debugging server xpcshell tests to use a "listTabs" request, rather than a "listContexts" request. r=dcamp
The original protocol specification had a "listContexts" request, but that
was only ever implemented in the test harness. The real server has always
used a browser-appropriate "listTabs" request. The latter is now
documented, and the former has been removed from the spec.

This is preparation for using a common root actor implementation for all
servers: the xpcshell tests now actually use the protocol such a common
root actor would speak.
2013-05-07 10:20:34 -07:00
Joel Maher
85d4edebe2 Bug 868329 - Switch legacy cases of test disabling on Android/B2G using makefile ifdefs over to android.json & b2g.json. r=edmorley 2013-05-07 12:46:45 -04:00
Panos Astithas
b1f6426b22 Add some telemetry to try to diagnose the cause for test_dbgsocket.js failing intermittently (bug 775924); r=me 2013-04-22 15:48:55 +03:00
Joey Armstrong
321d063783 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Hubert Figuière
8dd4e3ff13 Backout 96f2990b1124 (bug 840612) due to orange on Mn. CLOSED TREE 2013-03-26 21:07:50 -04:00
Hubert Figuière
7f9fbda32f Bug 840612 - Don't close Marionette and debugger server socket when going offline. r=mdas,past,mcmanus f=jduell 2013-02-28 15:39:38 -05:00
Tim Taubert
bbaac6bbbf merge m-c to fx-team 2013-03-25 09:45:45 +01:00
Joe Walker
e6e51df457 Bug 784790 - GCLI cookie command should use internal Cookie API rather than document.cookie; r=mratcliffe 2013-03-23 09:53:10 +00:00
Tim Taubert
96a3661196 merge m-c to fx-team 2013-03-21 12:35:58 +01:00
Panos Astithas
11818a39a6 Bug 852860 - Remove obsolete script cache; r=vporof 2013-03-20 09:48:35 +02:00
Eddy Bruel
02245ebd87 Bug 808960 - Can't fetch sources packed in jar bundles when debugging chrome; r=past,vporof 2013-03-14 21:57:00 -07:00
Eddy Bruel
3b19bfaf81 Bug 820012 - unable to debug scripts loaded via loadSubScript in Browser Debugger; r=past 2013-03-14 15:21:00 -07:00
Jim Blandy
72ed24c525 Bug 852208: Delete unused DebuggerServerConnection.prototype.addCleanup. r=past 2013-03-19 17:48:39 -07:00
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc
426ac0cdd3 Merge mozilla-central into build-system 2013-03-13 08:20:09 -07:00
Gregory Szorc
c865547d94 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Panos Astithas
cf729ddccf Bug 785704 - Part 1: fix a newSource regression from bug 795368; r=vporof 2013-03-11 17:51:00 -07:00
Nick Fitzgerald
7398093699 Bug 848576 - "Remove scripts and newScript packets from the RDP"; r=past 2013-03-11 15:35:00 -07:00
Panos Astithas
f5138251c7 Bug 775924 - Intermittent test_dbgsocket.js; r=me 2013-03-21 23:51:45 +02:00
Mike Shal
e3efc3a646 Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Ryan VanderMeulen
ccce73b05c Merge m-c to fx-team. 2013-03-07 17:39:11 -05:00
Gregory Szorc
7b6f9c7add Bug 818246 - Part 1: Remove unncessary definitions of XPIDL_MODULE; r=glandium
XPIDL_MODULE defaults to MODULE. These Makefile.in were setting
XPIDL_MODULE to the same value as MODULE.

--HG--
extra : rebase_source : e96bd34d5949d0ab94cecbec35d6c9f4bffec01e
2013-03-07 05:03:51 -08:00
Panos Astithas
947e375875 Bug 820524 - Debugger, Web Console and Profiler should share the debugger client even for local sessions; r=jwalker,vporof,msucan,anton 2013-03-07 09:30:03 +02:00
Panos Astithas
9ff50aba0b Add even more logging to try to diagnose the cause for test_dbgsocket.js failing intermittently (bug 775924); r=me 2013-05-16 17:36:53 +03:00
Ryan VanderMeulen
a48604f17e Merge m-c to inbound. 2013-04-09 15:29:13 -04:00
Hubert Figuière
badb4e497a Bug 840612 - Part 1: Don't close Marionette and debugger server socket when going offline. r=mdas,past,mcmanus f=jduell 2013-03-26 21:22:40 -04:00
Alexandre Poirot
5a8eadd448 Bug 865207 - Move webapps actor from /b2g/chrome/content to /toolkit/devtools/apps/. r=fabrice, r=dcamp
--HG--
rename : dom/apps/tests/unit/data/app.zip => toolkit/devtools/apps/tests/unit/data/app.zip
rename : dom/apps/tests/unit/test_webappsActor.js => toolkit/devtools/apps/tests/unit/test_webappsActor.js
rename : b2g/chrome/content/dbg-webapps-actors.js => toolkit/devtools/server/actors/webapps.js
2013-05-30 12:08:15 -04:00
Panos Astithas
7d203c3000 Fix bug 847314 (Intermittent test_listsources-02.js, test_sources_backwards_compat-02.js); r=me 2013-03-04 13:36:23 +02:00
Nick Fitzgerald
6ce547be98 Bug 795368 - Add "sources" and "newSource" packets to the RDP, and use them instead of "scripts" and "newScript"; r=past f=rcampbell,msucan 2013-02-28 14:02:00 +02:00
Gregory Szorc
2f9c3f619e Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08:00
Jonathan Mayer
529b037b7c Bug 818340 - change third party cookie handling to block third party cookies from sites I haven't visited. (r=jdm, r=dolske)
--HG--
extra : rebase_source : f486f39feac1fb743edc920618bec29884d515f1
2013-02-22 08:16:01 -08:00
Panos Astithas
bc907ba73e Bug 830818 - Always trust native getters when fetching properties, to show directly the values in the debugger's Variables View; r=vporof,rcampbell 2013-02-12 10:38:24 +02:00
Dave Townsend
cd10174200 Bug 793928: Switch users of the promise library to the new location and move tests files. r=gavin
--HG--
rename : toolkit/addon-sdk/test/Makefile.in => addon-sdk/test/Makefile.in
rename : toolkit/addon-sdk/test/unit/head.js => addon-sdk/test/unit/head.js
rename : toolkit/addon-sdk/test/unit/test_promise.js => addon-sdk/test/unit/test_promise.js
rename : toolkit/addon-sdk/test/unit/xpcshell.ini => addon-sdk/test/unit/xpcshell.ini
2013-02-01 11:43:15 -08:00
Nick Fitzgerald
027df94e89 Bug 831465 - SourceMap.jsm breaks with jsloader.reuseGlobal == true; r=past 2013-01-16 15:53:00 +02:00
Victor Porof
91e0f879a3 No bug - Fix 'test_object_actor.html | property 'className' - got Function, expected function', r=me 2013-01-22 09:27:06 +02:00
Victor Porof
fc1a5dc4cd Bug 831724 - Variables View: [object undefined] for Window when inspecting raw objects, r=msucan 2013-01-21 23:59:30 +02:00
Panos Astithas
ee55ec9122 Merge m-c to fx-team 2013-01-16 10:13:29 +02:00
Mihai Sucan
259732578f Bug 787985 - Console API messages are not consistent; r=past 2013-01-15 16:02:25 +02:00
Nick Fitzgerald
cda8e0611f Bug 828070 - Update SourceMap.jsm from mozilla/source-map to get the |sources| getter; r=rcampbell 2013-01-09 14:55:00 -05:00
Phil Ringnalda
f7112b0d9a Merge m-c to fx-team 2013-01-11 21:36:11 -08:00
Mihai Sucan
aa99330a69 Bug 827083 - Cannot attach remote web console to Firefox Android; r=past 2013-01-11 19:31:09 +02:00
Nick Fitzgerald
3e5154de16 Bug 783420 - Stop using devtools' Promise.jsm, and start using toolkit/addon-sdk/promise/core.js; r=past,jwalker 2013-01-08 14:42:00 +02:00
Panos Astithas
0123dab9c4 Merge m-c to fx-team 2013-01-10 08:48:55 +02:00
Fabrice Desré
9bfe75c61c Bug 799151 - Display a prompt to allow remote debugging connections in Firefox OS r=vingtetun 2013-01-08 09:08:00 +02:00
Mihai Sucan
eeebd2339b Bug 826798 - Network inspector does not correctly render cookie; r=past 2013-01-08 23:25:57 +02:00
Panos Astithas
f07bc4f132 Implement a new addAllGlobalsAsDebuggees method for faster chrome debugging (bug 821701); r=jimb
Also GC only once when going through all compartments in both addAllGlobalsAsDebuggees and removeAllDebuggees, instead of once for every debuggee added or removed.
2013-01-04 21:34:43 +02:00
Jim Blandy
004ab1c592 Bug 808791: JS debug server: construct environment forms correctly, using Debugger.Environment.prototype.callee. r=past 2013-01-14 16:15:58 -08:00
Jim Blandy
e7b42a7946 Bug 808791: JS debugger server environment form xpcshell tests r=past 2013-01-14 16:15:58 -08:00
Mihai Sucan
11c5a3ad68 Bug 792062 - Make the tabNavigated notification reusable by the Web Console; r=past 2012-12-17 22:06:13 +02:00
Panos Astithas
b66143e6bf Bug 784824 - support for remote debugging of b2g desktop builds; r=fabrice 2013-01-10 13:00:32 +02:00
Fabrice Desré
6882d62977 Bug 828863 - Add a remote debugger actor to install apps r=past 2013-01-10 07:38:51 -08:00
Jim Blandy
ef14f11685 Bug 819049: JS debugging protocol: replace 'nameAndParameters' request with 'parameterNames'; replace GripClient.prototype.getSignature with GripClient.prototype.getParameterNames. r=past 2012-12-14 10:26:47 -08:00
Jim Blandy
2c9d42f20a Bug 819049: JS debugging protocol: drop 'calleeName' and 'functionName' properties from frame and environment forms. r=past
Object grips for functions now include the function's name directly, so the
'callee' and 'function' properties of those forms already provide this
information. A prior patch in the series changed the users to consult the
grip, not these additional properties.
2012-12-14 10:26:47 -08:00
Jim Blandy
8b373fd278 Bug 819049: JS debugging protocol: use 'name', 'displayName', and 'userDisplayName' properties on function grips. r=past 2012-12-14 10:26:47 -08:00
Jim Blandy
f0e8a6203f Bug 819049: JS debugging protocol: provide 'name', 'displayName', and 'userDisplayName' properties on function grips. r=past 2012-12-14 10:26:47 -08:00
Ed Morley
7774c430ca Merge mozilla-inbound to mozilla-central on a CLOSED TREE 2012-12-14 15:28:22 +00:00
Joe Walker
a2f9e35eb4 Automated merge with ssh://hg.mozilla.org/integration/fx-team/ 2012-12-13 15:26:29 +00:00
Joe Walker
e083b9d5e6 Bug 813031 - gDevTools needs an API review [toolbox]; r=paul 2012-12-13 13:03:55 +00:00
Andrew Halberstadt
135b8a9676 Bug 817122 - Disable failing B2G xpcshell tests, enable debugger tests, r=mdas, DONTBUILD a=NPOTB,test-only 2012-12-12 10:52:24 -05:00
Jonathan Griffin
396e631318 Bug 800138 - Open a dummy socket before Marionette starts listening, r=past 2012-12-07 10:48:18 -08:00
Boris Zbarsky
1919dc0849 Bug 819670 - Web console object inspection does not handle native getters throwing very well; r=msucan,bz 2012-12-08 11:01:41 -05:00
Panos Astithas
4c3cb38686 Bug 816569 - Browser Debugger should freeze debuggee execution when paused; r=bz f=rcampbell 2012-12-04 10:20:54 +02:00
Joe Walker
a3224c8b35 Bug 788977 - [toolbox] Land the developer tools window; r=harth,jwalker,mikeratcliffe,paul,dão 2012-11-30 08:07:59 +00:00
Panos Astithas
2c6aa4fd59 Bug 812869 - Breakpoint clients sometimes don't know how to remove themselves, r=vporof 2012-11-27 14:29:46 +02:00
Joe Walker
1080556613 Backed out changeset 132d2e88ef03 (bug 788977) for talos regression. 2012-11-27 10:39:10 +00:00
Joe Walker
dfb956a6c7 Merge m-c to fx-team 2012-11-27 02:50:33 +00:00
Joe Walker
68e2336dfc Merge m-c to fx-team 2012-11-24 12:06:17 +00:00
Joe Walker
e9233b2864 Bug 788977 - [toolbox] Land the developer tools window; r=harth,jwalker,mikeratcliffe,paul,dão 2012-11-22 21:35:19 +00:00
Kyle Huey
d91ef531e3 Bug 814104: Create the function in the right compartment. r=dcamp 2012-11-26 08:56:56 -08:00
Ryan VanderMeulen
1fa5b07291 Merge fx-team to m-c. 2012-11-17 13:29:05 -05:00
Panos Astithas
d275155b2d Set breakpoints in all scripts with bytecode in the specified line (bug 793214), r=rcampbell 2012-11-01 17:34:10 +02:00
Jim Mathies
6d4a6c33ae Bug 810704 - Fixup misc. toolkit resource path issues. r=mak77 2012-11-14 10:24:05 -06:00
Ed Morley
f26dc0969e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-11-14 14:35:55 +00:00
Panos Astithas
ffe6e7fbc0 Bug 795969 - Promote list of pause actors at once; r=rcampbell f=jimb 2012-11-14 10:00:57 +02:00
Ed Morley
38ea7cf056 Merge mozilla-central to fx-team
--HG--
rename : browser/devtools/debugger/VariablesView.jsm => browser/devtools/shared/VariablesView.jsm
2012-11-06 14:16:07 +00:00
Panos Astithas
0da1d18035 Bug 808527 - selectedBrowser frames appear when debugging chrome; r=dcamp 2012-11-06 09:15:12 +02:00
Panos Astithas
8fcd417c7d Bug 808498 - Chrome debugging broke B2G debugging; r=vporof,vingtetun 2012-11-06 09:14:07 +02:00
Ryan VanderMeulen
049679e9aa Merge fx-team to m-c. 2012-11-02 15:45:53 -04:00
Panos Astithas
337aa842bf Implement Debugger.removeAllDebuggees for efficient debugger shutdown (bug 740551); r=jimb,jorendorff 2012-11-02 18:30:23 +02:00
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
Panos Astithas
0f2746d358 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
43d88cd828 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
3b877334d0 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
b3c9903bc1 merge m-c to fx-team 2012-06-13 15:34:08 +02:00
Panos Astithas
3b9ea57631 Bug 754251 - Can't set breakpoint in Script Debugger; r=rcampbell 2012-06-12 09:47:08 +03:00
Ryan VanderMeulen
5f2a19ee6e Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
6d6c4efbab Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Panos Astithas
902eb57eb8 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
f883597984 Bug 761223 - JS Debugger errors prevent me from debugging Orion; r=dcamp 2012-06-08 11:21:59 +03:00
Panos Astithas
efc2326842 Backout 61e0d5d09f77 due to test breakage 2012-06-08 11:18:28 +03:00
Panos Astithas
c57ffa72d6 Bug 761223 - JS Debugger errors prevent me from debugging Orion; r=dcamp 2012-06-08 10:00:48 +03:00
Panos Astithas
595d5abc7b Bug 757282 - Pause when an exception is hit; r=rcampbell 2012-06-03 16:39:51 +03:00
Panos Astithas
d56223d79f 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
ffabfb5218 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
d342aa7757 Bug 755346 - Global variables are not displayed in the debugger frontend; r=vporof,rcampbell 2012-05-29 12:08:20 +03:00
Panos Astithas
1d763d246b 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
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Michael Wu
c76fdd881b Bug 759013 - Convert more makefiles to use TEST_DIRS, r=khuey 2012-05-27 23:25:22 -04:00
Jim Blandy
e4ad29f47c (No bug): Add comments to some debugger server code. r=past in IRC 2012-05-08 17:54:04 -07:00
Victor Porof
aade15efea 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
5f8dc0569d Merge mozilla-central into mozilla-inbound 2012-05-04 16:29:42 -04:00
Jason Orendorff
1ef6694b0e 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
468bdd6c5f Bug 724228 - Use getVariable instead of getVariableDescriptor until the latter lands; r=dcamp 2012-03-21 15:49:23 +00:00
Ehsan Akhgari
86270a58c0 Merge backout; a=me 2012-05-02 16:22:51 -04:00
Ehsan Akhgari
9583e92170 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
e30ea572b2 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
913bba7c4e Backout the latest merge from fx-team because of Ts regressions (no bug) 2012-05-02 15:37:08 -04:00
Tim Taubert
c86beca388 merge m-c to fx-team; a=js-only 2012-05-02 15:36:57 +02:00
Panos Astithas
62c505068c 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
94f1f2174d 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
694b255813 Bug 749215: Install the debug server jsms as symlinks, when appropriate. r=rcampbell 2012-05-01 15:19:32 -07:00
Jim Blandy
4454d0d3c8 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
a3f4edfd95 Bug 749550 - Import dbg-client.jsm from resource://gre/ instead of resource:///. r=past 2012-04-30 08:05:05 +02:00
Panos Astithas
d3079e4ee9 Bug 724228 - Use getVariable instead of getVariableDescriptor until the latter lands; r=dcamp 2012-03-21 15:49:23 +00:00
Panos Astithas
0f76795a36 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
3035b38334 Bug 742358: Add some documentation to toolkit/devtools/debugger/dbg-transport.js. r=dcamp 2012-04-05 12:37:21 -07:00
Panos Astithas
ca5dc2d874 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
bb8e0d45ab 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
01ce22c7e9 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
d2af650079 Backout changeset 794ff67c7a9a (bug 723563) due to suspected randomorange (bug 739995) 2012-03-28 17:47:33 +03:00
Panos Astithas
35def57c36 Backout changeset 0b6a274e8b5a (bug 737464) due to suspected randomorange (bug 739995) 2012-03-28 17:45:22 +03:00
Panos Astithas
c553bf3724 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
407cfcba1f 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
5c7e661f38 Bug 734911 - Adding breakpoints sometimes doesn't work; r=rcampbell 2012-03-28 12:23:09 +03:00
Panos Astithas
06604833fe Bug 711164 - Add support for stepping to the debugger; r=rcampbell 2012-03-18 08:50:43 +02:00
Panos Astithas
97551f9c97 Bug 729576 - Update the remote debugging protocol to reflect the recent spec changes; r=dcamp,jimb 2012-03-13 09:13:02 +02:00
Panos Astithas
1d6d8b42db Bug 731277 - Add support for using fn.displayName as the function name in stack frames; r=rcampbell 2012-03-12 10:59:30 +02:00
Panos Astithas
c9feb40157 Bug 709088 - Put dump() calls in debugger code behind a pref; r=rcampbell 2012-03-08 09:14:41 +02:00
Mihai Sucan
1b727b5c6a Bug 723069 - The debugger should allow breakpoints to be set in the embedded editor; r=past 2012-03-05 19:56:13 +02:00
Panos Astithas
b68903d509 Bug 729191 - Make debugger mochitests wait for debugger server shutdown before finishing; r=rcampbell 2012-03-06 10:22:17 +02:00
Panos Astithas
51fabc108e Bug 697040 - The Script Debugger onNewScript notifications don't always fire; r=jimb,dcamp,rcampbell 2012-02-23 09:41:00 +02:00