summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/baseline/bug1153458.js
blob: 65124db04ffd3cd9eed058f1117fa734f44ae673 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// |jit-test| --baseline-eager; error: TypeError
try {
    this.__defineGetter__("x", Iterator)()
} catch (e) {}
f = function() {
    return (function() {
        this.x
    })
}()
try {
    f()
} catch (e) {}
f()