| 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 <script> | 5 <script> |
| 6 | 6 |
| 7 function logObjects() | 7 function logObjects() |
| 8 { | 8 { |
| 9 console.dir(window); | 9 console.dir(window); |
| 10 console.dir(document.getElementById("foo").createShadowRoot()); | 10 console.dir(document.getElementById("foo").createShadowRoot()); |
| 11 } | 11 } |
| 12 | 12 |
| 13 function test() | 13 function test() |
| 14 { | 14 { |
| 15 InspectorTest.evaluateInPage("logObjects()", step2); | 15 InspectorTest.evaluateInPage("logObjects()", step2); |
| 16 function step2() | 16 function step2() |
| 17 { | 17 { |
| 18 InspectorTest.addResult(InspectorTest.textContentWithLineBreaks(WebInspe
ctor.ConsolePanel._view()._topGroup._messagesElement)); | 18 InspectorTest.addResult(InspectorTest.textContentWithLineBreaks(WebInspe
ctor.ConsolePanel._view()._messagesContainer)); |
| 19 InspectorTest.completeTest(); | 19 InspectorTest.completeTest(); |
| 20 } | 20 } |
| 21 } | 21 } |
| 22 | 22 |
| 23 </script> | 23 </script> |
| 24 </head> | 24 </head> |
| 25 | 25 |
| 26 <body onload="runTest()"> | 26 <body onload="runTest()"> |
| 27 <div id="foo"></div> | 27 <div id="foo"></div> |
| 28 <p> | 28 <p> |
| 29 Tests that console does not log deprecated warning messages while dir-dumping ob
jects. | 29 Tests that console does not log deprecated warning messages while dir-dumping ob
jects. |
| 30 </p> | 30 </p> |
| 31 | 31 |
| 32 </body> | 32 </body> |
| 33 </html> | 33 </html> |
| OLD | NEW |