| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../inspector-test.js"></script> | 3 <script src="../inspector-test.js"></script> |
| 4 <script src="../resources-test.js"></script> | 4 <script src="../resources-test.js"></script> |
| 5 <script src="appcache-test.js"></script> | 5 <script src="appcache-test.js"></script> |
| 6 <script> | 6 <script> |
| 7 function test() | 7 function test() |
| 8 { | 8 { |
| 9 var frameId1; | 9 var frameId1; |
| 10 var frameId2; | 10 var frameId2; |
| 11 var frameId3; | 11 var frameId3; |
| 12 | 12 |
| 13 WebInspector.viewManager.showView("resources"); | 13 UI.viewManager.showView("resources"); |
| 14 InspectorTest.dumpApplicationCache(); | 14 InspectorTest.dumpApplicationCache(); |
| 15 InspectorTest.createAndNavigateIFrame("resources/page-with-manifest.php?mani
festId=1", step1); | 15 InspectorTest.createAndNavigateIFrame("resources/page-with-manifest.php?mani
festId=1", step1); |
| 16 | 16 |
| 17 function step1(frameId) | 17 function step1(frameId) |
| 18 { | 18 { |
| 19 frameId1 = frameId; | 19 frameId1 = frameId; |
| 20 InspectorTest.waitForFrameManifestURLAndStatus(frameId1, "manifest.php?m
anifestId=1", applicationCache.IDLE, step2); | 20 InspectorTest.waitForFrameManifestURLAndStatus(frameId1, "manifest.php?m
anifestId=1", applicationCache.IDLE, step2); |
| 21 } | 21 } |
| 22 | 22 |
| 23 function step2() | 23 function step2() |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 InspectorTest.completeTest(); | 99 InspectorTest.completeTest(); |
| 100 } | 100 } |
| 101 } | 101 } |
| 102 </script> | 102 </script> |
| 103 </head> | 103 </head> |
| 104 <body onload="runTest()"> | 104 <body onload="runTest()"> |
| 105 <p>Tests that application cache model keeps track of manifest urls and statuses
correctly.</p> | 105 <p>Tests that application cache model keeps track of manifest urls and statuses
correctly.</p> |
| 106 <a href="https://bugs.webkit.org/show_bug.cgi?id=64581">Bug 64581</a> | 106 <a href="https://bugs.webkit.org/show_bug.cgi?id=64581">Bug 64581</a> |
| 107 </body> | 107 </body> |
| 108 </html> | 108 </html> |
| OLD | NEW |