gecko/toolkit/mozapps/installer
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
..
linux/rpm
windows/nsis Bug 883855 - Add "delete" value support to AddHandlerValues and AddDDEHandlerValues. r=bbondy 2013-06-18 23:02:53 +09:00
find-dupes.py
informulate.py bug 839298 - fix json file creation for git users r=ted 2013-02-19 10:24:16 -08:00
l10n-repack.py Bug 846740 - Treat chrome searchplugins as non-chrome when doing l10n-repack. r=gps 2013-03-06 07:28:41 +01:00
package-name.mk Bug 839298 - One True JSON file of build information r=ted 2013-02-15 16:16:02 -08:00
packager.mk Bug 888158 - Make configure to detect Visual Studio 2013 compiler. r=ted 2013-07-03 10:52:32 +09:00
packager.py Bug 888646 - Update missed use of SimpleManifestSink API. r=trivial 2013-06-29 20:15:08 -07:00
precompile_cache.js Bug 889911 - Switch xpcshell to SystemErrorReporter with a little bit of special magic. r=mrbkap 2013-07-16 20:38:44 -07:00
signing.mk
strip.py Bug 812105 - Strip all files that can be stripped in the SDK. r=ted DONTBUILD as NPOTB 2013-03-04 09:23:09 +01:00
unpack.py