From d338d1ef4249602d3df8facb927d46af029703b8 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Tue, 11 Jun 2013 15:47:17 +0200 Subject: [PATCH] Regression: Fix various failures in test262 The stack property added to Error objects must not be enumerable. Change-Id: Ie163cff2d9c41997e95afa6dd32275be6b4b310d Reviewed-by: Lars Knoll --- src/qml/qml/v4/qv4errorobject_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/qml/v4/qv4errorobject_p.h b/src/qml/qml/v4/qv4errorobject_p.h index 613c054..eecda5d 100644 --- a/src/qml/qml/v4/qv4errorobject_p.h +++ b/src/qml/qml/v4/qv4errorobject_p.h @@ -69,7 +69,7 @@ struct QV4_JS_CLASS(ErrorObject): Object { ExecutionEngine::StackTrace stackTrace; Value stack; - static Value method_get_stack(SimpleCallContext *ctx); + static Value method_get_stack(SimpleCallContext *ctx) QV4_ANNOTATE(attributes QV4::Attr_NotEnumerable); }; struct EvalErrorObject: ErrorObject { -- 2.7.4