| Index: test/mjsunit/harmony/weakmaps.js
|
| diff --git a/test/mjsunit/harmony/weakmaps.js b/test/mjsunit/harmony/weakmaps.js
|
| index d17f4dd255c7f7870e6de917b71490f1f29b6f38..8cbf213abc6dc59c27f9d52009e662f1982ab4c7 100644
|
| --- a/test/mjsunit/harmony/weakmaps.js
|
| +++ b/test/mjsunit/harmony/weakmaps.js
|
| @@ -107,3 +107,14 @@ var m = new WeakMap;
|
| assertTrue(m instanceof WeakMap);
|
| assertTrue(WeakMap.prototype.set instanceof Function)
|
| assertTrue(WeakMap.prototype.get instanceof Function)
|
| +
|
| +
|
| +// Stress Test
|
| +// https://mail.mozilla.org/pipermail/es-discuss/2011-May/014096.html
|
| +/*var wm = new WeakMap;
|
| +var key = {}, value = {};
|
| +while(true) {
|
| + wm.set(key, value);
|
| + key = value;
|
| + value = {};
|
| +}*/
|
|
|