mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 19:25:43 +00:00
Bug 1131803 comment fix followup. DONTBUILD
This commit is contained in:
parent
8c97b329f6
commit
d19843290b
@ -640,7 +640,7 @@ WrapCallable(JSContext *cx, HandleObject callable, HandleObject sandboxProtoProx
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user