OLD | NEW |
1 Tests that evaluating 'throw undefined|1|string|object|Error' in the console won
't crash the browser and correctly reported. Bug 59611. | 1 Tests that evaluating 'throw undefined|1|string|object|Error' in the console won
't crash the browser and correctly reported. Bug 59611. |
2 | 2 |
3 | 3 |
4 Running: testThrowUndefined | 4 Running: testThrowUndefined |
5 throw undefined | 5 throw undefined |
6 VM:1 Uncaught undefined | 6 VM:1 Uncaught undefined |
7 (anonymous function) @ VM:1 | 7 (anonymous function) @ VM:1 |
8 | 8 |
9 Running: testThrowNumber | 9 Running: testThrowNumber |
10 throw 1 | 10 throw 1 |
11 VM:1 Uncaught 1 | 11 VM:1 Uncaught 1 |
12 (anonymous function) @ VM:1 | 12 (anonymous function) @ VM:1 |
13 | 13 |
14 Running: testThrowString | 14 Running: testThrowString |
15 throw 'asdf' | 15 throw 'asdf' |
16 VM:1 Uncaught asdf | 16 VM:1 Uncaught asdf |
17 (anonymous function) @ VM:1 | 17 (anonymous function) @ VM:1 |
18 | 18 |
19 Running: testThrowObject | 19 Running: testThrowObject |
20 throw {a:42} | 20 throw {a:42} |
21 VM:1 Uncaught Object {a: 42} | 21 VM:1 Uncaught Object {a: 42} |
22 (anonymous function) @ VM:1 | 22 (anonymous function) @ VM:1 |
23 | 23 |
24 Running: testThrowError | 24 Running: testThrowError |
25 throw new Error('asdf') | 25 throw new Error('asdf') |
26 VM:1 Uncaught Error: asdf(…) | 26 VM:1 Uncaught Error: asdf |
27 (anonymous function) @ VM:1 | 27 (anonymous function) @ VM:1 |
28 | 28 |
OLD | NEW |