From 5df3bd922ad9c10cc894f5a8cf74b7b5f48fa662 Mon Sep 17 00:00:00 2001 From: Bill McCloskey Date: Tue, 21 Feb 2012 17:04:53 -0800 Subject: [PATCH] Bug 728686 - JS_NewPropertyIterator shouldn't disable IGC (r=igor) --- js/src/jsapi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jsapi.cpp b/js/src/jsapi.cpp index 8b9f3a048e7e..1d9243f425ae 100644 --- a/js/src/jsapi.cpp +++ b/js/src/jsapi.cpp @@ -4284,7 +4284,7 @@ prop_iter_trace(JSTracer *trc, JSObject *obj) static Class prop_iter_class = { "PropertyIterator", - JSCLASS_HAS_PRIVATE | JSCLASS_HAS_RESERVED_SLOTS(1), + JSCLASS_HAS_PRIVATE | JSCLASS_IMPLEMENTS_BARRIERS | JSCLASS_HAS_RESERVED_SLOTS(1), JS_PropertyStub, /* addProperty */ JS_PropertyStub, /* delProperty */ JS_PropertyStub, /* getProperty */