Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / console / console-xml-document.html
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
7 function onload()
8 {
9     console.dirxml((new DOMParser()).parseFromString("<MixedCase> Test </MixedCase>", "text/xml"));
10     runTest();
11 }
12
13 function test()
14 {
15     // Warm up highlighter module.
16     runtime.loadModulePromise("source_frame").then(function() {
17         InspectorTest.expandConsoleMessages(callback);
18     }).done();
19
20     function callback()
21     {
22         InspectorTest.dumpConsoleMessages();
23         InspectorTest.completeTest();
24     }
25 }
26 </script>
27 </head>
28
29 <body onload="onload()">
30 <p>
31 Tests that XML document contents are logged using the correct case in the console.
32 </p>
33
34 </body>
35 </html>