mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
Bug 514073 - [@ XPCIDispatchExtension::Enumerate], r=mrbkap
This commit is contained in:
parent
5077192f39
commit
db8a0cafd4
@ -130,7 +130,11 @@ JSBool XPCIDispatchExtension::Enumerate(XPCCallContext& ccx, JSObject* obj,
|
||||
if(!tearoff)
|
||||
return JS_FALSE;
|
||||
|
||||
if(!tearoff->IsIDispatch())
|
||||
return JS_FALSE;
|
||||
|
||||
XPCDispInterface* pInfo = tearoff->GetIDispatchInfo();
|
||||
|
||||
PRUint32 members = pInfo->GetMemberCount();
|
||||
// Iterate over the members and force the properties to be resolved
|
||||
for(PRUint32 index = 0; index < members; ++index)
|
||||
|
Loading…
Reference in New Issue
Block a user