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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/audits/audits-empty-stylesheet.html

Issue 1886603002: DevTools: remove InspectorTests.runAfterPendingDispatches call from audits tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pending-dispatches
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/audits/audits-panel-functional.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.or g/TR/html4/loose.dtd"> 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.or g/TR/html4/loose.dtd">
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 /* Empty stylesheet */ 5 /* Empty stylesheet */
6 </style> 6 </style>
7 <script src="../../http/tests/inspector/inspector-test.js"></script> 7 <script src="../../http/tests/inspector/inspector-test.js"></script>
8 <script src="audits-test.js"></script> 8 <script src="audits-test.js"></script>
9 9
10 <script> 10 <script>
11 function test() 11 function test()
12 { 12 {
13 InspectorTest.reloadPage(step1); 13 InspectorTest.reloadPage(step1);
14 14
15 function step1() 15 function step1()
16 { 16 {
17 WebInspector.AuditRuleResult.resourceDomain = function() { 17 WebInspector.AuditRuleResult.resourceDomain = function() {
18 return "[domain]"; 18 return "[domain]";
19 }; 19 };
20 20
21 InspectorTest.launchAllAudits(false, step2); 21 InspectorTest.launchAllAudits(false, step2);
22 } 22 }
23 23
24 function step2() 24 function step2()
25 { 25 {
26 InspectorTest.collectAuditResults(InspectorTest.completeTest); 26 InspectorTest.collectAuditResults();
27 InspectorTest.completeTest();
27 } 28 }
28 } 29 }
29 </script> 30 </script>
30 </head> 31 </head>
31 32
32 <body onload="runTest()"> 33 <body onload="runTest()">
33 <p>Tests running audits with a single empty stylesheet.</p> 34 <p>Tests running audits with a single empty stylesheet.</p>
34 </body> 35 </body>
35 </html> 36 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/audits/audits-panel-functional.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698