Index: test/mjsunit/harmony/weakmaps.js |
diff --git a/test/mjsunit/harmony/weakmaps.js b/test/mjsunit/harmony/weakmaps.js |
index e43f9167e641b72ca4e440d211fd85bee367e9a0..4e806cdf0ae691c96103527b512b167e4fcd1e78 100644 |
--- a/test/mjsunit/harmony/weakmaps.js |
+++ b/test/mjsunit/harmony/weakmaps.js |
@@ -157,6 +157,11 @@ var o = Object.create({}, { myValue: { |
assertEquals(10, o.myValue); |
+// Regression test: The parent of the WeakMap prototype is supposed to be the |
rossberg
2011/09/13 09:27:37
That comment isn't quite in sync with JS terminolo
Michael Starzinger
2011/09/13 09:38:41
Done.
|
+// Object prototype. |
+assertTrue(Object.getPrototypeOf(WeakMap.prototype) === Object.prototype) |
+ |
+ |
// Stress Test |
// There is a proposed stress-test available at the es-discuss mailing list |
// which cannot be reasonably automated. Check it out by hand if you like: |