3 <script src=
"../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../../http/tests/inspector/console-test.js"></script>
6 console
.log("http://www.chromium.org/");
7 console
.log("follow http://www.chromium.org/");
8 console
.log("string", "http://www.chromium.org/");
9 console
.log(123, "http://www.chromium.org/");
10 console
.log("http://www.chromium.org/some?v=114:56:57");
15 InspectorTest
.dumpConsoleMessages(false, true);
17 InspectorTest
.addResult("Dump urls in messages");
18 var consoleView
= WebInspector
.ConsolePanel
._view();
19 var viewMessages
= consoleView
._visibleViewMessages
;
20 for (var i
= 0; i
< viewMessages
.length
; ++i
) {
21 var uiMessage
= viewMessages
[i
];
22 var element
= uiMessage
.contentElement();
23 var href
= element
.querySelector(".webkit-html-external-link");
24 InspectorTest
.addResult("linked url:" + href
.href
);
27 InspectorTest
.completeTest();
31 <body onload=
"runTest()">
33 Test that console.log() would linkify the links.
<a href=
"http://crbug.com/231074">Bug
231074.
</a>