Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(571)

Side by Side Diff: LayoutTests/inspector/console/console-css-unterminated-comment.html

Issue 396993003: DevTools: get rid of WebInspector.cssModel, use target models instead (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 WebInspector.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>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/console/command-line-api.html ('k') | LayoutTests/inspector/console/console-css-warnings.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698