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

Side by Side Diff: LayoutTests/inspector/audits/audits-panel-functional.html

Issue 6756040: Merge 82453 - 2011-03-30 Andrey Kosyakov <caseq@chromium.org> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/696/
Patch Set: Created 9 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 | Source/WebCore/inspector/front-end/AuditRules.js » ('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 .unused { 5 .unused {
6 color: green; 6 color: green;
7 } 7 }
8 </style> 8 </style>
9 <script src="../../http/tests/inspector/inspector-test.js"></script> 9 <script src="../../http/tests/inspector/inspector-test.js"></script>
10 <script src="audits-test.js"></script> 10 <script src="audits-test.js"></script>
11 11
12 <!-- These scripts are needed to result in a violation of the max JS resource co unt from the same domain --> 12 <!-- These scripts are needed to result in a violation of the max JS resource co unt from the same domain -->
13 <script src="resources/audits-script1.js"></script> 13 <script src="resources/audits-script1.js"></script>
14 <link rel="stylesheet" href="resources/audits-style1.css" type="text/css"> 14 <link rel="stylesheet" href="resources/audits-style1.css" type="text/css">
15 <script src="resources/audits-script2.js"></script> 15 <script src="resources/audits-script2.js"></script>
16 <script> 16 <script>
17 var test = function() 17 var test = function()
18 { 18 {
19 WebInspector.showPanel("elements");
20
21 InspectorTest.reloadPage(step1); 19 InspectorTest.reloadPage(step1);
22 20
23 function step1() 21 function step1()
24 { 22 {
25 WebInspector.AuditRuleResult.resourceDomain = function() { 23 WebInspector.AuditRuleResult.resourceDomain = function() {
26 return "[domain]"; 24 return "[domain]";
27 }; 25 };
28 26
29 var launcherView = WebInspector.panels.audits._launcherView; 27 var launcherView = WebInspector.panels.audits._launcherView;
30 launcherView._selectAllClicked(true); 28 launcherView._selectAllClicked(true);
(...skipping 18 matching lines...) Expand all
49 .violation { color: red; } 47 .violation { color: red; }
50 </style> 48 </style>
51 <link rel="stylesheet" href="resources/audits-style1.css" type="text/css"> 49 <link rel="stylesheet" href="resources/audits-style1.css" type="text/css">
52 <img src="foo1.jpg"> 50 <img src="foo1.jpg">
53 <img src="foo2.jpg" width=100> 51 <img src="foo2.jpg" width=100>
54 <img src="foo3.jpg" style="position: absolute"> 52 <img src="foo3.jpg" style="position: absolute">
55 <img src="foo4.jpg" style="width: 16px; height: 16px"> 53 <img src="foo4.jpg" style="width: 16px; height: 16px">
56 54
57 </body> 55 </body>
58 </html> 56 </html>
OLDNEW
« no previous file with comments | « no previous file | Source/WebCore/inspector/front-end/AuditRules.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698