| Index: third_party/WebKit/LayoutTests/inspector/console/console-export.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-export.html b/third_party/WebKit/LayoutTests/inspector/console/console-export.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..24ee6aa0661f8e350a7b75a83883e425506e24b3
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/inspector/console/console-export.html
|
| @@ -0,0 +1,31 @@
|
| +<html>
|
| +<head>
|
| +<script src="../../http/tests/inspector/inspector-test.js"></script>
|
| +<script src="../../http/tests/inspector/console-test.js"></script>
|
| +<script>
|
| +
|
| +function log() {
|
| + console.log("one");
|
| + console.log("www.loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooongurl.com");
|
| + console.trace('My important trace');
|
| + console.error('foo');
|
| +}
|
| +log();
|
| +
|
| +function test()
|
| +{
|
| + InspectorTest.dumpConsoleMessages();
|
| + var consoleView = Console.ConsoleView.instance();
|
| + consoleView._visibleViewMessages.forEach(message => InspectorTest.addResult(message.toExportString()));
|
| + InspectorTest.completeTest();
|
| +}
|
| +
|
| +</script>
|
| +</head>
|
| +
|
| +<body onload="runTest()">
|
| +<p>
|
| +Tests that console is cleared upon requestClearMessages call.
|
| +</p>
|
| +</body>
|
| +</html>
|
|
|