Bug 1052093 - Child->parent CPOWs should go through COWs in the parent for security (r=bholley)

This commit is contained in:
Bill McCloskey
2014-08-20 12:49:10 -07:00
parent e183624be1
commit 219eb6cb82
7 changed files with 21 additions and 4 deletions

View File

@@ -55,6 +55,12 @@ JavaScriptParent::trace(JSTracer *trc)
objects_.trace(trc);
}
JSObject *
JavaScriptParent::defaultScope()
{
return xpc::UnprivilegedJunkScope();
}
mozilla::ipc::IProtocol*
JavaScriptParent::CloneProtocol(Channel* aChannel, ProtocolCloneContext* aCtx)
{