| 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>
|
|
|