Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / audits / audits-empty-stylesheet.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html>
3 <head>
4 <style>
5 /* Empty stylesheet */
6 </style>
7 <script src="../../http/tests/inspector/inspector-test.js"></script>
8 <script src="audits-test.js"></script>
9
10 <script>
11 function test()
12 {
13     WebInspector.showPanel("audits");
14     InspectorTest.reloadPage(step1);
15
16     function step1()
17     {
18         WebInspector.AuditRuleResult.resourceDomain = function() {
19             return "[domain]";
20         };
21
22         InspectorTest.launchAllAudits(false, step2);
23     }
24
25     function step2()
26     {
27         InspectorTest.collectAuditResults();
28         InspectorTest.completeTest();
29     }
30 }
31 </script>
32 </head>
33
34 <body onload="runTest()">
35 <p>Tests running audits with a single empty stylesheet.</p>
36 </body>
37 </html>