Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / appcache / manifest-containing-itself.html
blob92c7746f4519906c4b36f8bbbdc785079ca1835a
1 <html manifest="resources/manifest-containing-itself.manifest">
3 <div>This tests that a manifest can contain itself as a resource.</div>
4 <div id="result">FAILURE</div>
6 <script>
7 if (window.testRunner) {
8 testRunner.dumpAsText()
9 testRunner.waitUntilDone();
12 function cached()
14 document.getElementById('result').innerHTML = 'SUCCESS';
16 if (window.testRunner)
17 testRunner.notifyDone();
20 applicationCache.addEventListener('cached', cached, false);
21 applicationCache.addEventListener('noupdate', cached, false);
23 </script>
24 </html>