Change-Id: I3bd5610fa9bffcc195bb1c96a5a595061931a20e
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
{
if (!in.isNull() && !in.isUndefined())
in = __qmljs_to_object(in, ctx);
- Object *it = ctx->engine->newForEachIteratorObject(ctx, in.objectValue());
+ Object *it = ctx->engine->newForEachIteratorObject(ctx, in.asObject());
return Value::fromObject(it);
}
S15.1.2.1_A4.3 failing
S15.1.2.1_A4.4 failing
S15.1.2.1_A4.7 failing
-S12.6.4_A2 failing
S12.7_A7 failing
S12.8_A4_T1 failing
S12.8_A4_T2 failing