mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
Fix 354924, r=igor.
This commit is contained in:
parent
7e803d9c5e
commit
26aa9c96bd
@ -1730,7 +1730,9 @@ ImportProperty(JSContext *cx, JSObject *obj, jsid id)
|
||||
ok = OBJ_SET_PROPERTY(cx, target, id, &value);
|
||||
} else {
|
||||
ok = OBJ_DEFINE_PROPERTY(cx, target, id, value, NULL, NULL,
|
||||
attrs & ~JSPROP_EXPORTED,
|
||||
attrs & ~(JSPROP_EXPORTED |
|
||||
JSPROP_GETTER |
|
||||
JSPROP_SETTER),
|
||||
NULL);
|
||||
}
|
||||
if (prop)
|
||||
|
Loading…
Reference in New Issue
Block a user