Commit Graph

736 Commits

Author SHA1 Message Date
Fabrice Desré
9d38f640c4 Bug 912898 - B2G: Don't kill adb (or lock the screen) if a debugger client is connected r=past 2013-09-07 16:28:51 -07:00
Paul Rouget
f107217df7 Bug 912915 - Implement a simple generic highlighter. r=jwalker 2013-09-07 11:39:50 +02:00
Marco Castelluccio
954c460712 Bug 912164 - Timestamp property is no longer set for app.launch(). r=fabrice 2013-09-06 14:18:21 -04:00
Nick Fitzgerald
11a9610a7e Bug 908337 - add getFrameLocation(frame) function and use it wherever we get frame locations in the debugger server; r=jimb 2013-09-05 16:51:23 -07:00
Nick Fitzgerald
37485ea5a5 Bug 878307 - When stepping through source mapped code, we should continue stepping until we are at a new location in the original source; r=jimb 2013-09-05 16:32:27 -07:00
Paul Rouget
2f4a308c98 Bug 913045 - getWallpaper doesn't work. r=ochameau 2013-09-05 08:43:00 +02:00
Alexandre Poirot
212aefd61c Bug 908205 - Allows to install an app via the webapp actor without having to push file with adb. r=past 2013-09-05 06:35:00 +02:00
Nick Fitzgerald
2d714c054b Bug 889530 - Don't permanently cache source maps; r=vporof 2013-09-05 09:50:10 -07:00
Nick Fitzgerald
4dc797539c Bug 912699 - improve load source error messages; r=past 2013-09-05 09:43:09 -07:00
Ed Morley
283de2b1c8 Merge mozilla-central and fx-team 2013-09-05 14:54:06 +01:00
Paul Rouget
3ad8b0ec46 Bug 912447 - [app manager] land the app manager front end. r=poirot.alex r=mratcliffe 2013-09-05 15:15:37 +02:00
Wes Kocher
8bba56d03f Merge m-c to inbound 2013-09-04 18:04:50 -07:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Michael Ratcliffe
a74c0a7cd1 Bug 694019 - we should be able to highlight and inspect a :pseudo element r=mratcliffe 2013-09-04 17:43:40 +02:00
Marco Castelluccio
a4289c0085 Bug 777428 - Make it possible to debug webapps running in desktop webapp runtime. r=past 2013-09-10 20:59:04 -04:00
Alexandre Poirot
6e2f97d099 Bug 900972 - Ensure emitting appOpen event for apps being opened before the call to watchApps. r=paul.rouget 2013-09-03 12:51:24 -04:00
J. Ryan Stinnett
453233c9ac Bug 911127 - Repair DebuggerServer loading on B2G. r=dcamp 2013-08-31 02:34:26 +02:00
Nick Fitzgerald
236796514f Bug 908913 - integrate escodegen with devtools; r=robcee,gps,dcamp 2013-09-01 15:46:16 -07:00
Eddy Bruel
b9ddf0e64c Bug 906963 - Add a flag to pauseOnExceptions to optionally ignore caught exceptions. 2013-08-30 10:55:41 +02:00
Ryan VanderMeulen
bfaf261751 Merge b2g-inbound to m-c. 2013-08-29 15:55:53 -04:00
Ed Morley
3623145100 Merge mozilla-central and b2g-inbound 2013-08-29 15:10:05 +01:00
Marco Castelluccio
ef8c9a272b Bug 909911 - Remove webapps-sync-install and webapps-sync-uninstall observers. r=mfinkle, r=fabrice 2013-08-29 09:58:59 -04:00
J. Ryan Stinnett
e03781cf46 Bug 910184 - Use a separate server for Browser Debugger. r=vporof 2013-08-28 16:19:34 +02:00
Jake Bailey
8f455af457 Bug 907289 - Trace client should always emit enteredFrame and exitedFrame events in sequence order. r=fitzgen 2013-08-20 15:52:00 +02:00
Alexandre Poirot
54183692ce Bug 902910 - Offer a way for simulator addon to integrate itself with the connection footer. r=paul 2013-08-29 03:01:00 +02:00
Dave Camp
4f8ffc4023 Bug 888492 - Use the content window rather than tabbrowser for load notifications. r=jwalker
--HG--
extra : rebase_source : 6b1ec0d80b7decb972f5c6f0a0aad51e33cb3c25
2013-08-12 12:50:09 -07:00
Dave Camp
dd015256b9 Bug 910241 - Port the layout view to the remote protocol. r=mratcliffe
--HG--
extra : rebase_source : 5204fd2e6a67d9ba6799b103d21c88f901b29597
2013-08-12 07:43:19 -07:00
Joe Walker
ad29deb96b Bug 900114 - Rollup for bugs 781856, 884015, 789884, 892901, 773188, r=mratcliffe 2013-08-29 14:00:55 +01:00
Ed Morley
abde542234 Merge mozilla-central and fx-team 2013-08-28 12:23:55 +01:00
Brandon Benvie
d541457dea Bug 909782 - TabLists inheriting from BrowserTabList need to be updated to change "iterator" to "getList". r=mbrubeck, r=mleibovic 2013-08-28 10:57:59 +02:00
Nicholas Nethercote
3f5d413d90 Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke.
--HG--
rename : js/src/jsdbgapi.h => js/public/OldDebugAPI.h
rename : js/src/jsdbgapi.cpp => js/src/vm/OldDebugAPI.cpp
extra : rebase_source : 9cd65a698e726c43d88d650f40823367bf98feae
2013-08-26 19:05:20 -07:00
Oprea Victor Andrei
c221b8e031 Bug 904201 - Add error message for "noSuchActor". r=bbenvie 2013-08-26 11:59:26 +02:00
Phil Ringnalda
00826fc34a Merge m-i to m-c 2013-08-25 08:20:24 -07:00
Gabriel Luong
1750b21f8a Bug 895616 - get{Original/Generated}Location should take object/keyword arguments instead of positional arguments; r=fitzgen 2013-08-23 22:41:28 -07:00
Nick Fitzgerald
d38b7f6571 Bug 882795 - source responses in the RDP should include a contentType property; r=vporof 2013-08-23 15:04:03 -07:00
Eddy Bruel
216d4d610a Bug 899052 - Implement the listAddons request; r=fitzgen 2013-08-24 01:33:46 +02:00
Ryan VanderMeulen
3b872d79f6 Merge m-c to fx-team. 2013-08-22 20:48:10 -04:00
Nick Fitzgerald
b24552d2cb Bug 889492 - Debugger does not stop at the debugger; statement in original files; r=anton 2013-08-22 10:41:48 -07:00
Ms2ger
c3e345584c Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium 2013-08-22 08:56:01 +02:00
Paul Rouget
fab0d93f50 Bug 895360 - [app manager] Device meta data actor. r=poirot.alex 2013-08-21 08:56:40 +02:00
Paul Rouget
1dd29166e6 Bug 898485 - [app manager] Implement an abstract connection manager. r=past 2013-08-21 08:56:40 +02:00
Nick Fitzgerald
e55a604cd3 Bug 906100 - Intermittent failures in tests that list sources, but don't call gc() after adding test globals; r=jimb 2013-08-20 18:23:05 -07:00
Nick Fitzgerald
18f0cd3ed9 Bug 906796 - _unknownError should suck less; r=vporof 2013-08-20 11:15:15 -07:00
Nick Fitzgerald
48c51d5197 Bug 906795 - safeErrorString should include a stack; r=vporof 2013-08-20 11:15:11 -07:00
Gregory Szorc
ddf5d26ade Bug 896695 - Re-enable accidentally disabled toolkit/devtools/apps xpcshell tests; r=mshal 2013-08-20 10:05:52 -07:00
Mike Hordecki
b8f7a184b9 Bug 795979 - RDP, new packet type: getObjectsProperties. r=past 2013-08-20 13:32:04 +01:00
Ed Morley
9e88b4e63f Backed out changeset e039f5fc18d0 (bug 795979) on suspicion of causing failures in browser_sanitize-timespans.js on a CLOSED TREE 2013-08-20 11:06:32 +01:00
Mike Hordecki
fb6d4a9d12 Bug 795979 - RDP, new packet type: getObjectsProperties. r=past 2013-08-15 18:10:00 +02:00
Jake Bailey
1f818f01f2 Bug 904140 - Trace actor omits completion value property when returning undefined. r=nfitzgerald 2013-08-12 16:01:00 +02:00
Dave Camp
676c1da626 Bug 906375 - Bind all the methods in Console.jsm's console object (fixed patch). r=mratcliffe 2013-08-18 09:55:49 -07:00
Dave Camp
327fe815c1 Bug 906375 - Bind all the methods in Console.jsm's console object. r=mratcliffe 2013-08-16 16:45:05 -07:00
Nick Fitzgerald
673896a47f Bug 901712 - black boxing doesn't work with source maps; r=dcamp 2013-08-16 14:59:04 -07:00
Mike Hordecki
26023dc8a5 Bug 755412 - Debugging protocol server should drop connection if packet framing is bad. r=past, r=jimb 2013-08-16 08:48:22 -04:00
Chris Manchester
f757b248e5 Bug 905239 - Fix undefined guard missed in review for bug 890555. r=jimb 2013-08-14 09:58:41 -07:00
Ryan VanderMeulen
8b8be2a46a Merge m-c to inbound. 2013-08-14 17:11:30 -04:00
Nick Fitzgerald
751474b94d Bug 840684 - Source map the location of frames in the RDP; r=vporof 2013-08-14 09:50:28 -07:00
Ms2ger
df8525f77d Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Nick Fitzgerald
9ed6511ec9 Bug 904196 - sctrict error in onDisplayString; r=vporof 2013-08-13 16:57:05 -07:00
Nick Fitzgerald
3adae98af2 Bug 903801 - testcompatactors.js triggers an error by adding a debuggee to a thread actor in a detached state; r=past 2013-08-13 16:53:49 -07:00
Anup Allamsetty
e8e22c88c7 Bug 903511 - Rename "GripClient" to "ObjectClient". r=fitzgen 2013-08-13 12:08:30 -04:00
Dave Camp
47c67b5b7b Bug 903453 - Make some CssLogic members explicitly public that we use elsewhere. r=jwalker
--HG--
extra : rebase_source : b05dce10120d7f7334389c8af32705351020618d
2013-08-07 09:47:45 -07:00
Dave Camp
aeaccb3e21 Bug 903454 - Rename CssLogic.FILTER.ALL to CssLogic.FILTER.USER. r=jwalker
--HG--
extra : rebase_source : 7115356a488daa890b9c4dde0f57a9df5d5f27c6
2013-08-07 09:27:22 -07:00
Dave Camp
b36c61838d Bug 886037 - Add a styles actor for the style inspectors. r=jwalker
--HG--
extra : rebase_source : 80aa9dc491c77f4b73036daeddd48f51c40f015a
2013-07-23 15:51:58 -07:00
Brandon Benvie
7b0b48adf9 Bug 897256 - Add Debugger Protocol support for NaN, Infinity, and -Infinity. r=dcamp 2013-08-12 10:15:22 -07:00
Eddy Bruel
3a6cb883d7 Bug 899052 - Promisify the debugger's live list interface; r=fitzgen 2013-08-21 02:08:48 +02:00
Jim Blandy
743c843061 Bug 890555 - Fix silent bugs in some toolkit/devtools/server xpcshell tests; r=dcamp 2013-08-07 15:44:00 -07:00
Chris Manchester
9393b75b58 Bug 890555 - Fix strict mode warnings in devtools tests uncovered by fixing bug 890555; r=jimb 2013-08-08 09:28:15 -07:00
Chris Manchester
027a15b710 Bug 904808 - fix path to use .js instead of .foobar in test_sourcemaps-07.js; r=fitzgen 2013-08-13 13:15:34 -07:00
Ryan VanderMeulen
2cb6b07d20 Merge m-c to inbound. 2013-08-09 19:29:45 -04:00
Ryan VanderMeulen
f2bdc0900c Backed out changeset 986f7c642b9f (bug 886037) for mochitest-other failures. 2013-08-09 13:10:15 -04:00
Dave Camp
f07b20836f Bug 886037 - Add a styles actor for the style inspectors. r=jwalker 2013-07-23 15:51:58 -07:00
Dave Camp
9fe375d136 Bug 897275 - Move css-logic.js to toolkit. r=jwalker, r=gps
--HG--
rename : browser/devtools/styleinspector/css-logic.js => toolkit/devtools/styleinspector/css-logic.js
2013-07-24 10:57:04 -07:00
Dave Camp
f84ec762b4 Bug 895982 - JS debugger: use of promises in server doesn't preserve request/reply ordering. r=jimb 2013-08-08 22:28:41 -07:00
Ryan VanderMeulen
d28d6462b2 Merge m-c to fx-team. 2013-08-08 16:25:37 -04:00
Carsten "Tomcat" Book
f524a73c0d merge mozilla-central to fx-team 2013-08-08 14:05:38 +02:00
Ed Morley
8ed777a5a6 Merge mozilla-central and inbound 2013-08-07 16:19:03 -07:00
Jonathan Griffin
f02c3b7cd6 Bug 898074 - Backout c92dc0497dfb, a=test-only 2013-08-07 14:54:31 -07:00
Dave Camp
92aa250799 Bug 896811 - Test output looks very strange, and is useless for failing tests. r=jwalker
--HG--
extra : rebase_source : 5be7e5d80dcda096adacc58f9348c5f999cf52d3
2013-08-07 11:01:49 -07:00
Alexandre Poirot
def8e52aa1 Bug 900500 - Add pref to bypass devtool's prompt on remote connection. r=robcee, r=mgoodwin 2013-08-06 17:56:45 -04:00
Dave Camp
d35f324ce4 Bug 897275 - Move css-logic.js to toolkit. r=jwalker
--HG--
rename : browser/devtools/styleinspector/css-logic.js => toolkit/devtools/styleinspector/css-logic.js
extra : rebase_source : 6d7cbdea4ec7bfed78083ec62c125b6d6c0bab4f
2013-07-24 10:57:04 -07:00
Dave Camp
cbb8c0fdb1 Bug 899786 - Return the string version of the baseURI in the style editor. r=harth 2013-07-23 15:50:26 -07:00
Dave Camp
83b127f449 Bug 899789 - Return the correct namespaceURI in the inspector actor. r=harth 2013-07-23 15:51:16 -07:00
Dave Camp
092a2c3900 Bug 898899 - Allow node actors to be passed as actorids rather than full forms. r=jwalker 2013-07-23 15:48:20 -07:00
Carsten "Tomcat" Book
cda28b85ed Merge b2g-inbound to m-c 2013-08-05 11:22:48 +02:00
Ryan VanderMeulen
310004f101 Merge m-c to b2g-inbound. 2013-08-02 19:55:10 -04:00
Dave Hylands
64a44bcb08 Bug 898074 - Defer close to ensure that it doesn't happen before onPacket processing. r=dcamp 2013-08-02 16:50:02 -07:00
Ms2ger
047e8751d6 Bug 899261 - Use @DEPTH@ more; r=bsmedberg 2013-08-02 09:04:38 +02:00
Christos Stathis
731979c39b Bug 790016 - Web console remote protocol sends more data than needed for completion; r=msucan 2013-08-01 22:31:36 +03:00
Nick Fitzgerald
6ef514cad0 bug 899877 part 1: remove frame.isBlackBoxed, add frame.source; r=dcamp 2013-08-03 11:05:36 -07:00
Dave Camp
a663de564b Bug 892274 - H should toggle the selected node's hidden attribute. r=harth
--HG--
extra : rebase_source : 2e56afd40e611dc2d6d87d1c7c978e64ebb90baf
2013-07-31 11:33:56 -07:00
Mihai Sucan
b255378927 Bug 877262 - Part 2: move the Web Console files over to the new jetpack-based loader; r=dcamp
--HG--
rename : browser/devtools/shared/AutocompletePopup.jsm => browser/devtools/shared/autocomplete-popup.js
rename : browser/devtools/webconsole/HUDService.jsm => browser/devtools/webconsole/hudservice.js
rename : browser/devtools/webconsole/NetworkPanel.jsm => browser/devtools/webconsole/network-panel.js
rename : browser/devtools/webconsole/WebConsolePanel.jsm => browser/devtools/webconsole/panel.js
rename : toolkit/devtools/webconsole/WebConsoleClient.jsm => toolkit/devtools/webconsole/client.js
rename : toolkit/devtools/webconsole/NetworkHelper.jsm => toolkit/devtools/webconsole/network-helper.js
rename : toolkit/devtools/webconsole/WebConsoleUtils.jsm => toolkit/devtools/webconsole/utils.js
2013-08-03 13:29:48 +03:00
Mihai Sucan
c534736bac Bug 877262 - Part 1: merge HUDConsoleUI into HUDService and prepare for the jetpack loader; r=robcee 2013-08-02 20:11:57 +03:00
Jake Bailey
ba5432c1a6 Bug 901098 - Trace actor callsite trace type actually returns source location; r=fitzgen 2013-08-02 17:26:31 -07:00
Jake Bailey
1daae10a3e Bug 900268 - Trace actor collects too much information when serializing objects; r=fitzgen 2013-08-02 17:26:31 -07:00
Jake Bailey
b1dabe726f Bug 900776 - Trace actor reports NaN time when exiting frames; r=fitzgen 2013-08-02 17:26:30 -07:00
Ms2ger
8d22c2b85b Backout changeset ec45d9c75316 for insufficient review. 2013-08-08 19:36:08 +02:00
Philipp Kewisch
a1a138e1f9 Fix bug 880511 - Web Console and Style Editor make hardcoded references to the browser window. r=dcamp 2013-08-01 10:51:24 +02:00
Mason Chang
ba860660bf Bug 897744 - BreakpointStore should have a hasBreakpoint method; r=fitzgen 2013-07-30 19:34:10 -07:00
Nick Fitzgerald
16a120f6ce Backed out changeset 041986a971af because I forgot to add the "r=..." to the commit message 2013-07-31 10:12:57 -07:00
Mason Chang
b90c148318 Bug 897744 - BreakpointStore should have a hasBreakpoint method 2013-07-30 19:34:10 -07:00
Alexandre Poirot
09005ebbee Bug 898000 - Add getIconAsDataURL in webapps actor. r=paul.rouget 2013-07-31 09:16:45 -04:00
Nick Fitzgerald
75371593fa Bug 895543 - part 1: cache SourceClient instances; r=robcee 2013-07-30 20:36:12 -07:00
Jake Bailey
acb456fed0 Bug 887027 - Implement a tracing profiler actor; r=past,robcee 2013-07-30 19:09:29 -07:00
Ryan VanderMeulen
e3e2198ade Merge m-c to inbound on a CLOSED TREE. 2013-07-30 09:23:28 -04:00
Nick Fitzgerald
5de4726d79 Bug 899215 - test_breakpointstore.js isn't testing anything; r=jimb 2013-07-29 15:52:35 -07:00
Christos Stathis
d72e018f11 Bug 686937 - Include JSTerm helpers in autocompletion suggestions; r=past 2013-07-27 11:44:00 +03:00
Trevor Saunders
6b3c839046 backout bug 886526 because it probably made us use a lot more memory to link on windows 2013-07-29 11:03:21 -04:00
Nick Fitzgerald
14e226bf9d Bug 892605 - part 2: add 'dbg blackbox' and 'dbg unblackbox' gcli commands; r=vporof 2013-07-27 10:50:57 -07:00
Nick Fitzgerald
6443c688de Bug 892605 - part 1: move the BlackBoxChange DOM event to blackboxchange thread client event; r=vporof 2013-07-27 10:49:45 -07:00
Nick Fitzgerald
44140a118e Bug 897777 - fix source mapped source resolution when there is no source root; r=jimb 2013-07-26 22:27:15 -07:00
Dave Camp
59f0439fe0 Bug 896274 - Allow an object's form to be an actor id. r=jimb 2013-07-21 11:02:30 -07:00
Dave Camp
144d1df6f6 Bug 896270 - Replace optional arguments with nullable types in protocol.js, part 2. r=jimb 2013-07-21 10:38:40 -07:00
Dave Camp
4c5527dc91 Bug 896270 - Replace optional arguments with nullable types in protocol.js, part 1. r=jimb 2013-07-21 10:15:59 -07:00
Nick Fitzgerald
fd08b554a4 Bug 860035 - script actors should handle breakpoints with columns; r=jimb 2013-07-24 17:46:49 -07:00
Ryan VanderMeulen
0271fd8de0 Merge m-c to birch. 2013-07-24 18:22:06 -04:00
Alexandre Poirot
5bb03947c5 Bug 817580 - Pref off new webapps actor features until we secure remote debugger connection. r=paul.rouget 2013-07-24 11:29:04 -04:00
Alexandre Poirot
7dcfed6f65 Bug 817580 - Expose tab actors for apps in child processes. r=jimb 2013-07-24 11:28:32 -04:00
Jim Blandy
4928972979 Bug 878958 - Support connections with prefixed actor names and prefix-based forwarding. r=dcamp 2013-07-24 11:27:26 -04:00
Dave Camp
2082069747 Bug 896103 - NodeListActor's items() response has unnecessary nesting. r=harth
--HG--
extra : rebase_source : b589da834403503959b357f91e989b77e47a2d32
2013-07-21 07:40:43 -07:00
Dave Camp
e7d9a9efa4 Bug 879523 - Remote the SelectorSearch. r=paul 2013-06-10 21:18:46 -07:00
Francesco Lodolo [:flod]
40cc10b395 Bug 871697 - GCLI: review strings and l10n comment, fix wrong strings disconnectDesc and disconnectManual; r=jwalker 2013-07-20 05:18:43 +01:00
Joe Walker
94ba16c7f3 Bug 767587 - GCLI should have a type for files; r=mratcliffe 2013-07-20 05:17:24 +01:00
Dave Camp
b5d3af5ed3 Bug 888528 - Add node deletion/insertion to the walker actor. r=jwalker 2013-06-17 06:52:53 -07:00
Panos Astithas
7bc67f036c Implement backend support for breaking on DOM events and retrieving all the event listeners on a page (bug 832982); r=rcampbell,smaug 2013-07-18 14:14:16 +03:00
Panos Astithas
afadaecb9c Don't pause twice on a breakpoint or debugger statement while stepping (bug 829028); r=rcampbell 2013-07-18 12:45:17 +03:00
Panos Astithas
ef2c716f24 Clear any previous stepping hooks on a plain resumption (bug 832234); r=rcampbell 2013-07-18 12:45:17 +03:00
Bobby Holley
ea7a9f6f09 Bug 889911 - Switch xpcshell to SystemErrorReporter with a little bit of special magic. r=mrbkap
XPCShell currently overrides all the JSContexts whose creation it observes with
its own custom error reporter. This reporter does all sorts of funny things which
we try to clean up for the most part. But there are a few very intricate
considerations at play.

First, the old xpcshell error reporter does some mumbo jumbo with the
XPCCallContext stack to try to guess whether some other code might catch the
exception. This is total garbage on a number of fronts, particularly because
the XPCCallContext stack has no concept of saved frame chains, nested event
loops, sandbox boundaries, origin boundaries, or any of the myriad of
complicating factors that determine whether or not an exception will propagate.

So we get rid of it. But this causes some crazy debugger tests to fail, because
they rely on an exception from uriloader/exthandler/nsHandlerService.js getting
squelched, and can't handle anybody reporting errors to the console service at
the particular moment of contortionism when the exception is raised. So we need
to introduce an explicit mechanism to disable the error reporter here to keep
things running.

Second, we have to be very careful about tracking the return status of the
xpcshell binary. The old code would simply flag an error code if the error
handler was invoked, and we can mostly continue to do that. But there are some
complications. See the comments.

Finally, we don't anything analogous in XPCShellEnvironment, because I have
patches in bug 889714 to remove its state-dependence on the error reporter.
I'll switch it to SystemErrorReporter in that bug.
2013-07-16 20:38:44 -07:00
Ryan VanderMeulen
ec49bf763f Backed out 10 changesets (bug 889911, bug 889714) due to merge conflicts on a CLOSED TREE.
Backed out changeset 1a1a536121da (bug 889714)
Backed out changeset 2cd88ef9eea5 (bug 889714)
Backed out changeset 489723887eca (bug 889714)
Backed out changeset 2b38ce22cf97 (bug 889714)
Backed out changeset 87b0a59a5d51 (bug 889714)
Backed out changeset 13229bab2ba4 (bug 889714)
Backed out changeset 234bd6d1fbed (bug 889714)
Backed out changeset 4f5f62284917 (bug 889714)
Backed out changeset 18537c4436c7 (bug 889911)
Backed out changeset ca7060ab1588 (bug 889911)
2013-07-16 21:16:31 -04:00
Bobby Holley
b5be668356 Bug 889911 - Switch xpcshell to SystemErrorReporter with a little bit of special magic. r=mrbkap
XPCShell currently overrides all the JSContexts whose creation it observes with
its own custom error reporter. This reporter does all sorts of funny things which
we try to clean up for the most part. But there are a few very intricate
considerations at play.

First, the old xpcshell error reporter does some mumbo jumbo with the
XPCCallContext stack to try to guess whether some other code might catch the
exception. This is total garbage on a number of fronts, particularly because
the XPCCallContext stack has no concept of saved frame chains, nested event
loops, sandbox boundaries, origin boundaries, or any of the myriad of
complicating factors that determine whether or not an exception will propagate.

So we get rid of it. But this causes some crazy debugger tests to fail, because
they rely on an exception from uriloader/exthandler/nsHandlerService.js getting
squelched, and can't handle anybody reporting errors to the console service at
the particular moment of contortionism when the exception is raised. So we need
to introduce an explicit mechanism to disable the error reporter here to keep
things running.

Second, we have to be very careful about tracking the return status of the
xpcshell binary. The old code would simply flag an error code if the error
handler was invoked, and we can mostly continue to do that. But there are some
complications. See the comments.

Finally, we don't anything analogous in XPCShellEnvironment, because I have
patches in bug 889714 to remove its state-dependence on the error reporter.
I'll switch it to SystemErrorReporter in that bug.
2013-07-16 18:04:49 -07:00
Philipp Kewisch
229a4c057f Bug 872897 - TypeError: cyclic object value when opening style editor. r=harth 2013-06-10 23:02:24 +02:00
Dave Camp
a289f7b2de Bug 896267 - Only create one walker actor per tab. r=harth 2013-07-19 11:21:40 -07:00
Brandon Benvie
e877da470f bug 825039 - Make Scratchpad execute in context of current debugger; r=rcampbell,msucan,past 2013-07-23 09:58:27 -07:00
Gijs Kruitbosch
ec3707480d Bug 880752 - Console.jsm stdout/err output is joined with commas and nukes newlines; r=jwalker 2013-06-08 00:23:50 +02:00
Trevor Saunders
7da524d402 bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium 2013-08-08 20:12:37 -04:00
Mike Hommey
ffd522d5c2 Bug 892904 - Remove useless includes of config.mk. r=gps 2013-07-15 18:48:40 +09:00
Ryan VanderMeulen
92e4fbcbce Merge m-c to inbound. 2013-07-12 15:51:48 -04:00
Panos Astithas
1298be4225 Fix step-in in chrome debugging by loading the promise library in the debugger server's compartment (Bug 834756); r=dtownsend,vporof 2013-07-12 22:13:21 +03:00
Jim Blandy
4ed9036036 Bug 878958: Implement ChildDebuggerTransport, a debug protocol transport for communicating with content child processes via process message managers. r=dcamp
Transport classes (or prototypes?) should have a label that the requester telemetry stuff can cite, instead of that freaky check we have now.
2013-07-12 11:08:28 -07:00
Ryan VanderMeulen
36aae04be3 Merge m-c to fx-team. 2013-07-11 21:58:48 -04:00
Ryan VanderMeulen
a9bc125c4e Backed out changeset 817ceeb741b4 (bug 888528) for mochitest-other orange. 2013-07-11 15:21:41 -04:00
Alexandre Poirot
fe554b909c Bug 889356 - Add test for app redirects manifest feature. r=fabrice 2013-07-11 14:43:53 -04:00
Alexandre Poirot
2e588bec08 Bug 889356 - The redirects functionality appears to fail via pushing the app to the device. r=fabrice 2013-07-11 14:43:38 -04:00
Nick Fitzgerald
16333ef823 Bug 892100 - Script actor's source loading error reporting broken; r=past 2013-07-11 10:56:23 -07:00
Ed Morley
c46ac635b9 Merge mozilla-central and fx-team 2013-07-11 10:59:07 +01:00
Panos Astithas
fedbf437f3 Rename Promise to promise to avoid collisions with the forthcoming DOM Promise implementation (bug 885318); r=jwalker 2013-07-11 10:12:20 +03:00
Ryan VanderMeulen
aaee3cf638 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Heather Arthur
bcf9ef08b8 Bug 891171 - Remove actor id from StyleSheetActor event type name; r=dcamp 2013-07-09 17:34:14 -07:00
Jim Blandy
8d7610ea0c NO BUG: JS Debugger: Fix variable name in reportError. r=gijs 2013-07-10 16:02:28 -07:00
Mihai Sucan
d99153a1a6 Bug 812618 - Autocomplete at cursor location; r=robcee 2013-06-28 20:56:33 +03:00
Panos Astithas
ec526032b6 Bug 882538 - Add reload() and navigateTo() methods to BrowserTabActor; r=rcampbell 2013-06-28 10:53:00 +03:00
Panos Astithas
e32dd9f2c7 Bug 870128 - Pause on exceptions doesn't work after reload; r=rcampbell 2013-07-09 10:57:13 +03:00
Trevor Saunders
6be251fe42 bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg 2013-06-25 11:15:21 -04:00
Nick Fitzgerald
127658878e Bug 889526 - Improve reportError so that it will add a stack trace if one is available; r=past 2013-07-03 14:10:52 -07:00
Dave Camp
139b602943 Bug 888528 - Add node deletion/insertion to the walker actor. r=jwalker
--HG--
extra : rebase_source : 8d5b9991371a7dcdceff2cd302e7bc76c8f90ea0
2013-06-17 06:52:53 -07:00
Ryan VanderMeulen
548543e0eb Merge fx-team to inbound. 2013-07-02 09:14:48 -04:00
Brandon Benvie
96b7fd215a Bug 888399 - Fix missing parenthesis in DebuggerClient.Argument.prototype.getArgument. r=dcamp 2013-06-28 11:25:57 -07:00
Mihai Sucan
fff43b3fcf Bug 886137 - Can't inspect objects in the webconsole, while debugging and inspecting; r=past 2013-06-28 19:16:18 +03:00
Anton Kovalyov
89611fda5a Bug 828038 - Change profile recording UI and behavior; r=dcamp 2013-06-27 17:31:52 -07:00
Alexandre Poirot
1976a1826a Bug 887809 - Webconsole actor doesn't unregister correctly consoleProgressListener on stopListeners. r=msucan 2013-07-01 09:47:09 -04:00
Mihnea Dobrescu-Balaur
db1f890ec9 Bug 889102 - Use a dynamic port in test_dbgglobal.js so that the xpcshell tests can be run concurrently. r=past 2013-07-09 09:09:16 -04:00
Victor Porof
3a2e8a2f7b Bug 886067 - Netmonitor displays request sizes as "0 KB" after opening Console, r=msucan 2013-06-26 23:35:39 +03:00
Heather Arthur
e512549c46 Bug 731311 - Network monitor should allow to replay and edit requests; r=vporof 2013-06-26 12:09:59 +03:00
Victor Porof
0c801e1d35 Backed out changeset 5414c83bb989 for having the wrong patch author, r=me 2013-06-26 12:06:07 +03:00
Victor Porof
85595c397e Bug 731311 - Network monitor should allow to replay and edit requests; r=vporof 2013-06-26 09:00:49 +03:00
Mihai Sucan
3a69010850 Bug 885751 - dbg-server.jsm compartment is leaking 500,000-char JavaScript warning strings like a sieve; r=dcamp 2013-06-23 14:35:22 +03:00
Rob Campbell
96837b0120 Bug 692829 - Display cached messages from iframes; r=msucan 2013-06-14 11:19:26 -04:00
Nick Fitzgerald
9a78048baa Bug 885597 - absolute urls not working with sourcesContent and source maps in file:// urls; r=dcamp 2013-06-23 09:44:29 -07:00
Victor Porof
1dfc9dd271 Merge fx-team to m-c 2013-06-23 19:00:17 +03:00
Mihai Sucan
b8b639cf74 Bug 883649 - Console freezes when accessing a DeadObject's property; r=past 2013-06-21 20:40:00 +03:00
Dave Camp
de94e4d633 Bug 884431 - Consistently treat iframe documents as children in the inspector actor. r=paul
--HG--
extra : rebase_source : b364251c71393eed94a39ba5ace7225525bc5a00
2013-06-17 06:52:52 -07:00
Dave Camp
80bf33ed1a Bug 884396 - Add tests for NodeActor.setNodeValue. r=paul
--HG--
extra : rebase_source : 2e60220c3c3021862267e6300a5c54e7489aef57
2013-06-10 21:18:44 -07:00
Dave Camp
cbf7f89130 Bug 884390 - Add attribute modification to the inspector actor. r=paul
--HG--
extra : rebase_source : ecd39da79ad5ad7d1bc365b135758970561341a0
2013-06-10 21:18:44 -07:00
Dave Camp
b7c28efb2c Bug 884388 - Add inner/outerHTML requests to the walker actor. r=paul
--HG--
extra : rebase_source : 7fe93afb46ce07bf17c9bf503056d345506f17b6
2013-06-10 21:18:44 -07:00
Dave Camp
8f75ae9488 Bug 883908 - Fix padding in Console.jsm's trace method. r=jwalker
--HG--
extra : rebase_source : b98c20106329084d5361dc336a58e98287f27445
2013-06-17 06:52:54 -07:00
Dave Camp
d709e1e7a8 Bug 877316 - Add pseudo-class lock functionality to the inspector actor. r=harth
--HG--
extra : rebase_source : a24d4026ebc893d64f25ac65e535e5da23adfbc3
2013-06-10 21:18:41 -07:00
Dave Camp
87c72a0da7 Bug 883601 - Downgrade exceptions to warning when accessing rawNode on an inspector front. r=paul
--HG--
extra : rebase_source : bd170c4a9d32a6ffb4031e9c09658d2892dbb445
2013-06-10 21:18:43 -07:00
Dave Camp
ca303ce912 Bug 883600 - Add an isLocal method to the walker. r=paul
--HG--
extra : rebase_source : 62589f32bbf32569b000f5b1557788402cf979e7
2013-06-10 21:18:43 -07:00
Victor Porof
317ce2c31f Bug 883345 - Undefined values aren't properly displayed in the debugger's variables view, r=past 2013-06-21 17:33:57 +03:00
Ryan VanderMeulen
a2d0805a67 Merge inbound and m-c. 2013-06-20 19:22:19 -04:00
Nick Fitzgerald
2dbed58a48 Bug 757408 - Opening debugger hangs completely on large scripts; r=past 2013-06-20 10:43:30 -07:00
Brian O'Keefe
5f8b5163e8 Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Alexandre Poirot
3f744cf6ad Bug 732553 - NS_BASE_STREAM_CLOSED in dbg-transport.js. r=past 2013-06-19 20:57:35 -04:00
Alexandre Poirot
f97f3f81cc Bug 879228 - [browserconsole] Tune console.jsm to ease Addon SDK integration. r=msucan 2013-06-20 12:51:18 -04:00
Alexandre Poirot
98f929dde8 Bug 882760: Fix devtool's JSM global issue on b2g; r=jimb 2013-06-22 09:01:12 -04:00
Dave Camp
8bceb2ee2a Bug 883604 - Implement NodeFront.isDocumentElement. r=paul 2013-06-17 06:52:51 -07:00
Dave Camp
71d54a5b47 Bug 883603 - Don't reply to getWalker request until DOM content is loaded. r=paul 2013-06-17 06:52:51 -07:00
Dave Camp
fee8937e4e Bug 883602 - Import all parents when using frontForRawNode(). r=jwalker 2013-06-17 06:52:51 -07:00
Dave Camp
f75b6dc79c Bug 883599 - Fix the inspector actor's nextSibling and previousSibling requests. r=paul 2013-06-10 21:18:18 -07:00
Dave Camp
2f9475a47e Bug 881120 - Allow clients to specify nodes that shouldn't be released. r=jwalker 2013-06-11 20:27:23 -07:00
Dave Camp
d06fd61fb5 Bug 878443 - Let the inspector actor expire actors for nodes that are no longer connected to the tree. r=jwalker
--HG--
extra : rebase_source : 0f6e871eebfd817b70d8229127b6cd285950ea86
2013-06-07 11:06:39 -07:00
Dave Camp
3778dbeba6 Bug 878614 - Handle subdocument loads/unloads in the inspector actor. r=jwalker
--HG--
extra : rebase_source : 08d33498922f3a8b46faa5b1b11c6d8d25de9f17
2013-06-07 11:02:32 -07:00
Dave Camp
d324f55f93 Bug 878442 - Add tree change mutations to the inspector actor. r=jwalker
--HG--
extra : rebase_source : 54401ddc820a0636f2980b8051207c4fa9968113
2013-06-06 16:22:01 -07:00
Dave Camp
ac6904d5a4 Bug 878441 - Add simple mutation watching to the inspector actor. r=jwalker
--HG--
extra : rebase_source : 1f6a187ccaa8a8d0454da7271a5adbfd890c7c79
2013-06-06 16:09:16 -07:00
Dave Camp
2d2a4af3fe Bug 878381 - Keep track of parents and children on the client side of the inspector. r=jwalker
--HG--
extra : rebase_source : c8ba58bf283e6c2c99c0c1ba8959ce97fc266d8a
2013-06-06 16:09:16 -07:00
Dave Camp
9c3398edd6 Bug 878379 - Change the walker's querySelector requests to provide any nodes needed to connect to the root node. r=jwalker
--HG--
extra : rebase_source : c234f32af28b5c137e679b1da1d9e5967fc08b3f
2013-06-06 16:09:16 -07:00
Dave Camp
85a97695bf Bug 877300 - Add a basic DOM walker actor. r=jwalker
--HG--
extra : rebase_source : 984ca53aba9223f1d7c716a394cef2fc72bf8438
2013-06-06 16:09:16 -07:00
Dave Camp
fa2deceeb1 Bug 866306 - Add a library to make devtools protocol interaction a bit easier - fix xpcshell tests, r=orange 2013-06-15 12:10:23 -07:00
Dave Camp
3098ad3a35 Bug 881101 - hooks.other is null after shutting down the debugger. r=past 2013-06-10 21:16:47 -07:00
Dave Camp
f6dd109fad Backout revision 5c76c23df424 for bad commit message. 2013-06-15 10:21:50 -07:00
Dave Camp
364d796a6d Bug 866306 - Add a library to make devtools protocol interaction a bit easier. r=jimb
--HG--
extra : rebase_source : 1b8d8b42ccea6bfea01297a16a561e55f192d554
2013-06-06 12:29:27 -07:00