☠☠ backed out by 5dac945cae32 ☠ ☠ | |
author | Boris Zbarsky <bzbarsky@mit.edu> |
Thu, 26 Feb 2015 16:33:02 -0500 | |
changeset 231092 | b590778549ab55bb903c38596c291fbf590dab1e |
parent 231091 | b1f4b4120e21d33abf0ec5b6b57fa4c4ce9eb8fe |
child 231093 | a9248b3d5c1f1be63b8f8377dc30a1c3db537c80 |
push id | 28344 |
push user | ryanvm@gmail.com |
push date | Fri, 27 Feb 2015 18:20:08 +0000 |
treeherder | mozilla-central@9dd9d1e5b43c [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 1131803 |
milestone | 39.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/js/xpconnect/src/Sandbox.cpp +++ b/js/xpconnect/src/Sandbox.cpp @@ -635,17 +635,17 @@ const xpc::SandboxCallableProxyHandler x * "this" we will instead call it with newThisObj as the this. */ static JSObject* WrapCallable(JSContext *cx, HandleObject callable, HandleObject sandboxProtoProxy) { MOZ_ASSERT(JS::IsCallable(callable)); // Our proxy is wrapping the callable. So we need to use the // callable as the private. We put the given sandboxProtoProxy in - // an extra slot,, and our call() hook depends on that. + // an extra slot, and our call() hook depends on that. MOZ_ASSERT(js::IsProxy(sandboxProtoProxy) && js::GetProxyHandler(sandboxProtoProxy) == &xpc::sandboxProxyHandler); RootedValue priv(cx, ObjectValue(*callable)); JSObject *obj = js::NewProxyObject(cx, &xpc::sandboxCallableProxyHandler, priv, nullptr); if (obj) {