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

Unified Diff: LayoutTests/inspector/editor/text-editor-model.html

Issue 22638008: DevTools: Use CodeMirror modes instead of highlight tokenizers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address comments Created 7 years, 4 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
Index: LayoutTests/inspector/editor/text-editor-model.html
diff --git a/LayoutTests/inspector/editor/text-editor-model.html b/LayoutTests/inspector/editor/text-editor-model.html
deleted file mode 100644
index 2edb8a343286413de64fabc2d7424b7ad235da50..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/editor/text-editor-model.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<html>
-<head>
-<script src="../../http/tests/inspector/inspector-test.js"></script>
-<script>
-
-function test()
-{
- function createAndDumpTextModel(text)
- {
- var textModel = new WebInspector.TextEditorModel();
- textModel.setText(text);
- InspectorTest.addResult("Lines:" + textModel.linesCount + ", length:" + textModel.text().length + ", input equals output:" + (textModel.text() === text));
- }
-
- createAndDumpTextModel("1\n2\n\n");
- createAndDumpTextModel("1\r\n2\r\n\r\n");
- createAndDumpTextModel("1\n2\n\r\n");
- createAndDumpTextModel("no line breaks");
-
- InspectorTest.completeTest();
-}
-
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-This test checks the text editor model.
-</p>
-
-</body>
-</html>
« no previous file with comments | « LayoutTests/inspector/editor/text-editor-mark-clean.html ('k') | LayoutTests/inspector/editor/text-editor-model-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698