Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / console / console-dirxml.html
blobd1baeb568638dfb8eba868276544d55df5dc724f
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>
7 function logToConsole()
9 var fragment = document.createDocumentFragment();
10 fragment.appendChild(document.createElement("p"));
12 console.dirxml(document);
13 console.dirxml(fragment);
14 console.dirxml(fragment.firstChild);
15 console.log([fragment.firstChild]);
16 console.dirxml([document, fragment, document.createElement("span")]);
19 function test()
21 runtime.loadModulePromise("elements").then(function() {
22 InspectorTest.evaluateInPage("logToConsole()", onLoggedToConsole);
23 });
25 function onLoggedToConsole()
27 InspectorTest.waitForRemoteObjectsConsoleMessages(onRemoteObjectsLoaded)
30 function onRemoteObjectsLoaded()
32 InspectorTest.dumpConsoleMessages();
33 InspectorTest.completeTest();
36 </script>
37 </head>
39 <body onload="runTest()">
40 <p>
41 Tests that console logging dumps proper messages.
42 </p>
44 </body>
45 </html>