Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / console / console-eval-throw-expected.txt
blobbf6887cb1ba6c697d71d10b708d8f88b0f6d1666
1 Tests that evaluating 'throw undefined|1|string|object|Error' in the console won't crash the browser and correctly reported. Bug 59611.
4 Running: testThrowUndefined
5 throw undefined
6     VM:2 Uncaught undefined
7 (anonymous function) @ VM:2
9 Running: testThrowNumber
10 throw 1
11     VM:2 Uncaught 1
12 (anonymous function) @ VM:2
14 Running: testThrowString
15 throw 'asdf'
16     VM:2 Uncaught asdf
17 (anonymous function) @ VM:2
19 Running: testThrowObject
20 throw {a:42}
21     VM:2 Uncaught Object {a: 42}
22 (anonymous function) @ VM:2
24 Running: testThrowError
25 throw new Error('asdf')
26     VM:2 Uncaught Error: asdf(…)
27 (anonymous function) @ VM:2