gecko/toolkit
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
..
components Bug 870104 - Add telemetry to BackgroundPageThumbs. r=markh,froydnj 2013-07-12 21:03:18 -07:00
content Backed out changeset ee7d34a58f11 (bug 886173) for mochitest 1 failures in test_playback_rate.html 2013-07-11 15:31:52 +01:00
crashreporter bug 880773: Cleanup/final patch - remove DISABLED_SSRCS. r=mshal 2013-07-16 08:47:40 -04:00
devtools Bug 889911 - Switch xpcshell to SystemErrorReporter with a little bit of special magic. r=mrbkap 2013-07-16 18:04:49 -07:00
forgetaboutsite Bug 887012 - Remove some emptyish makefiles; r=gps 2013-07-01 09:02:32 +02:00
identity bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
library Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium 2013-07-12 08:56:54 -04:00
locales Bug 837862: Remove the MOZ_PSM build option, r=gps 2013-07-01 18:35:20 -07:00
modules Unit test for Bug 893316 - Http.jsm doesn't listen to method option parameter. r=Mossop 2013-07-15 09:26:55 +02:00
mozapps Bug 889911 - Switch xpcshell to SystemErrorReporter with a little bit of special magic. r=mrbkap 2013-07-16 18:04:49 -07:00
obsolete
profile Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium 2013-07-12 08:56:54 -04:00
system bug 870407: cleanup bug. r=mshal 2013-07-08 11:53:00 -04:00
themes Bug 855998 - Use Aero styling for hover and selected items in UI. r=dao, r=jaws, ui-r=shorlander 2013-07-15 20:36:26 +02:00
webapps bug 889092 - Update category names to keep them in sync with Marketplace; r=myk 2013-07-03 16:14:34 -07:00
xre Backout e6bda3437a7c for OSX bustage. 2013-07-12 15:08:33 -07:00
Makefile.in
moz.build Bug 877626 - Port GTK2 to GTK3 - build config - xpcom, toolkit, accessible, xulrunner dirs. r=ted, r=karlt 2013-06-10 08:36:26 -04:00
toolkit.mozbuild Bug 837862: Remove the MOZ_PSM build option, r=gps 2013-07-01 18:35:20 -07:00