Commit Graph

70 Commits

Author SHA1 Message Date
Gregory Szorc
160a20817c Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Nick Fitzgerald
45c3de0da3 Bug 762761 - part 2: front end changes for debugger pretty printing; r=vporof 2013-09-18 17:56:20 -07:00
Nick Fitzgerald
10b56be69c Bug 914930 - sometimes load source content via Debugger.Source; r=past 2013-09-12 16:39:53 -07:00
Jonathan Fuentes
0a24a09d9d Bug 897050 - Prefer displayName instead of name; r=fitzgen 2013-09-12 09:54:56 -07:00
Nick Fitzgerald
a905799f48 Bug 762761 - add prettyPrint request to the remote debugging protocol server/client; r=past 2013-09-11 10:15:51 -07:00
Nick Fitzgerald
64ef5889bc Bug 907278 - only attach breakpoints to offsets that are entry points to their line; r=past 2013-09-09 10:06:08 -07:00
Nick Fitzgerald
1e8e483a77 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
Nick Fitzgerald
61eaf27adb Bug 889530 - Don't permanently cache source maps; r=vporof 2013-09-05 09:50:10 -07:00
Eddy Bruel
121849adfe Bug 906963 - Add a flag to pauseOnExceptions to optionally ignore caught exceptions. 2013-08-30 10:55:41 +02:00
Jake Bailey
b36c3245a2 Bug 907289 - Trace client should always emit enteredFrame and exitedFrame events in sequence order. r=fitzgen 2013-08-20 15:52:00 +02:00
Phil Ringnalda
0267f47531 Merge m-i to m-c 2013-08-25 08:20:24 -07:00
Nick Fitzgerald
fb564e9cd4 Bug 882795 - source responses in the RDP should include a contentType property; r=vporof 2013-08-23 15:04:03 -07:00
Eddy Bruel
ed76c00d48 Bug 899052 - Implement the listAddons request; r=fitzgen 2013-08-24 01:33:46 +02:00
Eddy Bruel
6d0507e293 Bug 899052 - Promisify the debugger's live list interface; r=fitzgen 2013-08-21 02:08:48 +02:00
Nick Fitzgerald
65efc056ab 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
Mike Hordecki
a9e5e62e18 Bug 795979 - RDP, new packet type: getObjectsProperties. r=past 2013-08-20 13:32:04 +01:00
Ed Morley
243b23674f 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
a68333d0fe Bug 795979 - RDP, new packet type: getObjectsProperties. r=past 2013-08-15 18:10:00 +02:00
Jake Bailey
5cff275c64 Bug 904140 - Trace actor omits completion value property when returning undefined. r=nfitzgerald 2013-08-12 16:01:00 +02:00
Nick Fitzgerald
3e19668f78 Bug 901712 - black boxing doesn't work with source maps; r=dcamp 2013-08-16 14:59:04 -07:00
Mike Hordecki
20120b9159 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
Ryan VanderMeulen
c292f445e7 Merge m-c to inbound. 2013-08-14 17:11:30 -04:00
Nick Fitzgerald
ea11a569a6 Bug 840684 - Source map the location of frames in the RDP; r=vporof 2013-08-14 09:50:28 -07:00
Nick Fitzgerald
b1813995f5 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
Brandon Benvie
31bc4d26e3 Bug 897256 - Add Debugger Protocol support for NaN, Infinity, and -Infinity. r=dcamp 2013-08-12 10:15:22 -07:00
Dave Camp
7d7c938878 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
Jim Blandy
231f02c2f8 Bug 890555 - Fix silent bugs in some toolkit/devtools/server xpcshell tests; r=dcamp 2013-08-07 15:44:00 -07:00
Chris Manchester
4b663f62ef 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
6f4a85f3f9 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
Nick Fitzgerald
805b17437b bug 899877 part 1: remove frame.isBlackBoxed, add frame.source; r=dcamp 2013-08-03 11:05:36 -07:00
Jake Bailey
5c65c0a9c6 Bug 901098 - Trace actor callsite trace type actually returns source location; r=fitzgen 2013-08-02 17:26:31 -07:00
Jake Bailey
ad761e3da4 Bug 900268 - Trace actor collects too much information when serializing objects; r=fitzgen 2013-08-02 17:26:31 -07:00
Jake Bailey
fe1cd63c84 Bug 900776 - Trace actor reports NaN time when exiting frames; r=fitzgen 2013-08-02 17:26:30 -07:00
Philipp Kewisch
1fc0fe161a 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
622b557cec Bug 897744 - BreakpointStore should have a hasBreakpoint method; r=fitzgen 2013-07-30 19:34:10 -07:00
Nick Fitzgerald
5ef5ae5712 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
206209d963 Bug 897744 - BreakpointStore should have a hasBreakpoint method 2013-07-30 19:34:10 -07:00
Jake Bailey
d1e8b62eac Bug 887027 - Implement a tracing profiler actor; r=past,robcee 2013-07-30 19:09:29 -07:00
Nick Fitzgerald
3c7aa00733 Bug 899215 - test_breakpointstore.js isn't testing anything; r=jimb 2013-07-29 15:52:35 -07:00
Nick Fitzgerald
1334032600 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
e29b4077e9 Bug 896274 - Allow an object's form to be an actor id. r=jimb 2013-07-21 11:02:30 -07:00
Dave Camp
4a76dd4526 Bug 896270 - Replace optional arguments with nullable types in protocol.js, part 2. r=jimb 2013-07-21 10:38:40 -07:00
Nick Fitzgerald
e963ddf74d Bug 860035 - script actors should handle breakpoints with columns; r=jimb 2013-07-24 17:46:49 -07:00
Jim Blandy
a89a889466 Bug 878958 - Support connections with prefixed actor names and prefix-based forwarding. r=dcamp 2013-07-24 11:27:26 -04:00
Panos Astithas
d3b827e6e4 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
fe13fab0d2 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
6277ba7fbb Clear any previous stepping hooks on a plain resumption (bug 832234); r=rcampbell 2013-07-18 12:45:17 +03:00
Bobby Holley
26926302d8 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
5333a265b8 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
b6f705b27a 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