aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/test/message/regress
diff options
context:
space:
mode:
authorMichaƫl Zasso <targos@protonmail.com>2017-09-12 11:34:59 +0200
committerAnna Henningsen <anna@addaleax.net>2017-09-13 16:15:18 +0200
commitd82e1075dbc2cec2d6598ade10c1f43805f690fd (patch)
treeccd242b9b491dfc341d1099fe11b0ef528839877 /deps/v8/test/message/regress
parentb4b7ac6ae811b2b5a3082468115dfb5a5246fe3f (diff)
downloadandroid-node-v8-d82e1075dbc2cec2d6598ade10c1f43805f690fd.tar.gz
android-node-v8-d82e1075dbc2cec2d6598ade10c1f43805f690fd.tar.bz2
android-node-v8-d82e1075dbc2cec2d6598ade10c1f43805f690fd.zip
deps: update V8 to 6.1.534.36
PR-URL: https://github.com/nodejs/node/pull/14730 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'deps/v8/test/message/regress')
-rw-r--r--deps/v8/test/message/regress/regress-5727.js11
-rw-r--r--deps/v8/test/message/regress/regress-5727.out11
2 files changed, 22 insertions, 0 deletions
diff --git a/deps/v8/test/message/regress/regress-5727.js b/deps/v8/test/message/regress/regress-5727.js
new file mode 100644
index 0000000000..ac26d1b910
--- /dev/null
+++ b/deps/v8/test/message/regress/regress-5727.js
@@ -0,0 +1,11 @@
+// Copyright 2017 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.
+
+function Foo(do_throw) {
+ if (do_throw) throw new Error("get me outta here");
+}
+var foo = new Foo(false);
+(function caller() {
+ Foo.call(foo, true);
+})();
diff --git a/deps/v8/test/message/regress/regress-5727.out b/deps/v8/test/message/regress/regress-5727.out
new file mode 100644
index 0000000000..8eb800a3c8
--- /dev/null
+++ b/deps/v8/test/message/regress/regress-5727.out
@@ -0,0 +1,11 @@
+# Copyright 2017 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: Error: get me outta here
+ if (do_throw) throw new Error("get me outta here");
+ ^
+Error: get me outta here
+ at Foo (*%(basename)s:6:23)
+ at caller (*%(basename)s:10:7)
+ at *%(basename)s:11:3