summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/warp/bug1683614.js
blob: 58c67c7a91e31fcaa74ba8d5163ffefe29516a5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// |jit-test| --ion-offthread-compile=off; --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 });
}