| Index: LayoutTests/inspector/editor/highlighter-chunk-limit.html
|
| diff --git a/LayoutTests/inspector/editor/highlighter-chunk-limit.html b/LayoutTests/inspector/editor/highlighter-chunk-limit.html
|
| deleted file mode 100644
|
| index bdf17a375381dc4544a3f1ae600bedabaac1029e..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/inspector/editor/highlighter-chunk-limit.html
|
| +++ /dev/null
|
| @@ -1,42 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<script src="../../http/tests/inspector/inspector-test.js"></script>
|
| -<script src="highlighter-test.js"></script>
|
| -<script>
|
| -
|
| -function test()
|
| -{
|
| -
|
| - var singleLine = "this.field = this.field = \"foo\"; /* comment here */ this.otherField = 12; // end of line\n";
|
| - src = "";
|
| - for (var i = 0; i < 10; ++i)
|
| - src += singleLine;
|
| -
|
| - var textModel = new WebInspector.TextEditorModel();
|
| - textModel.setText(src);
|
| -
|
| - function damageCallback(startLine, endLine)
|
| - {
|
| - if (endLine === textModel.linesCount) {
|
| - InspectorTest.addResult("Highlighter results");
|
| - InspectorTest.dumpTextModel(textModel);
|
| - InspectorTest.completeTest();
|
| - }
|
| - }
|
| -
|
| - var highlighter = new WebInspector.TextEditorHighlighter(textModel, damageCallback);
|
| - highlighter.mimeType = "text/javascript";
|
| - highlighter.highlightChunkLimit = 3;
|
| - highlighter.highlight(textModel.linesCount);
|
| -}
|
| -
|
| -</script>
|
| -</head>
|
| -
|
| -<body onload="runTest()">
|
| -<p>
|
| -This test checks highlighting with specific highlightChunkLimit.
|
| -</p>
|
| -
|
| -</body>
|
| -</html>
|
|
|