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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/audits/audits-panel-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 @media all { 5 @media all {
6 6
7 /* This is a comment to use some space before the unused rule */ 7 /* This is a comment to use some space before the unused rule */
8 8
9 .unused { 9 .unused {
10 color: green; 10 color: green;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 return; 70 return;
71 WebInspector.AuditRuleResult.resourceDomain = function() { 71 WebInspector.AuditRuleResult.resourceDomain = function() {
72 return "[domain]"; 72 return "[domain]";
73 }; 73 };
74 74
75 InspectorTest.launchAllAudits(false, onAuditsFinished); 75 InspectorTest.launchAllAudits(false, onAuditsFinished);
76 } 76 }
77 77
78 function onAuditsFinished() 78 function onAuditsFinished()
79 { 79 {
80 InspectorTest.collectAuditResults(InspectorTest.completeTest); 80 InspectorTest.collectAuditResults();
81 InspectorTest.completeTest();
81 } 82 }
82 } 83 }
83 </script> 84 </script>
84 </head> 85 </head>
85 86
86 <body onload="runTest()"> 87 <body onload="runTest()">
87 <p>Tests audit rules.</p> 88 <p>Tests audit rules.</p>
88 <style> 89 <style>
89 .violation { color: red; -webkit-border-radius: 3px; } 90 .violation { color: red; -webkit-border-radius: 3px; }
90 </style> 91 </style>
91 <link rel="stylesheet" href="resources/audits-style1.css" type="text/css"> 92 <link rel="stylesheet" href="resources/audits-style1.css" type="text/css">
92 <img src="foo1.jpg"> 93 <img src="foo1.jpg">
93 <img src="foo2.jpg" width=100> 94 <img src="foo2.jpg" width=100>
94 <img src="foo3.jpg" style="position: absolute"> 95 <img src="foo3.jpg" style="position: absolute">
95 <img src="foo4.jpg" style="width: 16px; height: 16px"> 96 <img src="foo4.jpg" style="width: 16px; height: 16px">
96 <span>Text</span> 97 <span>Text</span>
97 <a>Link</a> 98 <a>Link</a>
98 99
99 </body> 100 </body>
100 </html> 101 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698