mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 990787, part 2 - Don't call markUnknown again after GetProperty fails; once is enough. r=jandem.
--HG-- extra : rebase_source : e7776f6f054b5dc85339091497d65be7354afd38
This commit is contained in:
parent
a8094a4eac
commit
75a0abc102
@ -375,7 +375,7 @@ EnsureTrackPropertyTypes(JSContext *cx, JSObject *obj, jsid id)
|
||||
return;
|
||||
}
|
||||
if (!obj->type()->unknownProperties() && !obj->type()->getProperty(cx, id)) {
|
||||
obj->type()->markUnknown(cx);
|
||||
MOZ_ASSERT(obj->type()->unknownProperties());
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user