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

Side by Side Diff: LayoutTests/inspector/console/console-eval-throw-undefined.html

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 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script>
6 function test()
7 {
8 InspectorTest.evaluateInConsole("throw undefined", step1);
9
10 function step1()
11 {
12 InspectorTest.dumpConsoleMessages();
13 InspectorTest.completeTest();
14 }
15 }
16
17 </script>
18 </head>
19 <body onload="runTest()">
20 <p>
21 Tests that evaluating 'throw undefined' in the console won't crash the browser.
22 <a href="https://bugs.webkit.org/show_bug.cgi?id=59611">Bug 59611.</a>
23 </p>
24 </body>
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698