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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/coverage/gutter-css.html

Issue 2763183002: DevTools: remove nesting depth tracking from coverage (Closed)
Patch Set: DevTools: remove nesting depth tracking from coverage Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/debugger-test.js"></script> 4 <script src="../../http/tests/inspector/debugger-test.js"></script>
5 <script src="coverage-test.js"></script> 5 <script src="coverage-test.js"></script>
6 6
7 <link rel="stylesheet" type="text/css" href="resources/highlight-in-source.css"> 7 <link rel="stylesheet" type="text/css" href="resources/highlight-in-source.css">
8 <script> 8 <script>
9 9
10 var initialize_Coverage = function() { 10 var initialize_Coverage = function() {
11 InspectorTest.preloadModule("coverage"); 11 InspectorTest.preloadModule("coverage");
12 } 12 }
13 13
14 async function test() 14 async function test()
15 { 15 {
16 InspectorTest.startCoverage(); 16 InspectorTest.startCoverage();
17 await InspectorTest.evaluateInPagePromise("performActions()"); 17 await InspectorTest.evaluateInPagePromise("performActions()");
18 await InspectorTest.stopCoverage(); 18 await InspectorTest.stopCoverage();
19 await InspectorTest.sourceDecorated("highlight-in-source.css"); 19 await InspectorTest.dumpDecorations("highlight-in-source.css");
20
21 var lines = Array.prototype.map.call(document.querySelectorAll(".text-editor -coverage-unused-marker"),
22 e => e.parentElement.previousSibling.te xtContent);
23 InspectorTest.addResult(lines);
24 InspectorTest.completeTest(); 20 InspectorTest.completeTest();
25 } 21 }
26 </script> 22 </script>
27 </head> 23 </head>
28 <p id="id">PASS</p> 24 <p id="id">PASS</p>
29 <body onload="runTest()"> 25 <body onload="runTest()">
30 <p>Tests the coverage highlight in sources after the recording finishes.</p> 26 <p>Tests the coverage highlight in sources after the recording finishes.</p>
31 </body> 27 </body>
32 </html> 28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698