summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/warp/bug1683614.js
blob: 69fc780c150d55d75801073e6dde3d7200bb79ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// |jit-test| --ion-offthread-compile=off; --ion-full-warmup-threshold=0; --warp-async; --baseline-eager;
//
// The following testcase crashes on mozilla-central revision 20201219-3262affdccf6 (debug build, run with --fuzzing-safe --ion-offthread-compile=off --ion-full-warmup-threshold=0 --warp-async --baseline-eager):
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 });
}