[INFER] Fixes for jstests, bug 620599, part 2.

This commit is contained in:
Brian Hackett
2010-12-21 18:26:09 -08:00
parent 225e43dcbb
commit 92e1dc3d0f
17 changed files with 223 additions and 137 deletions

View File

@@ -1524,7 +1524,7 @@ js_InitIteratorClasses(JSContext *cx, JSObject *obj)
if (stop)
return stop;
proto = js_InitClass(cx, obj, NULL, &js_IteratorClass, Iterator, 2, JS_TypeHandlerNew,
proto = js_InitClass(cx, obj, NULL, &js_IteratorClass, Iterator, 2, JS_TypeHandlerDynamic,
NULL, iterator_methods, NULL, NULL);
if (!proto)
return NULL;