Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | // |jit-test| error: ReferenceError |
michael@0 | 2 | function TestCase(e, a) |
michael@0 | 3 | this.passed = (e == a); |
michael@0 | 4 | function reportCompare (expected, actual) { |
michael@0 | 5 | var expected_t = typeof expected; |
michael@0 | 6 | var actual_t = typeof actual; |
michael@0 | 7 | if (expected_t != actual_t) |
michael@0 | 8 | printStatus(); |
michael@0 | 9 | new TestCase(expected, actual); |
michael@0 | 10 | } |
michael@0 | 11 | var expect = ''; |
michael@0 | 12 | reportCompare(expect, ''); |
michael@0 | 13 | try { |
michael@0 | 14 | test(); |
michael@0 | 15 | } catch(exc1) {} |
michael@0 | 16 | function test() { |
michael@0 | 17 | var { expect } = ''; |
michael@0 | 18 | for (var a = 1; a < 2; ++a) |
michael@0 | 19 | reportCompare(expect, ''); |
michael@0 | 20 | } |
michael@0 | 21 | test(); |