Bug 1017323 - Add-on interposition (r=bholley)
This commit is contained in:
@@ -679,19 +679,6 @@ Trap2(JSContext *cx, HandleObject handler, HandleValue fval, HandleId id, Value
|
||||
return Trap(cx, handler, fval, 2, argv.begin(), rval);
|
||||
}
|
||||
|
||||
static bool
|
||||
ParsePropertyDescriptorObject(JSContext *cx, HandleObject obj, const Value &v,
|
||||
MutableHandle<PropertyDescriptor> desc, bool complete = false)
|
||||
{
|
||||
Rooted<PropDesc> d(cx);
|
||||
if (!d.initialize(cx, v))
|
||||
return false;
|
||||
if (complete)
|
||||
d.complete();
|
||||
d.populatePropertyDescriptor(obj, desc);
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool
|
||||
IndicatePropertyNotFound(MutableHandle<PropertyDescriptor> desc)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user