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

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

Issue 2151273003: [DevTools] Move browser logging from Console domain to Log domain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@internals-method
Patch Set: protocol improvements Created 4 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
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script> 4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script> 5 <script>
6 function test() 6 function test()
7 { 7 {
8 function dumpMessages(next, message) 8 function dumpMessages(next, message)
9 { 9 {
10 InspectorTest.dumpConsoleMessagesIgnoreErrorStackFrames(); 10 InspectorTest.dumpConsoleMessagesIgnoreErrorStackFrames();
11 11
12 InspectorTest.consoleModel.addEventListener(WebInspector.ConsoleModel.Ev ents.ConsoleCleared, afterCleared); 12 InspectorTest.consoleModel.addEventListener(WebInspector.ConsoleModel.Ev ents.ConsoleCleared, afterCleared);
13 InspectorTest.consoleModel.requestClearMessages(); 13 WebInspector.ConsoleView.clearConsole();
14 14
15 function afterCleared() 15 function afterCleared()
16 { 16 {
17 InspectorTest.consoleModel.removeEventListener(WebInspector.ConsoleM odel.Events.ConsoleCleared, afterCleared); 17 InspectorTest.consoleModel.removeEventListener(WebInspector.ConsoleM odel.Events.ConsoleCleared, afterCleared);
18 next(); 18 next();
19 } 19 }
20 } 20 }
21 21
22 InspectorTest.runTestSuite([ 22 InspectorTest.runTestSuite([
23 function testThrowUndefined(next) 23 function testThrowUndefined(next)
(...skipping 24 matching lines...) Expand all
48 } 48 }
49 </script> 49 </script>
50 </head> 50 </head>
51 <body onload="runTest()"> 51 <body onload="runTest()">
52 <p> 52 <p>
53 Tests that evaluating 'throw undefined|1|string|object|Error' in the console won 't crash the browser and correctly reported. 53 Tests that evaluating 'throw undefined|1|string|object|Error' in the console won 't crash the browser and correctly reported.
54 <a href="https://bugs.webkit.org/show_bug.cgi?id=59611">Bug 59611.</a> 54 <a href="https://bugs.webkit.org/show_bug.cgi?id=59611">Bug 59611.</a>
55 </p> 55 </p>
56 </body> 56 </body>
57 </html> 57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698