aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/test/message
diff options
context:
space:
mode:
authorAli Ijaz Sheikh <ofrobots@google.com>2015-08-23 06:09:40 -0700
committerRod Vagg <rod@vagg.org>2015-09-06 21:38:01 +1000
commit9fddd83cf9adf505bce2e2373881df0c4d41b261 (patch)
tree4272ce14c10fea496af2e78fc6debb187d613451 /deps/v8/test/message
parent46b7d151674d138e7ea4342d5f3ada1208b87ff2 (diff)
downloadandroid-node-v8-9fddd83cf9adf505bce2e2373881df0c4d41b261.tar.gz
android-node-v8-9fddd83cf9adf505bce2e2373881df0c4d41b261.tar.bz2
android-node-v8-9fddd83cf9adf505bce2e2373881df0c4d41b261.zip
deps: upgrade V8 to 4.5.103.24
Upgrade to the latest branch-head for V8 4.5. For the full commit log see https://github.com/v8/v8-git-mirror/commits/4.5.103.24 PR-URL: https://github.com/nodejs/node/pull/2509 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'deps/v8/test/message')
-rw-r--r--deps/v8/test/message/arrow-bare-rest-param.js7
-rw-r--r--deps/v8/test/message/arrow-bare-rest-param.out4
-rw-r--r--deps/v8/test/message/arrow-missing.js7
-rw-r--r--deps/v8/test/message/arrow-missing.out4
-rw-r--r--deps/v8/test/message/arrow-param-after-rest-2.js7
-rw-r--r--deps/v8/test/message/arrow-param-after-rest-2.out4
-rw-r--r--deps/v8/test/message/arrow-param-after-rest.js7
-rw-r--r--deps/v8/test/message/arrow-param-after-rest.out4
-rw-r--r--deps/v8/test/message/arrow-strict-eval-bare-parameter.js8
-rw-r--r--deps/v8/test/message/arrow-strict-eval-bare-parameter.out4
-rw-r--r--deps/v8/test/message/arrow-two-rest-params.js7
-rw-r--r--deps/v8/test/message/arrow-two-rest-params.out4
-rw-r--r--deps/v8/test/message/class-constructor-accessor.js4
-rw-r--r--deps/v8/test/message/class-constructor-generator.js4
-rw-r--r--deps/v8/test/message/destructuring-modify-const.js9
-rw-r--r--deps/v8/test/message/destructuring-modify-const.out5
-rw-r--r--deps/v8/test/message/invalid-spread-2.js7
-rw-r--r--deps/v8/test/message/invalid-spread-2.out4
-rw-r--r--deps/v8/test/message/invalid-spread.js7
-rw-r--r--deps/v8/test/message/invalid-spread.out4
-rw-r--r--deps/v8/test/message/message.status7
-rw-r--r--deps/v8/test/message/no-legacy-const-2.js7
-rw-r--r--deps/v8/test/message/no-legacy-const-2.out5
-rw-r--r--deps/v8/test/message/no-legacy-const-3.js7
-rw-r--r--deps/v8/test/message/no-legacy-const-3.out5
-rw-r--r--deps/v8/test/message/no-legacy-const.js7
-rw-r--r--deps/v8/test/message/no-legacy-const.out5
-rw-r--r--deps/v8/test/message/rest-param-class-setter-strict.js12
-rw-r--r--deps/v8/test/message/rest-param-class-setter-strict.out4
-rw-r--r--deps/v8/test/message/rest-param-object-setter-sloppy.js11
-rw-r--r--deps/v8/test/message/rest-param-object-setter-sloppy.out4
-rw-r--r--deps/v8/test/message/rest-param-object-setter-strict.js12
-rw-r--r--deps/v8/test/message/rest-param-object-setter-strict.out4
-rw-r--r--deps/v8/test/message/strong-object-freeze-prop.js11
-rw-r--r--deps/v8/test/message/strong-object-freeze-prop.out9
-rw-r--r--deps/v8/test/message/strong-object-set-proto.js9
-rw-r--r--deps/v8/test/message/strong-object-set-proto.out9
-rw-r--r--deps/v8/test/message/super-constructor-extra-statement.js4
-rw-r--r--deps/v8/test/message/super-constructor.js4
-rw-r--r--deps/v8/test/message/super-in-function.js4
40 files changed, 234 insertions, 17 deletions
diff --git a/deps/v8/test/message/arrow-bare-rest-param.js b/deps/v8/test/message/arrow-bare-rest-param.js
new file mode 100644
index 0000000000..9b3916d959
--- /dev/null
+++ b/deps/v8/test/message/arrow-bare-rest-param.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-rest-parameters --harmony-arrow-functions
+
+...x => 10
diff --git a/deps/v8/test/message/arrow-bare-rest-param.out b/deps/v8/test/message/arrow-bare-rest-param.out
new file mode 100644
index 0000000000..76a25a455d
--- /dev/null
+++ b/deps/v8/test/message/arrow-bare-rest-param.out
@@ -0,0 +1,4 @@
+*%(basename)s:7: SyntaxError: Unexpected token ...
+...x => 10
+^^^
+SyntaxError: Unexpected token ...
diff --git a/deps/v8/test/message/arrow-missing.js b/deps/v8/test/message/arrow-missing.js
new file mode 100644
index 0000000000..566345a460
--- /dev/null
+++ b/deps/v8/test/message/arrow-missing.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-rest-parameters --harmony-arrow-functions
+
+function foo() { return(); }
diff --git a/deps/v8/test/message/arrow-missing.out b/deps/v8/test/message/arrow-missing.out
new file mode 100644
index 0000000000..f042a20fad
--- /dev/null
+++ b/deps/v8/test/message/arrow-missing.out
@@ -0,0 +1,4 @@
+*%(basename)s:7: SyntaxError: Expected () to start arrow function, but got ';' instead of '=>'
+function foo() { return(); }
+ ^
+SyntaxError: Expected () to start arrow function, but got ';' instead of '=>'
diff --git a/deps/v8/test/message/arrow-param-after-rest-2.js b/deps/v8/test/message/arrow-param-after-rest-2.js
new file mode 100644
index 0000000000..3b42f19247
--- /dev/null
+++ b/deps/v8/test/message/arrow-param-after-rest-2.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-rest-parameters --harmony-arrow-functions
+
+(w, ...x, y) => 10
diff --git a/deps/v8/test/message/arrow-param-after-rest-2.out b/deps/v8/test/message/arrow-param-after-rest-2.out
new file mode 100644
index 0000000000..27785cfb02
--- /dev/null
+++ b/deps/v8/test/message/arrow-param-after-rest-2.out
@@ -0,0 +1,4 @@
+*%(basename)s:7: SyntaxError: Rest parameter must be last formal parameter
+(w, ...x, y) => 10
+ ^
+SyntaxError: Rest parameter must be last formal parameter
diff --git a/deps/v8/test/message/arrow-param-after-rest.js b/deps/v8/test/message/arrow-param-after-rest.js
new file mode 100644
index 0000000000..0fade6c31d
--- /dev/null
+++ b/deps/v8/test/message/arrow-param-after-rest.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-rest-parameters --harmony-arrow-functions
+
+(...x, y) => 10
diff --git a/deps/v8/test/message/arrow-param-after-rest.out b/deps/v8/test/message/arrow-param-after-rest.out
new file mode 100644
index 0000000000..5b36e43584
--- /dev/null
+++ b/deps/v8/test/message/arrow-param-after-rest.out
@@ -0,0 +1,4 @@
+*%(basename)s:7: SyntaxError: Rest parameter must be last formal parameter
+(...x, y) => 10
+ ^
+SyntaxError: Rest parameter must be last formal parameter
diff --git a/deps/v8/test/message/arrow-strict-eval-bare-parameter.js b/deps/v8/test/message/arrow-strict-eval-bare-parameter.js
new file mode 100644
index 0000000000..d5692517dd
--- /dev/null
+++ b/deps/v8/test/message/arrow-strict-eval-bare-parameter.js
@@ -0,0 +1,8 @@
+// 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
new file mode 100644
index 0000000000..0eb8f8841f
--- /dev/null
+++ b/deps/v8/test/message/arrow-strict-eval-bare-parameter.out
@@ -0,0 +1,4 @@
+*%(basename)s:8: 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
new file mode 100644
index 0000000000..345545ccdf
--- /dev/null
+++ b/deps/v8/test/message/arrow-two-rest-params.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-rest-parameters --harmony-arrow-functions
+
+(w, ...x, ...y) => 10
diff --git a/deps/v8/test/message/arrow-two-rest-params.out b/deps/v8/test/message/arrow-two-rest-params.out
new file mode 100644
index 0000000000..7147ebcf11
--- /dev/null
+++ b/deps/v8/test/message/arrow-two-rest-params.out
@@ -0,0 +1,4 @@
+*%(basename)s:7: SyntaxError: Rest parameter must be last formal parameter
+(w, ...x, ...y) => 10
+ ^
+SyntaxError: Rest parameter must be last formal parameter
diff --git a/deps/v8/test/message/class-constructor-accessor.js b/deps/v8/test/message/class-constructor-accessor.js
index edc3c13169..fcc9868b14 100644
--- a/deps/v8/test/message/class-constructor-accessor.js
+++ b/deps/v8/test/message/class-constructor-accessor.js
@@ -1,8 +1,8 @@
// Copyright 2014 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-classes
+
+
'use strict';
class C {
diff --git a/deps/v8/test/message/class-constructor-generator.js b/deps/v8/test/message/class-constructor-generator.js
index 5d370f865e..a9a0ef862d 100644
--- a/deps/v8/test/message/class-constructor-generator.js
+++ b/deps/v8/test/message/class-constructor-generator.js
@@ -1,8 +1,8 @@
// Copyright 2014 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-classes
+
+
'use strict';
class C {
diff --git a/deps/v8/test/message/destructuring-modify-const.js b/deps/v8/test/message/destructuring-modify-const.js
new file mode 100644
index 0000000000..cabd924b37
--- /dev/null
+++ b/deps/v8/test/message/destructuring-modify-const.js
@@ -0,0 +1,9 @@
+// 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';
+
+const { x : x, y : y } = { x : 1, y : 2 };
+x++;
diff --git a/deps/v8/test/message/destructuring-modify-const.out b/deps/v8/test/message/destructuring-modify-const.out
new file mode 100644
index 0000000000..19bffa6d3d
--- /dev/null
+++ b/deps/v8/test/message/destructuring-modify-const.out
@@ -0,0 +1,5 @@
+*%(basename)s:9: TypeError: Assignment to constant variable.
+x++;
+ ^
+TypeError: Assignment to constant variable.
+ at *%(basename)s:9:2
diff --git a/deps/v8/test/message/invalid-spread-2.js b/deps/v8/test/message/invalid-spread-2.js
new file mode 100644
index 0000000000..67e0f7d7c0
--- /dev/null
+++ b/deps/v8/test/message/invalid-spread-2.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-rest-parameters --harmony-arrow-functions
+
+(x, ...y, z)
diff --git a/deps/v8/test/message/invalid-spread-2.out b/deps/v8/test/message/invalid-spread-2.out
new file mode 100644
index 0000000000..287390a74a
--- /dev/null
+++ b/deps/v8/test/message/invalid-spread-2.out
@@ -0,0 +1,4 @@
+*%(basename)s:7: SyntaxError: Unexpected token ...
+(x, ...y, z)
+ ^^^
+SyntaxError: Unexpected token ...
diff --git a/deps/v8/test/message/invalid-spread.js b/deps/v8/test/message/invalid-spread.js
new file mode 100644
index 0000000000..e58334e993
--- /dev/null
+++ b/deps/v8/test/message/invalid-spread.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-rest-parameters --harmony-arrow-functions
+
+(x, ...y)
diff --git a/deps/v8/test/message/invalid-spread.out b/deps/v8/test/message/invalid-spread.out
new file mode 100644
index 0000000000..5694ad6e88
--- /dev/null
+++ b/deps/v8/test/message/invalid-spread.out
@@ -0,0 +1,4 @@
+*%(basename)s:7: SyntaxError: Unexpected token ...
+(x, ...y)
+ ^^^
+SyntaxError: Unexpected token ...
diff --git a/deps/v8/test/message/message.status b/deps/v8/test/message/message.status
index f28aa2a8d3..234bf0f35c 100644
--- a/deps/v8/test/message/message.status
+++ b/deps/v8/test/message/message.status
@@ -30,11 +30,4 @@
# All tests in the bug directory are expected to fail.
'bugs/*': [FAIL],
}], # ALWAYS
-
-##############################################################################
-['arch == x87', {
-
- # Crankshaft compiler did not generate required source position for it:
- 'overwritten-builtins': [SKIP],
-}], # 'arch == x87'
]
diff --git a/deps/v8/test/message/no-legacy-const-2.js b/deps/v8/test/message/no-legacy-const-2.js
new file mode 100644
index 0000000000..29aeba5e1f
--- /dev/null
+++ b/deps/v8/test/message/no-legacy-const-2.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: --no-legacy-const
+
+const = 42;
diff --git a/deps/v8/test/message/no-legacy-const-2.out b/deps/v8/test/message/no-legacy-const-2.out
new file mode 100644
index 0000000000..55c855ee4f
--- /dev/null
+++ b/deps/v8/test/message/no-legacy-const-2.out
@@ -0,0 +1,5 @@
+*%(basename)s:7: SyntaxError: Unexpected token const
+const = 42;
+^^^^^
+
+SyntaxError: Unexpected token const
diff --git a/deps/v8/test/message/no-legacy-const-3.js b/deps/v8/test/message/no-legacy-const-3.js
new file mode 100644
index 0000000000..6981571e62
--- /dev/null
+++ b/deps/v8/test/message/no-legacy-const-3.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: --no-legacy-const
+
+const
diff --git a/deps/v8/test/message/no-legacy-const-3.out b/deps/v8/test/message/no-legacy-const-3.out
new file mode 100644
index 0000000000..046e9f7023
--- /dev/null
+++ b/deps/v8/test/message/no-legacy-const-3.out
@@ -0,0 +1,5 @@
+*%(basename)s:7: SyntaxError: Unexpected token const
+const
+^^^^^
+
+SyntaxError: Unexpected token const
diff --git a/deps/v8/test/message/no-legacy-const.js b/deps/v8/test/message/no-legacy-const.js
new file mode 100644
index 0000000000..ecad2181b8
--- /dev/null
+++ b/deps/v8/test/message/no-legacy-const.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: --no-legacy-const
+
+const x = 42;
diff --git a/deps/v8/test/message/no-legacy-const.out b/deps/v8/test/message/no-legacy-const.out
new file mode 100644
index 0000000000..b28dd10b77
--- /dev/null
+++ b/deps/v8/test/message/no-legacy-const.out
@@ -0,0 +1,5 @@
+*%(basename)s:7: SyntaxError: Unexpected token const
+const x = 42;
+^^^^^
+
+SyntaxError: Unexpected token const
diff --git a/deps/v8/test/message/rest-param-class-setter-strict.js b/deps/v8/test/message/rest-param-class-setter-strict.js
new file mode 100644
index 0000000000..2d478a6644
--- /dev/null
+++ b/deps/v8/test/message/rest-param-class-setter-strict.js
@@ -0,0 +1,12 @@
+// 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-rest-parameters
+'use strict';
+
+var _bad = "setting this should fail!";
+class C {
+ get bad() { return _bad; }
+ set bad(...args) { _bad = args[0]; }
+}
diff --git a/deps/v8/test/message/rest-param-class-setter-strict.out b/deps/v8/test/message/rest-param-class-setter-strict.out
new file mode 100644
index 0000000000..3296a0f2c8
--- /dev/null
+++ b/deps/v8/test/message/rest-param-class-setter-strict.out
@@ -0,0 +1,4 @@
+*%(basename)s:11: SyntaxError: Setter function argument must not be a rest parameter
+ set bad(...args) { _bad = args[0]; }
+ ^^^^^^^^^
+SyntaxError: Setter function argument must not be a rest parameter
diff --git a/deps/v8/test/message/rest-param-object-setter-sloppy.js b/deps/v8/test/message/rest-param-object-setter-sloppy.js
new file mode 100644
index 0000000000..08c03298dc
--- /dev/null
+++ b/deps/v8/test/message/rest-param-object-setter-sloppy.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-rest-parameters
+
+var _bad = "this should fail!";
+({
+ get bad() { return _bad; },
+ set bad(...args) { _bad = args[0]; }
+});
diff --git a/deps/v8/test/message/rest-param-object-setter-sloppy.out b/deps/v8/test/message/rest-param-object-setter-sloppy.out
new file mode 100644
index 0000000000..9400a2a9ce
--- /dev/null
+++ b/deps/v8/test/message/rest-param-object-setter-sloppy.out
@@ -0,0 +1,4 @@
+*%(basename)s:10: SyntaxError: Setter function argument must not be a rest parameter
+ set bad(...args) { _bad = args[0]; }
+ ^^^^^^^^^
+SyntaxError: Setter function argument must not be a rest parameter
diff --git a/deps/v8/test/message/rest-param-object-setter-strict.js b/deps/v8/test/message/rest-param-object-setter-strict.js
new file mode 100644
index 0000000000..e3a8f604e6
--- /dev/null
+++ b/deps/v8/test/message/rest-param-object-setter-strict.js
@@ -0,0 +1,12 @@
+// 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-rest-parameters
+'use strict';
+
+var _bad = "this should fail!";
+({
+ get bad() { return _bad; },
+ set bad(...args) { _bad = args[0]; }
+});
diff --git a/deps/v8/test/message/rest-param-object-setter-strict.out b/deps/v8/test/message/rest-param-object-setter-strict.out
new file mode 100644
index 0000000000..3296a0f2c8
--- /dev/null
+++ b/deps/v8/test/message/rest-param-object-setter-strict.out
@@ -0,0 +1,4 @@
+*%(basename)s:11: SyntaxError: Setter function argument must not be a rest parameter
+ set bad(...args) { _bad = args[0]; }
+ ^^^^^^^^^
+SyntaxError: Setter function argument must not be a rest parameter
diff --git a/deps/v8/test/message/strong-object-freeze-prop.js b/deps/v8/test/message/strong-object-freeze-prop.js
new file mode 100644
index 0000000000..17250158d5
--- /dev/null
+++ b/deps/v8/test/message/strong-object-freeze-prop.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: --strong-mode
+
+"use strong";
+
+let o = {};
+Object.defineProperty(o, "foo", { writable: true });
+Object.defineProperty(o, "foo", { writable: false });
diff --git a/deps/v8/test/message/strong-object-freeze-prop.out b/deps/v8/test/message/strong-object-freeze-prop.out
new file mode 100644
index 0000000000..0c611c5928
--- /dev/null
+++ b/deps/v8/test/message/strong-object-freeze-prop.out
@@ -0,0 +1,9 @@
+# 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:11: TypeError: On strong object #<Object>, redefining writable, non-configurable property 'foo' to be non-writable is deprecated
+Object.defineProperty(o, "foo", { writable: false });
+ ^
+TypeError: On strong object #<Object>, redefining writable, non-configurable property 'foo' to be non-writable is deprecated
+ at Function.defineProperty (native)
+ at *%(basename)s:11:8
diff --git a/deps/v8/test/message/strong-object-set-proto.js b/deps/v8/test/message/strong-object-set-proto.js
new file mode 100644
index 0000000000..890dd84d72
--- /dev/null
+++ b/deps/v8/test/message/strong-object-set-proto.js
@@ -0,0 +1,9 @@
+// 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: --strong-mode
+
+"use strong";
+
+({}).__proto__ = {};
diff --git a/deps/v8/test/message/strong-object-set-proto.out b/deps/v8/test/message/strong-object-set-proto.out
new file mode 100644
index 0000000000..bf2c9334f7
--- /dev/null
+++ b/deps/v8/test/message/strong-object-set-proto.out
@@ -0,0 +1,9 @@
+# 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:9: TypeError: On strong object #<Object>, redefining the internal prototype is deprecated
+({}).__proto__ = {};
+ ^
+TypeError: On strong object #<Object>, redefining the internal prototype is deprecated
+ at Object.set __proto__ (native)
+ at *%(basename)s:9:16
diff --git a/deps/v8/test/message/super-constructor-extra-statement.js b/deps/v8/test/message/super-constructor-extra-statement.js
index e8ffe2dbfa..541bddbde1 100644
--- a/deps/v8/test/message/super-constructor-extra-statement.js
+++ b/deps/v8/test/message/super-constructor-extra-statement.js
@@ -1,8 +1,8 @@
// Copyright 2014 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-classes
+
+
'use strict';
class C {
diff --git a/deps/v8/test/message/super-constructor.js b/deps/v8/test/message/super-constructor.js
index 430dc58ce7..93ca61844a 100644
--- a/deps/v8/test/message/super-constructor.js
+++ b/deps/v8/test/message/super-constructor.js
@@ -1,8 +1,8 @@
// Copyright 2014 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-classes
+
+
'use strict';
class C {
diff --git a/deps/v8/test/message/super-in-function.js b/deps/v8/test/message/super-in-function.js
index edaa0e4ead..f2e2342c31 100644
--- a/deps/v8/test/message/super-in-function.js
+++ b/deps/v8/test/message/super-in-function.js
@@ -1,8 +1,8 @@
// 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-classes
+
+
'use strict';
function f() {