Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / console / console-log-linkify-links.html
blob3570d1f1e9acd8510af61ec7645e594b3467295c
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <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");
13 function test()
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();
29 </script>
30 </head>
31 <body onload="runTest()">
32 <p>
33 Test that console.log() would linkify the links. <a href="http://crbug.com/231074">Bug 231074.</a>
34 </p>
35 </body>
36 </html>