| 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 |
| 6 <style>/* unterminated comment </style> | 6 <style>/* unterminated comment </style> |
| 7 <style>/*</style> | 7 <style>/*</style> |
| 8 | 8 |
| 9 <style>/* terminated comment */</style> | 9 <style>/* terminated comment */</style> |
| 10 <style>/* terminated comment *//*</style> | 10 <style>/* terminated comment *//*</style> |
| 11 | 11 |
| 12 <script> | 12 <script> |
| 13 | 13 |
| 14 function test() | 14 function test() |
| 15 { | 15 { |
| 16 WebInspector.consoleModel.messages().forEach(function(message) | 16 InspectorTest.consoleModel.messages().forEach(function(message) |
| 17 { | 17 { |
| 18 InspectorTest.addResult(message.message + " (line " + message.line + ")"
); | 18 InspectorTest.addResult(message.message + " (line " + message.line + ")"
); |
| 19 }); | 19 }); |
| 20 | 20 |
| 21 InspectorTest.completeTest(); | 21 InspectorTest.completeTest(); |
| 22 } | 22 } |
| 23 | 23 |
| 24 </script> | 24 </script> |
| 25 </head> | 25 </head> |
| 26 | 26 |
| 27 <body onload="runTest()"> | 27 <body onload="runTest()"> |
| 28 <p id="p">Tests that unterminated comment in CSS generates a warning.</p> | 28 <p id="p">Tests that unterminated comment in CSS generates a warning.</p> |
| 29 </body> | 29 </body> |
| 30 </html> | 30 </html> |
| OLD | NEW |