JS_HashTableEnumerateEntries(table, js_hash_scope_slot_invalidator, NULL);
extern JS_FRIEND_DATA(JSScopeOps) js_list_scope_ops;JS_STATIC_DLL_CALLBACK(void)js_hash_scope_clear(JSContext *cx, JSScope *scope){    JSHashTable *table = (JSHashTable *) scope->data;    JSScopePrivate *priv;    JS_ASSERT(JS_IS_SCOPE_LOCKED(scope));    priv = (JSScopePrivate *) table->allocPriv;    priv->context = cx;    JS_HashTableDestroy(table);    JS_free(cx, priv);    scope->ops = &js_list_scope_ops;    scope->data = NULL;}