| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |