Backed out changeset b590778549ab (bug 1131803)
authorWes Kocher <wkocher@mozilla.com>
Thu, 26 Feb 2015 23:19:57 -0800
changeset 231116 5dac945cae321bf7da54f6ca830d995fd4758906
parent 231115 7c3cc4f11d38fd6adfc585cf06afb3d092471bdc
child 231117 351ff671a30106a8f4aea581997da1e5af2c44ba
push id56182
push userkwierso@gmail.com
push dateFri, 27 Feb 2015 07:22:33 +0000
treeherdermozilla-inbound@351ff671a301 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1131803
milestone39.0a1
backs outb590778549ab55bb903c38596c291fbf590dab1e
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
Backed out changeset b590778549ab (bug 1131803)
js/xpconnect/src/Sandbox.cpp
--- 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, nullptr);
     if (obj) {