Bug 889911 - Introduce xpc::SystemErrorReporter, roughly based on mozJSComponentLoader's error reporter. r=mrbkap
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.
Bug 889714 - Removed unused ShouldReportWarnings and ShouldCompoleOnly [sic] machinery. r=mrbkap

lol @ 'ShouldCompoleOnly'.
Bug 889714 - Remove unused ExitCode machinery. r=mrbkap

This stuff is cribbed from xpcshell, where it makes sense. But it doens't really
make sense in the IPC context, and doesn't appear to be used either.
Bug 889714 - Reduce the number of places where we pull |env| off cx. r=mrbkap
Bug 889714 - Stash the XPCShellEnvironment instance on the global, rather than the cx. r=mrbkap

We need to stash it somewhere, because the shell-provided JSNatives need to
access it. This solution only works for script running in the scope of the
global we create. Butthat's fine here, because we only use it for load() and
quit(), which only exist in the scope of that global.
Bug 889714 - Stop manually holding onto system JSPrincipals. r=mrbkap
Bug 889714 - Use SystemErrorReporter instead of ScriptErrorReporter. r=mrbkap

SystemErrorReporter is the new unified error reporter for everything non-dom.
In particular, it's used by the SafeJSContext, which we'll be switching to
here shortly.
Bug 889714 - Use the SafeJSContext in XPCShellEnvironment. r=mrbkap
Bug 889714 - Remove ContextCallback junk. r=mrbkap

There's no reason we should be doing this.
Bug 867543 - Part 1 - Generalize appbar css, make sprites more robust, move into platform. r=mbrubeck

--HG--
extra : rebase_source : d12d41611423782497c03ceb05bd8b40afd1b921
Bug 867543 - Part 2 - Add static labels. r=mbrubeck

--HG--
extra : rebase_source : bc7b5b58ecc667982160e325b99a45eb2cd9fd2a
Bug 867543 - Part 3 - Dynamically update and pluralize the labels with all of the correct nouns attached. r=mbrubeck

--HG--
extra : rebase_source : b83293bfc40a12983a44e04295380d127c8b7227
Bug 878607 - Backout aeb89583349d (bug 887814) for breaking bootstrap on MacPorts; r=jwatt

DONTBUILD (NPOTB)
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)
Merge inbound to m-c
Merge m-c to inbound
Backout 399362c3e135 (bug 894669) for bustage
Bug 892094 - Create "Search" page in settings. r=liuche

--HG--
rename : mobile/android/base/resources/xml/preferences_customize.xml => mobile/android/base/resources/xml-v11/preferences_customize.xml
rename : mobile/android/base/resources/xml/preferences_customize.xml => mobile/android/base/resources/xml/preferences_customize.xml.in
Bug 894148 - Implement MediaResource::ReadAt for threadsafe seek+read - r=cpearce