blob: 3db1e2d941aa62400c489082f9aae5506e1272b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// |jit-test| --no-ion; --no-baseline; skip-if: !('oomTest' in this && this.hasOwnProperty("ReadableStream"))
ignoreUnhandledRejections();
function test() {
let controller;
let stream = new ReadableStream({
start(c) { }
});
stream.getReader();
drainJobQueue();
}
// Force lazy parsing to happen before oomTest starts (see `help(oomTest)`).
test();
oomTest(test, { verbose: true, keepFailing: false });
|