Commit Graph

459 Commits

Author SHA1 Message Date
Dave Camp
066cd8ea57 Bug 888528 - Add node deletion/insertion to the walker actor. r=jwalker 2013-06-17 06:52:53 -07:00
Panos Astithas
169d483962 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
b157d819e2 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
db345be1be Clear any previous stepping hooks on a plain resumption (bug 832234); r=rcampbell 2013-07-18 12:45:17 +03:00
Bobby Holley
eb2e873e6c 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
e168631670 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
c1403cacc4 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
Mike Hommey
b97d1767fc Bug 892904 - Remove useless includes of config.mk. r=gps 2013-07-15 18:48:40 +09:00
Ryan VanderMeulen
d03fb91d02 Merge m-c to inbound. 2013-07-12 15:51:48 -04:00
Panos Astithas
e9012c3b84 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
bc3bf7126b 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
784b4970b1 Merge m-c to fx-team. 2013-07-11 21:58:48 -04:00
Ryan VanderMeulen
7155e76d44 Backed out changeset 817ceeb741b4 (bug 888528) for mochitest-other orange. 2013-07-11 15:21:41 -04:00
Alexandre Poirot
b1940863c7 Bug 889356 - Add test for app redirects manifest feature. r=fabrice 2013-07-11 14:43:53 -04:00
Alexandre Poirot
1e1a4993e4 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
f7ca2063a8 Bug 892100 - Script actor's source loading error reporting broken; r=past 2013-07-11 10:56:23 -07:00
Ed Morley
16bf648135 Merge mozilla-central and fx-team 2013-07-11 10:59:07 +01:00
Panos Astithas
698b809ffe 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
d806e1e244 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Heather Arthur
ea9a6f1485 Bug 891171 - Remove actor id from StyleSheetActor event type name; r=dcamp 2013-07-09 17:34:14 -07:00
Jim Blandy
325ce1a84b NO BUG: JS Debugger: Fix variable name in reportError. r=gijs 2013-07-10 16:02:28 -07:00
Mihai Sucan
366007a69e Bug 812618 - Autocomplete at cursor location; r=robcee 2013-06-28 20:56:33 +03:00
Panos Astithas
2897446860 Bug 882538 - Add reload() and navigateTo() methods to BrowserTabActor; r=rcampbell 2013-06-28 10:53:00 +03:00
Panos Astithas
5694a6f1ae Bug 870128 - Pause on exceptions doesn't work after reload; r=rcampbell 2013-07-09 10:57:13 +03:00
Trevor Saunders
4fda35a773 bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg 2013-06-25 11:15:21 -04:00
Nick Fitzgerald
eebeb27495 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
3611785138 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
cf9fba3a22 Merge fx-team to inbound. 2013-07-02 09:14:48 -04:00
Brandon Benvie
d5a5fdd2c5 Bug 888399 - Fix missing parenthesis in DebuggerClient.Argument.prototype.getArgument. r=dcamp 2013-06-28 11:25:57 -07:00
Mihai Sucan
514b9c384c 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
1706e0cec0 Bug 828038 - Change profile recording UI and behavior; r=dcamp 2013-06-27 17:31:52 -07:00
Alexandre Poirot
03d9153976 Bug 887809 - Webconsole actor doesn't unregister correctly consoleProgressListener on stopListeners. r=msucan 2013-07-01 09:47:09 -04:00
Mihnea Dobrescu-Balaur
ed37951190 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
68abdee420 Bug 886067 - Netmonitor displays request sizes as "0 KB" after opening Console, r=msucan 2013-06-26 23:35:39 +03:00
Heather Arthur
6f1595f89b Bug 731311 - Network monitor should allow to replay and edit requests; r=vporof 2013-06-26 12:09:59 +03:00
Victor Porof
d89482657a Backed out changeset 5414c83bb989 for having the wrong patch author, r=me 2013-06-26 12:06:07 +03:00
Victor Porof
f0d1376f2f Bug 731311 - Network monitor should allow to replay and edit requests; r=vporof 2013-06-26 09:00:49 +03:00
Mihai Sucan
b8dd40d720 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
0fcd222292 Bug 692829 - Display cached messages from iframes; r=msucan 2013-06-14 11:19:26 -04:00
Nick Fitzgerald
f85da297f0 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
20a5e0947c Merge fx-team to m-c 2013-06-23 19:00:17 +03:00
Mihai Sucan
a8f991cdf2 Bug 883649 - Console freezes when accessing a DeadObject's property; r=past 2013-06-21 20:40:00 +03:00
Dave Camp
021e1a421d 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
adccb547fb Bug 884396 - Add tests for NodeActor.setNodeValue. r=paul
--HG--
extra : rebase_source : 2e60220c3c3021862267e6300a5c54e7489aef57
2013-06-10 21:18:44 -07:00
Dave Camp
9ac0cdec46 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
4118321418 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
d7bdc12d32 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
6a1c8cf0e7 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
54db0275a3 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
8c158aea06 Bug 883600 - Add an isLocal method to the walker. r=paul
--HG--
extra : rebase_source : 62589f32bbf32569b000f5b1557788402cf979e7
2013-06-10 21:18:43 -07:00