Bug 1215167 - Forbid unsafe browser CPOWs (disabled by default for now) (r=mrbkap)

This commit is contained in:
Bill McCloskey
2015-10-23 16:31:54 -07:00
parent 3019e8045b
commit 7953e46b07
12 changed files with 107 additions and 32 deletions

View File

@@ -25,6 +25,8 @@ class JavaScriptChild : public JavaScriptBase<PJavaScriptChild>
void drop(JSObject* obj);
bool allowMessage(JSContext* cx) override { return true; }
protected:
virtual bool isParent() override { return false; }
virtual JSObject* scopeForTargetObjects() override;