summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug945512.js
blob: e0e64122097674c04ce54ee54a0723111c41dc5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12

var handler = {
    has: function (name) {
        assertEq(1, 2);
    }
};

for (var i=0; i<10; i++) {
    var regex = /undefined/;
    regex.__proto__ = new Proxy(function() {}, handler)
}