Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: LayoutTests/inspector/console/console-eval-throw-expected.txt

Issue 369333002: DevTools: Added error message when the command is invoked from the console with exception (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@add-evaluate-exception-details
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 Tests that evaluating 'throw undefined|1|string|object|Error' in the console won 't crash the browser and correctly reported. Bug 59611.
2
3
4 Running: testThrowUndefined
5 throw undefined
6 Uncaught undefined VM:2
7
8 Running: testThrowNumber
9 throw 1
10 Uncaught 1 VM:2
11
12 Running: testThrowString
13 throw 'asdf'
14 Uncaught asdf VM:2
15
16 Running: testThrowObject
17 throw {a:42}
18 Uncaught Object {a: 42} VM:2
19
20 Running: testThrowError
21 throw new Error('asdf')
22 Uncaught Error: asdf VM:2
23
OLDNEW
« no previous file with comments | « LayoutTests/inspector/console/console-eval-throw.html ('k') | LayoutTests/inspector/console/console-eval-throw-undefined.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698