| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../http/tests/inspector/inspector-test.js"></script> |
| 4 <script src="../../http/tests/inspector/console-test.js"></script> | 4 <script src="../../http/tests/inspector/console-test.js"></script> |
| 5 |
| 5 <script> | 6 <script> |
| 6 | |
| 7 function onload() | 7 function onload() |
| 8 { | 8 { |
| 9 console.dirxml((new DOMParser()).parseFromString("<MixedCase> Test </MixedCa
se>", "text/xml")); | 9 console.dirxml((new DOMParser()).parseFromString("<MixedCase> Test </MixedCa
se>", "text/xml")); |
| 10 runTest(); | 10 runTest(); |
| 11 } | 11 } |
| 12 //# sourceURL=console-xml-document.html |
| 13 </script> |
| 12 | 14 |
| 15 <script> |
| 13 function test() | 16 function test() |
| 14 { | 17 { |
| 15 // Warm up elements renderer. | 18 // Warm up elements renderer. |
| 16 runtime.loadModulePromise("elements").then(function() { | 19 runtime.loadModulePromise("elements").then(function() { |
| 17 InspectorTest.expandConsoleMessages(callback); | 20 InspectorTest.expandConsoleMessages(callback); |
| 18 }); | 21 }); |
| 19 | 22 |
| 20 function callback() | 23 function callback() |
| 21 { | 24 { |
| 22 InspectorTest.dumpConsoleMessages(); | 25 InspectorTest.dumpConsoleMessages(); |
| 23 InspectorTest.completeTest(); | 26 InspectorTest.completeTest(); |
| 24 } | 27 } |
| 25 } | 28 } |
| 26 </script> | 29 </script> |
| 27 </head> | 30 </head> |
| 28 | 31 |
| 29 <body onload="onload()"> | 32 <body onload="onload()"> |
| 30 <p> | 33 <p> |
| 31 Tests that XML document contents are logged using the correct case in the consol
e. | 34 Tests that XML document contents are logged using the correct case in the consol
e. |
| 32 </p> | 35 </p> |
| 33 | 36 |
| 34 </body> | 37 </body> |
| 35 </html> | 38 </html> |
| OLD | NEW |