Bug 1164011 - interposition for CPOWS. r=billm

This commit is contained in:
Gabor Krizsanits 2015-05-26 11:55:38 +02:00
parent 7301508a23
commit db02cf7508

View File

@ -32,7 +32,8 @@ InterposeProperty(JSContext* cx, HandleObject target, const nsIID* iid, HandleId
if (!mozilla::dom::IsDOMClass(clasp) &&
!IS_WN_CLASS(clasp) &&
!IS_PROTO_CLASS(clasp) &&
clasp != &OuterWindowProxyClass) {
clasp != &OuterWindowProxyClass &&
!jsipc::IsWrappedCPOW(unwrapped)) {
return true;
}