Bug 1131803 - Comment fix followup.
authorBoris Zbarsky <bzbarsky@mit.edu>
Thu, 26 Feb 2015 16:33:02 -0500
changeset 231127 dc3c7c5d75a7f56e4eba25acc9bdbd8494639362
parent 231126 f80f5e04611c6c3ebb38934a35033ca5753b0265
child 231128 dcb4cdcbb5c22491035e0974bfd47f79f15056b3
push id28344
push userryanvm@gmail.com
push dateFri, 27 Feb 2015 18:20:08 +0000
treeherdermozilla-central@9dd9d1e5b43c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1131803
milestone39.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
Bug 1131803 - Comment fix followup.
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);
     if (obj) {