Update To 11.40.268.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     InspectorTest.reloadPage(step1);
14
15     function step1()
16     {
17         WebInspector.AuditRuleResult.resourceDomain = function() {
18             return "[domain]";
19         };
20
21         InspectorTest.launchAllAudits(false, step2);
22     }
23
24     function step2()
25     {
26         InspectorTest.collectAuditResults();
27         InspectorTest.completeTest();
28     }
29 }
30 </script>
31 </head>
32
33 <body onload="runTest()">
34 <p>Tests running audits with a single empty stylesheet.</p>
35 </body>
36 </html>