Home | History | Annotate | Download | only in resources
      1 <html manifest="quota-origin-iframe-2.manifest">
      2 <script>
      3 // iframe-2 is expected to fail due to exceeding the origin quota.
      4 applicationCache.oncached = function() { parent.postMessage("FAIL - cached iframe-2, expected this this fail because it reached the quota", "*"); };
      5 applicationCache.onerror = function() { parent.postMessage("PASS - error caching iframe-2 as expected", "*"); };
      6 applicationCache.onnoupdate = function() { parent.postMessage("FAIL - no update iframe-2, all caches should have been deleted before this test", "*"); };
      7 </script>
      8 </html>
      9