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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/coverage/gutter-js.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 <script src="resources/coverage.js"></script> 6 <script src="resources/coverage.js"></script>
7 7
8 <script> 8 <script>
9 9
10 async function test() 10 async function test()
11 { 11 {
12 InspectorTest.startCoverage(); 12 InspectorTest.startCoverage();
13 await InspectorTest.evaluateInPagePromise("performActions()"); 13 await InspectorTest.evaluateInPagePromise("performActions()");
14 await InspectorTest.stopCoverage(); 14 await InspectorTest.stopCoverage();
15 await InspectorTest.sourceDecorated("coverage.js"); 15 await InspectorTest.dumpDecorations("coverage.js");
16
17 var lines = Array.prototype.map.call(document.querySelectorAll(".text-editor -coverage-unused-marker"),
18 e => e.parentElement.previousSibling.te xtContent);
19 InspectorTest.addResult(lines);
20 InspectorTest.completeTest(); 16 InspectorTest.completeTest();
21 } 17 }
22 </script> 18 </script>
23 </head> 19 </head>
24 <p id="id">PASS</p> 20 <p id="id">PASS</p>
25 <body onload="runTest()"> 21 <body onload="runTest()">
26 <p>Tests the coverage highlight in sources after the recording finishes.</p> 22 <p>Tests the coverage highlight in sources after the recording finishes.</p>
27 </body> 23 </body>
28 </html> 24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698