summaryrefslogtreecommitdiff
path: root/test/built-ins/Function/15.3.5.4_2-10gs.js
diff options
context:
space:
mode:
authorAndré Bargull <andre.bargull@gmail.com>2015-07-17 17:31:26 +0200
committerAndré Bargull <andre.bargull@gmail.com>2015-07-17 17:31:26 +0200
commit85b248844dc8d96df16e7b307dba450b013cbc40 (patch)
treeea8139b74d5d4d161898264460300aed3c655cb1 /test/built-ins/Function/15.3.5.4_2-10gs.js
parentada5db75697ebdbe58f4dbd105275c97509c233f (diff)
downloadqtdeclarative-testsuites-85b248844dc8d96df16e7b307dba450b013cbc40.tar.gz
Fix test regressions
- Add missing 'negative: ReferenceError' in S7.9_A5.7_T1 - Remove stale 'negative: ReferenceError' in block-local-closure-get-before-initialization - Remove all tail-call expressions in test/built-ins/Function - And update code in test/built-ins/Function to simply use 'f()' instead of 'var r = f(); return r' Fixes #383
Diffstat (limited to 'test/built-ins/Function/15.3.5.4_2-10gs.js')
-rw-r--r--test/built-ins/Function/15.3.5.4_2-10gs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/built-ins/Function/15.3.5.4_2-10gs.js b/test/built-ins/Function/15.3.5.4_2-10gs.js
index 54774c878..9ca1821c9 100644
--- a/test/built-ins/Function/15.3.5.4_2-10gs.js
+++ b/test/built-ins/Function/15.3.5.4_2-10gs.js
@@ -13,7 +13,7 @@ description: >
flags: [noStrict]
---*/
-var f = new Function("\"use strict\";\nreturn gNonStrict();");
+var f = new Function("\"use strict\";\ngNonStrict();");
assert.throws(TypeError, function() {
f();