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

Unified Diff: test/mjsunit/regress/regress-v8-4972.js

Issue 1925803005: [runtime] Don't crash when creating an instance of a class inherited from a Proxy. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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 | « src/objects.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-v8-4972.js
diff --git a/test/message/regress/regress-4829-1.js b/test/mjsunit/regress/regress-v8-4972.js
similarity index 79%
copy from test/message/regress/regress-4829-1.js
copy to test/mjsunit/regress/regress-v8-4972.js
index 1ad5feda8cb96cd24e4c47f7407c9699d150c327..689ae039ba3b0e38d4796b0deca5b5eb23c4cbfd 100644
--- a/test/message/regress/regress-4829-1.js
+++ b/test/mjsunit/regress/regress-v8-4972.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.
-function tag() {}
-
-tag(tag`\xyy`);
+new class extends new Proxy(class {},{}) {}
« no previous file with comments | « src/objects.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698