summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/warp/bug1683614.js
blob: 1d0a4724ff61d879c3b170f19ee618ad941f7155 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// |jit-test| --ion-offthread-compile=off; --ion-full-warmup-threshold=0; --baseline-eager; skip-if: !this.hasOwnProperty("ReadableStream")

gczeal(9, 8);
function s() { }
new ReadableStream({
    start() {
        test();
    }
});
async function test() {
    for (let i17 = 1; i17 <= 30; i17++)
        await s(0 + function () { return i17 });
}