js/src/jit-test/tests/ion/bug792220.js

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:41f3bf83e8b6
1 var p = Proxy.create({
2 has : function(id) {}
3 });
4 Object.prototype.__proto__ = p;
5 function f() {
6 if (/a/.exec("a"))
7 return 1;
8 return 0;
9 }
10 delete RegExp.prototype.test;
11 f();
12

mercurial