| Index: third_party/WebKit/LayoutTests/inspector/coverage/multiple-instances-merge.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/coverage/multiple-instances-merge.html b/third_party/WebKit/LayoutTests/inspector/coverage/multiple-instances-merge.html
|
| index 795c9010d798f0fbae359a84ec82d3f6d0a4708b..f8ca86e6147fe39d788509b1e3e18ee92f5e2c31 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/coverage/multiple-instances-merge.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/coverage/multiple-instances-merge.html
|
| @@ -25,19 +25,10 @@ async function test()
|
| InspectorTest.addResult(`${url} ${type} used: ${data.usedSize()} unused: ${data.unusedSize()} total: ${data.size()}`);
|
| }
|
|
|
| - await dumpDecorationsInFile("highlight-in-source.css");
|
| - await dumpDecorationsInFile("coverage.js");
|
| + await InspectorTest.dumpDecorations("highlight-in-source.css")
|
| + await InspectorTest.dumpDecorations("coverage.js")
|
|
|
| InspectorTest.completeTest();
|
| -
|
| - async function dumpDecorationsInFile(file)
|
| - {
|
| - await InspectorTest.sourceDecorated(file);
|
| - var lines = Array.prototype.map.call(document.querySelectorAll(".text-editor-coverage-unused-marker"),
|
| - e => e.parentElement.previousSibling.textContent);
|
| - InspectorTest.addResult(`Unused lines in ${file}`);
|
| - InspectorTest.addResult(lines);
|
| - }
|
| }
|
|
|
| </script>
|
|
|