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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/audits/audits-panel-noimages-functional.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
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 .unused { 5 .unused {
6 color: green; 6 color: green;
7 } 7 }
8 </style> 8 </style>
9 <link rel="stylesheet" href="resources/audits-style1.css" type="text/css"> 9 <link rel="stylesheet" href="resources/audits-style1.css" type="text/css">
10 <script>function foo() { }</script> 10 <script>function foo() { }</script>
(...skipping 20 matching lines...) Expand all
31 return; 31 return;
32 WebInspector.AuditRuleResult.resourceDomain = function() { 32 WebInspector.AuditRuleResult.resourceDomain = function() {
33 return "[domain]"; 33 return "[domain]";
34 }; 34 };
35 35
36 InspectorTest.launchAllAudits(false, onAuditsFinished); 36 InspectorTest.launchAllAudits(false, onAuditsFinished);
37 } 37 }
38 38
39 function onAuditsFinished() 39 function onAuditsFinished()
40 { 40 {
41 InspectorTest.collectAuditResults(InspectorTest.completeTest); 41 InspectorTest.collectAuditResults();
42 InspectorTest.completeTest();
42 } 43 }
43 } 44 }
44 </script> 45 </script>
45 </head> 46 </head>
46 47
47 <body onload="runTest()"> 48 <body onload="runTest()">
48 Tests audit rules on a page without images. 49 Tests audit rules on a page without images.
49 <style> 50 <style>
50 .violation { color: red; } 51 .violation { color: red; }
51 </style> 52 </style>
52 <link rel="stylesheet" href="resources/audits-style1.css" type="text/css"> 53 <link rel="stylesheet" href="resources/audits-style1.css" type="text/css">
53 </body> 54 </body>
54 </html> 55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698