| 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.startApplicationCacheStatusesRecording(); | 14 InspectorTest.startApplicationCacheStatusesRecording(); |
| 15 InspectorTest.dumpApplicationCache(); | 15 InspectorTest.dumpApplicationCache(); |
| 16 InspectorTest.createAndNavigateIFrame("resources/page-with-manifest.php?mani
festId=with-non-existing-file", step1); | 16 InspectorTest.createAndNavigateIFrame("resources/page-with-manifest.php?mani
festId=with-non-existing-file", step1); |
| 17 | 17 |
| 18 function step1(frameId) | 18 function step1(frameId) |
| 19 { | 19 { |
| 20 frameId1 = frameId; | 20 frameId1 = frameId; |
| 21 // Waiting for at least two status events notifications from backend, to
make sure | 21 // Waiting for at least two status events notifications from backend, to
make sure |
| 22 // we are not completing test before loading application cache. | 22 // we are not completing test before loading application cache. |
| 23 InspectorTest.ensureFrameStatusEventsReceived(frameId, 2, step2) | 23 InspectorTest.ensureFrameStatusEventsReceived(frameId, 2, step2) |
| (...skipping 10 matching lines...) Expand all Loading... |
| 34 InspectorTest.completeTest(); | 34 InspectorTest.completeTest(); |
| 35 } | 35 } |
| 36 } | 36 } |
| 37 </script> | 37 </script> |
| 38 </head> | 38 </head> |
| 39 <body onload="runTest()"> | 39 <body onload="runTest()"> |
| 40 <p>Tests that application cache model keeps track of manifest urls and statuses
correctly when there is a non existing file listed in manifest.</p> | 40 <p>Tests that application cache model keeps track of manifest urls and statuses
correctly when there is a non existing file listed in manifest.</p> |
| 41 <a href="https://bugs.webkit.org/show_bug.cgi?id=64581">Bug 64581</a> | 41 <a href="https://bugs.webkit.org/show_bug.cgi?id=64581">Bug 64581</a> |
| 42 </body> | 42 </body> |
| 43 </html> | 43 </html> |
| OLD | NEW |