Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(628)

Unified Diff: test/message/regress/regress-3995.js

Issue 1049703002: Make compilers agree on source position of thrown errors. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix another regression. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/test-api.cc ('k') | test/message/regress/regress-3995.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/regress/regress-3995.js
diff --git a/test/message/import-eval.js b/test/message/regress/regress-3995.js
similarity index 78%
copy from test/message/import-eval.js
copy to test/message/regress/regress-3995.js
index 8ab35baef672a45d6a449fd328941dc4ff9a00eb..ba84bc096527cc242b9ad43983b42eec0462c43c 100644
--- a/test/message/import-eval.js
+++ b/test/message/regress/regress-3995.js
@@ -1,7 +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.
-//
-// MODULE
-import { eval } from "mod";
+(function() {
+ throw new Error("boom");
+})();
« no previous file with comments | « test/cctest/test-api.cc ('k') | test/message/regress/regress-3995.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698