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

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:84da9a1a74bb
1 function TestCase(n, d, e, a) {}
2 function reportCompare (expected, actual, description) {
3 var testcase = new TestCase("unknown-test-name", description, expected, actual);
4 }
5 var status = 'Testing scope after changing obj.__proto__';
6 function test() {
7 let ( actual = [ ] ) TestCase .__proto__ = null;
8 reportCompare (expect, actual, status);
9 }
10 var actual = 'error';
11 var expect = 'error';
12 for (i = 0; i < 12000; i++) {
13 test();
14 }

mercurial