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

Unified Diff: test/message/new-target-escaped.js

Issue 1700123003: [parser] unify metaproperty parsing and require unescaped property name (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: more oops Created 4 years, 10 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/message/function-sent-escaped.out ('k') | test/message/new-target-escaped.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/new-target-escaped.js
diff --git a/test/mjsunit/ignition/dead-code-source-position.js b/test/message/new-target-escaped.js
similarity index 79%
copy from test/mjsunit/ignition/dead-code-source-position.js
copy to test/message/new-target-escaped.js
index 95bb9183b880229a703e58503e9aec2a673015aa..f8398bebd4dda6d8568b3f80cbc85ed2c6d6710e 100644
--- a/test/mjsunit/ignition/dead-code-source-position.js
+++ b/test/message/new-target-escaped.js
@@ -1,9 +1,10 @@
// Copyright 2016 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 f() {
- for (f(x) in []) { f(new f()) }
+ return new.t\u0061rget;
}
-
-f();
+var o = new f();
« no previous file with comments | « test/message/function-sent-escaped.out ('k') | test/message/new-target-escaped.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698