Bug 1666140 Comment 11 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

A variation on the test case, which we can land later:
```
evalInWorker(`
  newGlobal();
  newGlobal();
  newGlobal();
  newGlobal();
  newGlobal();
  newGlobal();
  newGlobal();
  let i59 = new WebAssembly.Instance(new WebAssembly.Module(wasmTextToBinary(
    \`(module
      (func (export "foo") (param i64) (result i64)
       local.get 0
      )
  )\`,
  ))).exports;
  for (let x = 0 ; x < 1000000; x++ )
    i59.foo(42n);
`);
```
A variation on the test case (--no-ion --no-baseline --more-compartments --wasm-compiler=baseline), which we can land later:
```
evalInWorker(`
  newGlobal();
  newGlobal();
  newGlobal();
  newGlobal();
  newGlobal();
  newGlobal();
  newGlobal();
  let i59 = new WebAssembly.Instance(new WebAssembly.Module(wasmTextToBinary(
    \`(module
      (func (export "foo") (param i64) (result i64)
       local.get 0
      )
  )\`,
  ))).exports;
  for (let x = 0 ; x < 1000000; x++ )
    i59.foo(42n);
`);
```

Back to Bug 1666140 Comment 11