summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/collections/bug-1884927.js
blob: 263d9df8a089d9f1c4fa799cdf3afbea52268734 (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| --enable-symbols-as-weakmap-keys; skip-if: getBuildConfiguration("release_or_beta")
for (x=0; x<10000; ++x) {
  try {
    m13 = new WeakMap;
    sym = Symbol();
    m13.set(sym, new Debugger);
    startgc(1, );
  } catch (exc) {}
}