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

Unified Diff: test/mjsunit/harmony/regress/regress-3750.js

Issue 787763005: Ensure class prototype objects have the right Map::constructor field (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years 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') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/harmony/regress/regress-3750.js
diff --git a/test/message/super-constructor.js b/test/mjsunit/harmony/regress/regress-3750.js
similarity index 75%
copy from test/message/super-constructor.js
copy to test/mjsunit/harmony/regress/regress-3750.js
index 9c96d9bc34ada080b5a90e78fa9b8f967da5ca66..d1f21f9bd39a088f51b25d53ad32ef98d40d0c1e 100644
--- a/test/message/super-constructor.js
+++ b/test/mjsunit/harmony/regress/regress-3750.js
@@ -4,11 +4,5 @@
//
// Flags: --harmony-classes
'use strict';
-
-class C {
- constructor() {
- super(this.x);
- }
-}
-
-new C();
+class Example { }
+Object.observe(Example.prototype, function(){});
« no previous file with comments | « test/cctest/test-api.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698