summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1278832.js
blob: aa9e269b3d98d96810789ce33705a3397f9b6924 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
function assertThrowsInstanceOf() {}
gczeal(15)
try {
    gczeal(10, 2)
} catch (Atomics) {}
for (define of[__defineSetter__]) {
    let nonCallable = [{}]
    for (let value of nonCallable) assertThrowsInstanceOf(TypeError)
    key = {
        [Symbol]() {}
    }
}