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

Side by Side Diff: LayoutTests/inspector/console-command-clear.html

Issue 6282016: Merge 76683 - 2011-01-26 Pavel Feldman <pfeldman@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/648/
Patch Set: Created 9 years, 11 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-tests.js"></script> 4 <script src="../http/tests/inspector/console-tests.js"></script>
5 <script> 5 <script>
6 6
7 function doit() 7 function doit()
8 { 8 {
9 console.log("one"); 9 console.log("one");
10 console.log("two"); 10 console.log("two");
11 console.log("three"); 11 console.log("three");
12 12
13 output("=== Before clear ==="); 13 output("=== Before clear ===");
14 dumpConsoleMessages(true); 14 dumpConsoleMessages(true);
15 function callback() 15 function callback()
16 { 16 {
17 output("=== After clear ==="); 17 output("=== After clear ===");
18 dumpConsoleMessages(); 18 dumpConsoleMessages();
19 } 19 }
20 evaluateInWebInspector("InspectorBackend.evaluate('clear()', '', function() {})", callback); 20 evaluateInWebInspector("InspectorBackend.evaluate('clear()', '', true, funct ion() {})", callback);
21 } 21 }
22 22
23 </script> 23 </script>
24 </head> 24 </head>
25 25
26 <body onload="onload()"> 26 <body onload="onload()">
27 <p> 27 <p>
28 Tests that console is cleared upon clear() eval in console. 28 Tests that console is cleared upon clear() eval in console.
29 </p> 29 </p>
30 30
31 </body> 31 </body>
32 </html> 32 </html>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/inspector/resource-har-conversion.html ('k') | LayoutTests/inspector/console-dir-global.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698