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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/console-log-without-console.html

Issue 1859293002: [DevTools] Move Console to v8_inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 6 var log = console.log;
7 console.log('log'); 7 log(1);
8 console.debug('debug'); 8 var info = console.info;
9 console.info('info'); 9 info(2);
10 console.warn('warn'); 10 var error = console.error;
11 console.error('error'); 11 error(3);
12 var warn = console.warn;
13 warn(4);
12 14
13 function test() 15 function test()
14 { 16 {
15 InspectorTest.dumpConsoleMessages(); 17 InspectorTest.dumpConsoleMessages();
16 InspectorTest.completeTest(); 18 InspectorTest.completeTest();
17 } 19 }
18
19 </script> 20 </script>
20 </head> 21 </head>
21
22 <body onload="runTest()"> 22 <body onload="runTest()">
23 <p> 23 <p>Test that console.log can be called without console receiver.</p>
24 Tests that Web Inspector won't crash if some console have been logged by the tim e it's opening.
25 </p>
26
27 </body> 24 </body>
28 </html> 25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698