Bug 577375 - Make CPOWs handle all-properties enumeration correctly. r=gal

This commit is contained in:
Jeff Walden 2010-07-07 15:11:17 -07:00
parent cbca95f74c
commit 3898c7eeb0

View File

@ -566,6 +566,7 @@ ObjectWrapperParent::CPOW_NewEnumerate(JSContext *cx, JSObject *obj,
switch (enum_op) {
case JSENUMERATE_INIT:
case JSENUMERATE_INIT_ALL:
self->Manager()->RequestRunToCompletion();
return self->NewEnumerateInit(cx, statep, idp);
case JSENUMERATE_NEXT: