summaryrefslogtreecommitdiff
path: root/deps/v8/test/message
diff options
context:
space:
mode:
authorAli Ijaz Sheikh <ofrobots@google.com>2016-01-20 09:45:45 -0800
committerAli Ijaz Sheikh <ofrobots@google.com>2016-01-21 16:53:58 -0800
commitef4170ea03a80b21b2d8a65ce432efaa370fe2fa (patch)
treee382b1b38b729cd8155b56b441c3a563914854a3 /deps/v8/test/message
parent5f6dfab832979999d2f806fc1a2f1c11a25b0f35 (diff)
downloadnode-new-ef4170ea03a80b21b2d8a65ce432efaa370fe2fa.tar.gz
deps: upgrade to V8 4.8.271.17
Pick up V8 4.8 branch-head. This branch brings in @@isConcatSpreadable, @@toPrimitive and ToLength ES6 changes. For full details see: http://v8project.blogspot.de/2015/11/v8-release-48.html https://github.com/v8/v8/commit/fa163e2 Ref: https://github.com/nodejs/node/pull/4399 PR-URL: https://github.com/nodejs/node/pull/4785 Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'deps/v8/test/message')
-rw-r--r--deps/v8/test/message/arrow-bare-rest-param.js2
-rw-r--r--deps/v8/test/message/arrow-formal-parameters.js2
-rw-r--r--deps/v8/test/message/arrow-formal-parameters.out2
-rw-r--r--deps/v8/test/message/arrow-missing.js2
-rw-r--r--deps/v8/test/message/arrow-param-after-rest-2.js2
-rw-r--r--deps/v8/test/message/arrow-param-after-rest.js2
-rw-r--r--deps/v8/test/message/arrow-strict-eval-bare-parameter.js2
-rw-r--r--deps/v8/test/message/arrow-strict-eval-bare-parameter.out2
-rw-r--r--deps/v8/test/message/arrow-two-rest-params.js2
-rw-r--r--deps/v8/test/message/const-decl-no-init.js6
-rw-r--r--deps/v8/test/message/const-decl-no-init.out7
-rw-r--r--deps/v8/test/message/const-decl-no-init2.js6
-rw-r--r--deps/v8/test/message/const-decl-no-init2.out7
-rw-r--r--deps/v8/test/message/destructuring-decl-no-init-array.js7
-rw-r--r--deps/v8/test/message/destructuring-decl-no-init-array.out7
-rw-r--r--deps/v8/test/message/destructuring-decl-no-init-array2.js7
-rw-r--r--deps/v8/test/message/destructuring-decl-no-init-array2.out7
-rw-r--r--deps/v8/test/message/destructuring-decl-no-init-obj.js7
-rw-r--r--deps/v8/test/message/destructuring-decl-no-init-obj.out7
-rw-r--r--deps/v8/test/message/destructuring-decl-no-init-obj2.js7
-rw-r--r--deps/v8/test/message/destructuring-decl-no-init-obj2.out7
-rw-r--r--deps/v8/test/message/invalid-spread-2.js2
-rw-r--r--deps/v8/test/message/invalid-spread.js2
-rw-r--r--deps/v8/test/message/let-lexical-name-in-array-prohibited.js7
-rw-r--r--deps/v8/test/message/let-lexical-name-in-array-prohibited.out4
-rw-r--r--deps/v8/test/message/let-lexical-name-in-object-prohibited.js7
-rw-r--r--deps/v8/test/message/let-lexical-name-in-object-prohibited.out4
-rw-r--r--deps/v8/test/message/let-lexical-name-prohibited.js7
-rw-r--r--deps/v8/test/message/let-lexical-name-prohibited.out4
-rw-r--r--deps/v8/test/message/message.gyp26
-rw-r--r--deps/v8/test/message/message.isolate14
-rw-r--r--deps/v8/test/message/new-target-assignment.js2
-rw-r--r--deps/v8/test/message/new-target-assignment.out2
-rw-r--r--deps/v8/test/message/new-target-for-loop.js2
-rw-r--r--deps/v8/test/message/new-target-for-loop.out2
-rw-r--r--deps/v8/test/message/new-target-postfix-op.js2
-rw-r--r--deps/v8/test/message/new-target-postfix-op.out2
-rw-r--r--deps/v8/test/message/new-target-prefix-op.js2
-rw-r--r--deps/v8/test/message/new-target-prefix-op.out2
-rw-r--r--deps/v8/test/message/try-catch-lexical-conflict.js11
-rw-r--r--deps/v8/test/message/try-catch-lexical-conflict.out4
-rw-r--r--deps/v8/test/message/try-catch-variable-conflict.js10
-rw-r--r--deps/v8/test/message/try-catch-variable-conflict.out4
43 files changed, 197 insertions, 25 deletions
diff --git a/deps/v8/test/message/arrow-bare-rest-param.js b/deps/v8/test/message/arrow-bare-rest-param.js
index 9b3916d959..bd5761f4e8 100644
--- a/deps/v8/test/message/arrow-bare-rest-param.js
+++ b/deps/v8/test/message/arrow-bare-rest-param.js
@@ -2,6 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// Flags: --harmony-rest-parameters --harmony-arrow-functions
+// Flags: --harmony-rest-parameters
...x => 10
diff --git a/deps/v8/test/message/arrow-formal-parameters.js b/deps/v8/test/message/arrow-formal-parameters.js
index edc0c58053..30f9c86048 100644
--- a/deps/v8/test/message/arrow-formal-parameters.js
+++ b/deps/v8/test/message/arrow-formal-parameters.js
@@ -2,6 +2,4 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --harmony-arrow-functions
-
(b, a, a, d) => a
diff --git a/deps/v8/test/message/arrow-formal-parameters.out b/deps/v8/test/message/arrow-formal-parameters.out
index ee918493f5..bafcf452e3 100644
--- a/deps/v8/test/message/arrow-formal-parameters.out
+++ b/deps/v8/test/message/arrow-formal-parameters.out
@@ -1,4 +1,4 @@
-*%(basename)s:7: SyntaxError: Duplicate parameter name not allowed in this context
+*%(basename)s:5: SyntaxError: Duplicate parameter name not allowed in this context
(b, a, a, d) => a
^
SyntaxError: Duplicate parameter name not allowed in this context
diff --git a/deps/v8/test/message/arrow-missing.js b/deps/v8/test/message/arrow-missing.js
index 566345a460..c78bef9cd6 100644
--- a/deps/v8/test/message/arrow-missing.js
+++ b/deps/v8/test/message/arrow-missing.js
@@ -2,6 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// Flags: --harmony-rest-parameters --harmony-arrow-functions
+// Flags: --harmony-rest-parameters
function foo() { return(); }
diff --git a/deps/v8/test/message/arrow-param-after-rest-2.js b/deps/v8/test/message/arrow-param-after-rest-2.js
index 3b42f19247..c01cec8ad4 100644
--- a/deps/v8/test/message/arrow-param-after-rest-2.js
+++ b/deps/v8/test/message/arrow-param-after-rest-2.js
@@ -2,6 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// Flags: --harmony-rest-parameters --harmony-arrow-functions
+// Flags: --harmony-rest-parameters
(w, ...x, y) => 10
diff --git a/deps/v8/test/message/arrow-param-after-rest.js b/deps/v8/test/message/arrow-param-after-rest.js
index 0fade6c31d..3284606a4e 100644
--- a/deps/v8/test/message/arrow-param-after-rest.js
+++ b/deps/v8/test/message/arrow-param-after-rest.js
@@ -2,6 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// Flags: --harmony-rest-parameters --harmony-arrow-functions
+// Flags: --harmony-rest-parameters
(...x, y) => 10
diff --git a/deps/v8/test/message/arrow-strict-eval-bare-parameter.js b/deps/v8/test/message/arrow-strict-eval-bare-parameter.js
index d5692517dd..3cc8254f05 100644
--- a/deps/v8/test/message/arrow-strict-eval-bare-parameter.js
+++ b/deps/v8/test/message/arrow-strict-eval-bare-parameter.js
@@ -1,8 +1,6 @@
// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-//
-// Flags: --harmony-arrow-functions
"use strict";
eval => 42
diff --git a/deps/v8/test/message/arrow-strict-eval-bare-parameter.out b/deps/v8/test/message/arrow-strict-eval-bare-parameter.out
index 0eb8f8841f..e2230a1bb2 100644
--- a/deps/v8/test/message/arrow-strict-eval-bare-parameter.out
+++ b/deps/v8/test/message/arrow-strict-eval-bare-parameter.out
@@ -1,4 +1,4 @@
-*%(basename)s:8: SyntaxError: Unexpected eval or arguments in strict mode
+*%(basename)s:6: SyntaxError: Unexpected eval or arguments in strict mode
eval => 42
^^^^
SyntaxError: Unexpected eval or arguments in strict mode
diff --git a/deps/v8/test/message/arrow-two-rest-params.js b/deps/v8/test/message/arrow-two-rest-params.js
index 345545ccdf..44eb47e5f6 100644
--- a/deps/v8/test/message/arrow-two-rest-params.js
+++ b/deps/v8/test/message/arrow-two-rest-params.js
@@ -2,6 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// Flags: --harmony-rest-parameters --harmony-arrow-functions
+// Flags: --harmony-rest-parameters
(w, ...x, ...y) => 10
diff --git a/deps/v8/test/message/const-decl-no-init.js b/deps/v8/test/message/const-decl-no-init.js
new file mode 100644
index 0000000000..7a47a1319a
--- /dev/null
+++ b/deps/v8/test/message/const-decl-no-init.js
@@ -0,0 +1,6 @@
+// Copyright 2015 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+'use strict';
+const a;
diff --git a/deps/v8/test/message/const-decl-no-init.out b/deps/v8/test/message/const-decl-no-init.out
new file mode 100644
index 0000000000..42f1219b3c
--- /dev/null
+++ b/deps/v8/test/message/const-decl-no-init.out
@@ -0,0 +1,7 @@
+# Copyright 2015 the V8 project authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+*%(basename)s:6: SyntaxError: Missing initializer in const declaration
+const a;
+ ^
+SyntaxError: Missing initializer in const declaration
diff --git a/deps/v8/test/message/const-decl-no-init2.js b/deps/v8/test/message/const-decl-no-init2.js
new file mode 100644
index 0000000000..586b783d64
--- /dev/null
+++ b/deps/v8/test/message/const-decl-no-init2.js
@@ -0,0 +1,6 @@
+// Copyright 2015 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+'use strict';
+for (const a; ;) {}
diff --git a/deps/v8/test/message/const-decl-no-init2.out b/deps/v8/test/message/const-decl-no-init2.out
new file mode 100644
index 0000000000..2f61cedb16
--- /dev/null
+++ b/deps/v8/test/message/const-decl-no-init2.out
@@ -0,0 +1,7 @@
+# Copyright 2015 the V8 project authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+*%(basename)s:6: SyntaxError: Missing initializer in const declaration
+for (const a; ;) {}
+ ^
+SyntaxError: Missing initializer in const declaration
diff --git a/deps/v8/test/message/destructuring-decl-no-init-array.js b/deps/v8/test/message/destructuring-decl-no-init-array.js
new file mode 100644
index 0000000000..7a4fb00f59
--- /dev/null
+++ b/deps/v8/test/message/destructuring-decl-no-init-array.js
@@ -0,0 +1,7 @@
+// Copyright 2015 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+// Flags: --harmony-destructuring
+
+var [ a, b, c ];
diff --git a/deps/v8/test/message/destructuring-decl-no-init-array.out b/deps/v8/test/message/destructuring-decl-no-init-array.out
new file mode 100644
index 0000000000..888656b490
--- /dev/null
+++ b/deps/v8/test/message/destructuring-decl-no-init-array.out
@@ -0,0 +1,7 @@
+# Copyright 2015 the V8 project authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+*%(basename)s:7: SyntaxError: Missing initializer in destructuring declaration
+var [ a, b, c ];
+ ^^^^^^^^^^^
+SyntaxError: Missing initializer in destructuring declaration
diff --git a/deps/v8/test/message/destructuring-decl-no-init-array2.js b/deps/v8/test/message/destructuring-decl-no-init-array2.js
new file mode 100644
index 0000000000..2e0ded342f
--- /dev/null
+++ b/deps/v8/test/message/destructuring-decl-no-init-array2.js
@@ -0,0 +1,7 @@
+// Copyright 2015 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+// Flags: --harmony-destructuring
+
+for (var [ a ]; a; ) {}
diff --git a/deps/v8/test/message/destructuring-decl-no-init-array2.out b/deps/v8/test/message/destructuring-decl-no-init-array2.out
new file mode 100644
index 0000000000..d3b32b5d3a
--- /dev/null
+++ b/deps/v8/test/message/destructuring-decl-no-init-array2.out
@@ -0,0 +1,7 @@
+# Copyright 2015 the V8 project authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+*%(basename)s:7: SyntaxError: Missing initializer in destructuring declaration
+for (var [ a ]; a; ) {}
+ ^^^^^
+SyntaxError: Missing initializer in destructuring declaration
diff --git a/deps/v8/test/message/destructuring-decl-no-init-obj.js b/deps/v8/test/message/destructuring-decl-no-init-obj.js
new file mode 100644
index 0000000000..f73e0b7f62
--- /dev/null
+++ b/deps/v8/test/message/destructuring-decl-no-init-obj.js
@@ -0,0 +1,7 @@
+// Copyright 2015 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+// Flags: --harmony-destructuring
+
+var { a, b, c };
diff --git a/deps/v8/test/message/destructuring-decl-no-init-obj.out b/deps/v8/test/message/destructuring-decl-no-init-obj.out
new file mode 100644
index 0000000000..cb94b58a32
--- /dev/null
+++ b/deps/v8/test/message/destructuring-decl-no-init-obj.out
@@ -0,0 +1,7 @@
+# Copyright 2015 the V8 project authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+*%(basename)s:7: SyntaxError: Missing initializer in destructuring declaration
+var { a, b, c };
+ ^^^^^^^^^^^
+SyntaxError: Missing initializer in destructuring declaration
diff --git a/deps/v8/test/message/destructuring-decl-no-init-obj2.js b/deps/v8/test/message/destructuring-decl-no-init-obj2.js
new file mode 100644
index 0000000000..928434acf5
--- /dev/null
+++ b/deps/v8/test/message/destructuring-decl-no-init-obj2.js
@@ -0,0 +1,7 @@
+// Copyright 2015 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+// Flags: --harmony-destructuring
+
+for (var { a, b, c }; a && b && c; ) {}
diff --git a/deps/v8/test/message/destructuring-decl-no-init-obj2.out b/deps/v8/test/message/destructuring-decl-no-init-obj2.out
new file mode 100644
index 0000000000..2b4054ac37
--- /dev/null
+++ b/deps/v8/test/message/destructuring-decl-no-init-obj2.out
@@ -0,0 +1,7 @@
+# Copyright 2015 the V8 project authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+*%(basename)s:7: SyntaxError: Missing initializer in destructuring declaration
+for (var { a, b, c }; a && b && c; ) {}
+ ^^^^^^^^^^^
+SyntaxError: Missing initializer in destructuring declaration
diff --git a/deps/v8/test/message/invalid-spread-2.js b/deps/v8/test/message/invalid-spread-2.js
index 67e0f7d7c0..60635fe38c 100644
--- a/deps/v8/test/message/invalid-spread-2.js
+++ b/deps/v8/test/message/invalid-spread-2.js
@@ -2,6 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// Flags: --harmony-rest-parameters --harmony-arrow-functions
+// Flags: --harmony-rest-parameters
(x, ...y, z)
diff --git a/deps/v8/test/message/invalid-spread.js b/deps/v8/test/message/invalid-spread.js
index e58334e993..bf051fe692 100644
--- a/deps/v8/test/message/invalid-spread.js
+++ b/deps/v8/test/message/invalid-spread.js
@@ -2,6 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// Flags: --harmony-rest-parameters --harmony-arrow-functions
+// Flags: --harmony-rest-parameters
(x, ...y)
diff --git a/deps/v8/test/message/let-lexical-name-in-array-prohibited.js b/deps/v8/test/message/let-lexical-name-in-array-prohibited.js
new file mode 100644
index 0000000000..1df487a578
--- /dev/null
+++ b/deps/v8/test/message/let-lexical-name-in-array-prohibited.js
@@ -0,0 +1,7 @@
+// Copyright 2015 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+// Flags: --harmony-sloppy --harmony-sloppy-let --harmony-destructuring
+
+let [let];
diff --git a/deps/v8/test/message/let-lexical-name-in-array-prohibited.out b/deps/v8/test/message/let-lexical-name-in-array-prohibited.out
new file mode 100644
index 0000000000..e6a53dcd17
--- /dev/null
+++ b/deps/v8/test/message/let-lexical-name-in-array-prohibited.out
@@ -0,0 +1,4 @@
+*%(basename)s:7: SyntaxError: let is disallowed as a lexically bound name
+let [let];
+ ^^^
+SyntaxError: let is disallowed as a lexically bound name
diff --git a/deps/v8/test/message/let-lexical-name-in-object-prohibited.js b/deps/v8/test/message/let-lexical-name-in-object-prohibited.js
new file mode 100644
index 0000000000..e4027a0b32
--- /dev/null
+++ b/deps/v8/test/message/let-lexical-name-in-object-prohibited.js
@@ -0,0 +1,7 @@
+// Copyright 2015 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+// Flags: --harmony-sloppy --harmony-sloppy-let --harmony-destructuring
+
+let {let};
diff --git a/deps/v8/test/message/let-lexical-name-in-object-prohibited.out b/deps/v8/test/message/let-lexical-name-in-object-prohibited.out
new file mode 100644
index 0000000000..a1458f9899
--- /dev/null
+++ b/deps/v8/test/message/let-lexical-name-in-object-prohibited.out
@@ -0,0 +1,4 @@
+*%(basename)s:7: SyntaxError: let is disallowed as a lexically bound name
+let {let};
+ ^^^
+SyntaxError: let is disallowed as a lexically bound name
diff --git a/deps/v8/test/message/let-lexical-name-prohibited.js b/deps/v8/test/message/let-lexical-name-prohibited.js
new file mode 100644
index 0000000000..ed72faed8e
--- /dev/null
+++ b/deps/v8/test/message/let-lexical-name-prohibited.js
@@ -0,0 +1,7 @@
+// Copyright 2015 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+// Flags: --harmony-sloppy --harmony-sloppy-let
+
+let let;
diff --git a/deps/v8/test/message/let-lexical-name-prohibited.out b/deps/v8/test/message/let-lexical-name-prohibited.out
new file mode 100644
index 0000000000..fe423dcd77
--- /dev/null
+++ b/deps/v8/test/message/let-lexical-name-prohibited.out
@@ -0,0 +1,4 @@
+*%(basename)s:7: SyntaxError: let is disallowed as a lexically bound name
+let let;
+ ^^^
+SyntaxError: let is disallowed as a lexically bound name
diff --git a/deps/v8/test/message/message.gyp b/deps/v8/test/message/message.gyp
new file mode 100644
index 0000000000..dac6d9ffff
--- /dev/null
+++ b/deps/v8/test/message/message.gyp
@@ -0,0 +1,26 @@
+# Copyright 2015 the V8 project authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'conditions': [
+ ['test_isolation_mode != "noop"', {
+ 'targets': [
+ {
+ 'target_name': 'message_run',
+ 'type': 'none',
+ 'dependencies': [
+ '../../src/d8.gyp:d8_run',
+ ],
+ 'includes': [
+ '../../build/features.gypi',
+ '../../build/isolate.gypi',
+ ],
+ 'sources': [
+ 'message.isolate',
+ ],
+ },
+ ],
+ }],
+ ],
+}
diff --git a/deps/v8/test/message/message.isolate b/deps/v8/test/message/message.isolate
new file mode 100644
index 0000000000..dbeca5e55c
--- /dev/null
+++ b/deps/v8/test/message/message.isolate
@@ -0,0 +1,14 @@
+# Copyright 2015 the V8 project authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+{
+ 'variables': {
+ 'files': [
+ './',
+ ],
+ },
+ 'includes': [
+ '../../src/d8.isolate',
+ '../../tools/testrunner/testrunner.isolate',
+ ],
+} \ No newline at end of file
diff --git a/deps/v8/test/message/new-target-assignment.js b/deps/v8/test/message/new-target-assignment.js
index f257d1a5b5..72845654d8 100644
--- a/deps/v8/test/message/new-target-assignment.js
+++ b/deps/v8/test/message/new-target-assignment.js
@@ -1,7 +1,5 @@
// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-//
-// Flags: --harmony-new-target
function f() { new.target = 5 }
diff --git a/deps/v8/test/message/new-target-assignment.out b/deps/v8/test/message/new-target-assignment.out
index 5431bd0fc0..bc1492ca92 100644
--- a/deps/v8/test/message/new-target-assignment.out
+++ b/deps/v8/test/message/new-target-assignment.out
@@ -1,4 +1,4 @@
-*%(basename)s:7: ReferenceError: Invalid left-hand side in assignment
+*%(basename)s:5: ReferenceError: Invalid left-hand side in assignment
function f() { new.target = 5 }
^^^^^^^^^^
ReferenceError: Invalid left-hand side in assignment
diff --git a/deps/v8/test/message/new-target-for-loop.js b/deps/v8/test/message/new-target-for-loop.js
index 76a8eecba2..40ca6e483a 100644
--- a/deps/v8/test/message/new-target-for-loop.js
+++ b/deps/v8/test/message/new-target-for-loop.js
@@ -1,7 +1,5 @@
// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-//
-// Flags: --harmony-new-target
function f() { for (new.target in {}); }
diff --git a/deps/v8/test/message/new-target-for-loop.out b/deps/v8/test/message/new-target-for-loop.out
index 342b1315e9..4c1a0c638c 100644
--- a/deps/v8/test/message/new-target-for-loop.out
+++ b/deps/v8/test/message/new-target-for-loop.out
@@ -1,4 +1,4 @@
-*%(basename)s:7: SyntaxError: Invalid left-hand side in for-loop
+*%(basename)s:5: SyntaxError: Invalid left-hand side in for-loop
function f() { for (new.target in {}); }
^^^^^^^^^^
SyntaxError: Invalid left-hand side in for-loop
diff --git a/deps/v8/test/message/new-target-postfix-op.js b/deps/v8/test/message/new-target-postfix-op.js
index 573f3ae3a7..4135f15044 100644
--- a/deps/v8/test/message/new-target-postfix-op.js
+++ b/deps/v8/test/message/new-target-postfix-op.js
@@ -1,7 +1,5 @@
// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-//
-// Flags: --harmony-new-target
function f() { new.target++ }
diff --git a/deps/v8/test/message/new-target-postfix-op.out b/deps/v8/test/message/new-target-postfix-op.out
index 17f2081ed6..1e8ef6be21 100644
--- a/deps/v8/test/message/new-target-postfix-op.out
+++ b/deps/v8/test/message/new-target-postfix-op.out
@@ -1,4 +1,4 @@
-*%(basename)s:7: ReferenceError: Invalid left-hand side expression in postfix operation
+*%(basename)s:5: ReferenceError: Invalid left-hand side expression in postfix operation
function f() { new.target++ }
^^^^^^^^^^
ReferenceError: Invalid left-hand side expression in postfix operation
diff --git a/deps/v8/test/message/new-target-prefix-op.js b/deps/v8/test/message/new-target-prefix-op.js
index ad2f98a46c..e463ae3cdd 100644
--- a/deps/v8/test/message/new-target-prefix-op.js
+++ b/deps/v8/test/message/new-target-prefix-op.js
@@ -1,7 +1,5 @@
// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-//
-// Flags: --harmony-new-target
function f() { ++new.target }
diff --git a/deps/v8/test/message/new-target-prefix-op.out b/deps/v8/test/message/new-target-prefix-op.out
index 19c847f23e..a444087ec9 100644
--- a/deps/v8/test/message/new-target-prefix-op.out
+++ b/deps/v8/test/message/new-target-prefix-op.out
@@ -1,4 +1,4 @@
-*%(basename)s:7: ReferenceError: Invalid left-hand side expression in prefix operation
+*%(basename)s:5: ReferenceError: Invalid left-hand side expression in prefix operation
function f() { ++new.target }
^^^^^^^^^^
ReferenceError: Invalid left-hand side expression in prefix operation
diff --git a/deps/v8/test/message/try-catch-lexical-conflict.js b/deps/v8/test/message/try-catch-lexical-conflict.js
new file mode 100644
index 0000000000..efb1ec7e01
--- /dev/null
+++ b/deps/v8/test/message/try-catch-lexical-conflict.js
@@ -0,0 +1,11 @@
+// Copyright 2015 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+// Flags: --harmony-destructuring
+
+"use strict";
+try {
+} catch ({x}) {
+ let x;
+}
diff --git a/deps/v8/test/message/try-catch-lexical-conflict.out b/deps/v8/test/message/try-catch-lexical-conflict.out
new file mode 100644
index 0000000000..9dc1b54fd5
--- /dev/null
+++ b/deps/v8/test/message/try-catch-lexical-conflict.out
@@ -0,0 +1,4 @@
+*%(basename)s:10: SyntaxError: Identifier 'x' has already been declared
+ let x;
+ ^
+SyntaxError: Identifier 'x' has already been declared
diff --git a/deps/v8/test/message/try-catch-variable-conflict.js b/deps/v8/test/message/try-catch-variable-conflict.js
new file mode 100644
index 0000000000..9b0749b28c
--- /dev/null
+++ b/deps/v8/test/message/try-catch-variable-conflict.js
@@ -0,0 +1,10 @@
+// Copyright 2015 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+// Flags: --harmony-destructuring
+
+try {
+} catch ({x}) {
+ var x;
+}
diff --git a/deps/v8/test/message/try-catch-variable-conflict.out b/deps/v8/test/message/try-catch-variable-conflict.out
new file mode 100644
index 0000000000..c7fb8de510
--- /dev/null
+++ b/deps/v8/test/message/try-catch-variable-conflict.out
@@ -0,0 +1,4 @@
+*%(basename)s:9: SyntaxError: Identifier 'x' has already been declared
+ var x;
+ ^
+SyntaxError: Identifier 'x' has already been declared