Index: third_party/WebKit/LayoutTests/inspector/coverage/decorations-after-inplace-formatter.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/coverage/decorations-after-inplace-formatter.html b/third_party/WebKit/LayoutTests/inspector/coverage/decorations-after-inplace-formatter.html |
deleted file mode 100644 |
index 21ac8a47c605d343a24a1c0ef8c73a9a4535d895..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/inspector/coverage/decorations-after-inplace-formatter.html |
+++ /dev/null |
@@ -1,41 +0,0 @@ |
-<html> |
-<head> |
-<script src="../../http/tests/inspector/inspector-test.js"></script> |
-<script src="../../http/tests/inspector/debugger-test.js"></script> |
-<script src="../../http/tests/inspector/sources-test.js"></script> |
-<script src="coverage-test.js"></script> |
- |
-<link rel="stylesheet" type="text/css" href="resources/decorations-after-inplace-formatter.css"> |
- |
-<script> |
-async function test() |
-{ |
- InspectorTest.startCoverage(); |
- await InspectorTest.evaluateInPagePromise("performActions()"); |
- await InspectorTest.stopCoverage(); |
- await UI.inspectorView.showPanel("sources"); |
- var formatter = await inplaceFormatter(); |
- var sourceFrame = await InspectorTest.sourceDecorated("decorations-after-inplace-formatter.css"); |
- var decoratorPromise = InspectorTest.addSnifferPromise(Coverage.CoverageView.LineDecorator.prototype, "decorate"); |
- formatter._formatSourceInPlace(); |
- await decoratorPromise; |
- |
- InspectorTest.dumpDecorationsInSourceFrame(sourceFrame); |
- InspectorTest.completeTest(); |
- |
- async function inplaceFormatter() |
- { |
- var editorActions = await self.runtime.allInstances(Sources.SourcesView.EditorAction); |
- for (var i = 0; i < editorActions.length; ++i) { |
- if (editorActions[i] instanceof Sources.InplaceFormatterEditorAction) |
- return editorActions[i]; |
- } |
- } |
-} |
-</script> |
-</head> |
-<p id="id">PASS</p> |
-<body onload="runTest()"> |
-<p>Tests the CSS highlight in sources after the Pretty print formatting.</p> |
-</body> |
-</html> |