Bug 821955 r=longsonr

--HG--
rename : content/svg/content/src/DOMSVGPoint.cpp => content/svg/content/nsISVGPoint.cpp
rename : content/svg/content/src/DOMSVGPoint.cpp => content/svg/content/src/nsISVGPoint.cpp
Bug 831100 - use std::string. r=vladan.
Bug 831133 - Record only the basename. r=vladan.
Bug 828558 - Don't attach to jsconsole window, r=mdas
Bug 829881 - Part 2: Re-enable pre-processing of about:telemetry; r=tchevalier
Merge mozilla-central into services-central
Merge m-c to fx-team
Bug 805338 - Use http://127.0.0.1:1/ as a reliable error page for testing r=jaws
Bug 829598 - Make js/src/jit-test/tests/gc/bug-820186.js a slow test. r=jandem, DONTBUILD
Bug 825395 - Add debug checking for interleaved nsCxPusher and JSAutoEnterCompartment. r=bz,luke
Bug 824864 - Implement nsContentUtils::GetObjectPrincipal. r=bz

The SSM interface is super awkward.
Bug 824864 - Hoist the guts of CompileFunction into nsJSUtils. r=bz
Bug 824864 - Move consumers of CompileFunction to the nsJSUtils version, and kill the nsJSContext version. r=bz

Note that the three consumers were all XBL, and were all passing aShared = true,
which had the effect of passing null for the target object. So we actually want
to pass JS::NullPtr() (the HandleObject version of nullptr) instead of
aClassObject in order to maintain the old behavior (whatever that is).
Bug 824864 - Improve the API for EvaluateStringWithValue. r=bz

There are a few changes we make here:
1 - Having callers pass JS::CompileOptions directly.
2 - Removing aUndefined, which makes no sense and is unused by consumers.
3 - Making aScopeObject and aRetValue non-optional, via references.
3 - Adding an argument to optionally coerce the return value to a string.

Coercing jsvals to strings is the reason we currently have two nearly-identical
functions, EvaluateString and EvaluateStringWithValue, since the coercion can
trigger arbitrary script and thus needs to be bracketed by all the junk that
nsJSContext does. However, if callers can be guaranteed that the return value
will be a bonafide string, then they can easily extract the string themselves
if they so desire. This will allow us to combine the two functions.
Bug 824864 - Move existing consumers of EvaluateString over to EvaluateStringWithValue. r=bz
Bug 824864 - Remove nsIScriptContext::EvaluateString. r=bz
Bug 824864 - Remove unused optional arguments from nsIScriptContext::ExecuteScript. r=bz

This lets us get rid of a bunch of junk.
Bug 824864 - Rename EvaluateStringWithValue to EvaluateString. r=bz

Now that there's only one of them, we can get rid of the silly suffix. \o/
Bug 824864 - Use an nsCxPusher in EvaluateString, and pull the principal off the target object. r=bz

This simplifies a lot of code, and makes the function scope-agnostic.
Bug 824864 - Move responsibility for checking for JSVERSION_UNKNOWN to the one caller of EvaluateString that might pass it. r=bz