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

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

Issue 881263002: DevTools: use target-based model accessors only. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 function onPageReloaded() 59 function onPageReloaded()
60 { 60 {
61 pageReloaded = true; 61 pageReloaded = true;
62 maybeStylesheetsLoaded(); 62 maybeStylesheetsLoaded();
63 } 63 }
64 64
65 function maybeStylesheetsLoaded() 65 function maybeStylesheetsLoaded()
66 { 66 {
67 if (!pageReloaded) 67 if (!pageReloaded)
68 return; 68 return;
69 if (WebInspector.cssModel.styleSheetHeaders().length !== pendingStyleShe etsCount) 69 if (InspectorTest.cssModel.styleSheetHeaders().length !== pendingStyleSh eetsCount)
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 {
(...skipping 12 matching lines...) Expand all
92 <link rel="stylesheet" href="resources/audits-style1.css" type="text/css"> 92 <link rel="stylesheet" href="resources/audits-style1.css" type="text/css">
93 <img src="foo1.jpg"> 93 <img src="foo1.jpg">
94 <img src="foo2.jpg" width=100> 94 <img src="foo2.jpg" width=100>
95 <img src="foo3.jpg" style="position: absolute"> 95 <img src="foo3.jpg" style="position: absolute">
96 <img src="foo4.jpg" style="width: 16px; height: 16px"> 96 <img src="foo4.jpg" style="width: 16px; height: 16px">
97 <span>Text</span> 97 <span>Text</span>
98 <a>Link</a> 98 <a>Link</a>
99 99
100 </body> 100 </body>
101 </html> 101 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector-enabled/sources/debugger/linkifier.html ('k') | LayoutTests/inspector/console/console-clear.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698