Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / inspector / appcache / appcache-iframe-manifests.html
blobfb9a44a487cfee718812fec5f8910738678f4dc5
1 <html>
2 <head>
3 <script src="../inspector-test.js"></script>
4 <script src="../resources-test.js"></script>
5 <script src="appcache-test.js"></script>
6 <script>
7 function test()
9 var frameId1;
10 var frameId2;
11 var frameId3;
13 WebInspector.ResourcesPanel.show();
14 InspectorTest.dumpApplicationCache();
15 InspectorTest.createAndNavigateIFrame("resources/page-with-manifest.php?manifestId=1", step1);
17 function step1(frameId)
19 frameId1 = frameId;
20 InspectorTest.waitForFrameManifestURLAndStatus(frameId1, "manifest.php?manifestId=1", applicationCache.IDLE, step2);
23 function step2()
25 InspectorTest.dumpApplicationCache();
26 InspectorTest.navigateIFrame(frameId1, "resources/page-with-manifest.php?manifestId=2", step3);
29 function step3()
31 InspectorTest.waitForFrameManifestURLAndStatus(frameId1, "manifest.php?manifestId=2", applicationCache.IDLE, step4);
34 function step4()
36 InspectorTest.dumpApplicationCache();
37 InspectorTest.createAndNavigateIFrame("resources/page-with-manifest.php?manifestId=1", step5);
40 function step5(frameId)
42 frameId2 = frameId;
43 InspectorTest.waitForFrameManifestURLAndStatus(frameId2, "manifest.php?manifestId=1", applicationCache.IDLE, step6);
46 function step6()
48 InspectorTest.dumpApplicationCache();
49 InspectorTest.createAndNavigateIFrame("resources/page-with-manifest.php?manifestId=1", step7);
52 function step7(frameId)
54 frameId3 = frameId;
55 InspectorTest.waitForFrameManifestURLAndStatus(frameId3, "manifest.php?manifestId=1", applicationCache.IDLE, step8);
58 function step8()
60 InspectorTest.waitForFrameManifestURLAndStatus(frameId2, "manifest.php?manifestId=1", applicationCache.IDLE, step9);
63 function step9()
65 InspectorTest.dumpApplicationCache();
66 InspectorTest.removeIFrame(frameId3, step10);
69 function step10()
71 InspectorTest.waitForFrameManifestURLAndStatus(frameId3, "", applicationCache.UNCACHED, step11);
74 function step11()
76 InspectorTest.dumpApplicationCache();
77 InspectorTest.removeIFrame(frameId2, step12);
80 function step12()
82 InspectorTest.waitForFrameManifestURLAndStatus(frameId2, "", applicationCache.UNCACHED, step13);
85 function step13()
87 InspectorTest.dumpApplicationCache();
88 InspectorTest.removeIFrame(frameId1, step14);
91 function step14()
93 InspectorTest.waitForFrameManifestURLAndStatus(frameId1, "", applicationCache.UNCACHED, step15);
96 function step15()
98 InspectorTest.dumpApplicationCache();
99 InspectorTest.completeTest();
102 </script>
103 </head>
104 <body onload="runTest()">
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>
107 </body>
108 </html>