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

Unified Diff: chrome/test/data/devtools/console_test_page.html

Issue 149178: DevTools: Console tests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/devtools/console_test_page.html
===================================================================
--- chrome/test/data/devtools/console_test_page.html (revision 0)
+++ chrome/test/data/devtools/console_test_page.html (revision 0)
@@ -0,0 +1,39 @@
+<html>
+<head>
+<script type="text/javascript">
+
+console.log('log');
+
+console.debug('debug');
+
+console.info('info');
+
+console.warn('warn');
+
+console.error('error');
+
+console.log('Message format number %i, %d and %f', 1, 2, 3.5);
+
+console.log('Message %s for %s', 'format', 'string');
+
+console.log('Object %o', {'foo' : 'bar' });
+
+for (var i = 0; i < 5; ++i) {
+ console.log('repeated');
+}
+
+for (var i = 0; i < 2; ++i) {
+ console.count('count');
+}
+
+console.group('group');
+console.groupEnd();
+
+console.time('timer');
+console.timeEnd('timer');
+
+</script>
+</head>
+<body>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698