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

Unified 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: rebased 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/console/console-log-without-console.html
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-log-before-inspector-open.html b/third_party/WebKit/LayoutTests/inspector/console/console-log-without-console.html
similarity index 59%
copy from third_party/WebKit/LayoutTests/inspector/console/console-log-before-inspector-open.html
copy to third_party/WebKit/LayoutTests/inspector/console/console-log-without-console.html
index 4a0042ae9d9d0682a7927964d1693ea028bd3ed2..a01224a95cfd726b200324bf6cd49c177d25beef 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-log-before-inspector-open.html
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-log-without-console.html
@@ -3,26 +3,23 @@
<script src="../../http/tests/inspector/inspector-test.js"></script>
<script src="../../http/tests/inspector/console-test.js"></script>
<script>
-
-console.log('log');
-console.debug('debug');
-console.info('info');
-console.warn('warn');
-console.error('error');
+var log = console.log;
+log(1);
+var info = console.info;
+info(2);
+var error = console.error;
+error(3);
+var warn = console.warn;
+warn(4);
function test()
{
InspectorTest.dumpConsoleMessages();
InspectorTest.completeTest();
}
-
</script>
</head>
-
<body onload="runTest()">
-<p>
-Tests that Web Inspector won't crash if some console have been logged by the time it's opening.
-</p>
-
+<p>Test that console.log can be called without console receiver.</p>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698