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

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

Issue 18345005: Reporting unterminated comments in CSS. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/inspector/console/console-css-unterminated-comment-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/console/console-css-unterminated-comment.html
diff --git a/LayoutTests/inspector/console/console-log-syntax-error.html b/LayoutTests/inspector/console/console-css-unterminated-comment.html
similarity index 55%
copy from LayoutTests/inspector/console/console-log-syntax-error.html
copy to LayoutTests/inspector/console/console-css-unterminated-comment.html
index 967d7a4c74875471236362e95b4a8053376e1e57..00236754935d4bab5a0865d4779ee7a4d48d6a63 100644
--- a/LayoutTests/inspector/console/console-log-syntax-error.html
+++ b/LayoutTests/inspector/console/console-css-unterminated-comment.html
@@ -2,18 +2,25 @@
<head>
<script src="../../http/tests/inspector/inspector-test.js"></script>
<script src="../../http/tests/inspector/console-test.js"></script>
-<script src="resources/syntax-error.js"></script>
+
+<style>/*</style>
apavlov 2013/07/01 14:46:04 We need to check other cases, like valid terminate
SeRya 2013/07/02 08:27:56 Done.
+
<script>
+
function test()
{
- InspectorTest.dumpConsoleMessages();
+ WebInspector.console.messages.forEach(function(message)
+ {
+ InspectorTest.addResult(message.message);
+ });
+
InspectorTest.completeTest();
}
+
</script>
</head>
+
<body onload="runTest()">
-<p>
-Tests that syntax errors are logged into console and doesn't cause browser crash.
-</p>
+<p id="p">Tests that unterminated comment in CSS generates a warning.</p>
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/inspector/console/console-css-unterminated-comment-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698