Index: test/mjsunit/regress/regress-crbug-625590.js |
diff --git a/test/mjsunit/regress/regress-4659.js b/test/mjsunit/regress/regress-crbug-625590.js |
similarity index 63% |
copy from test/mjsunit/regress/regress-4659.js |
copy to test/mjsunit/regress/regress-crbug-625590.js |
index 8992bb89feeb145c3470220a44b44a9580e540fe..aa9ff8a5df28f9c71f94df257fc94f9b5dbe6aa7 100644 |
--- a/test/mjsunit/regress/regress-4659.js |
+++ b/test/mjsunit/regress/regress-crbug-625590.js |
@@ -2,9 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-var obj = { |
- get longerName(){ |
- return 42; |
+var obj = {}; |
+function f() {} |
+f.prototype = { |
+ mSloppy() { |
+ super[obj] = 15; |
} |
}; |
-assertEquals(42, obj.longerName); |
+new f().mSloppy(); |