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

Unified Diff: test/mjsunit/regress/regress-crbug-573857.js

Issue 1551333002: Use JSObjectVerify instead of trying to reimplement parts of it. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Blacklist test for ignition. Created 4 years, 12 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/mjsunit/mjsunit.status ('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-crbug-573857.js
diff --git a/test/mjsunit/regress/regress-crbug-572590.js b/test/mjsunit/regress/regress-crbug-573857.js
similarity index 61%
copy from test/mjsunit/regress/regress-crbug-572590.js
copy to test/mjsunit/regress/regress-crbug-573857.js
index 5871005423a8c6af85fb04cbb56347d6abac950f..d2892c924f683d5d4de999fb9cb4e60d6e7c58ee 100644
--- a/test/mjsunit/regress/regress-crbug-572590.js
+++ b/test/mjsunit/regress/regress-crbug-573857.js
@@ -4,7 +4,10 @@
// Flags: --expose-gc --verify-heap
-function g() { }
-var f = g.bind();
-f.__defineGetter__('length', g);
+function f() {}
+f = f.bind();
+f.x = f.name;
+f.__defineGetter__('name', function() { return f.x; });
+function g() {}
+g.prototype = f;
gc();
« no previous file with comments | « test/mjsunit/mjsunit.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698