blob: edb9ac695d3c5f444c394c8e1ac47544e6204f0e [file] [log] [blame]
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpChildFramesAsText();
testRunner.waitUntilDone();
}
function finishTest(frame) {
if (window.testRunner) {
testRunner.setPrivateBrowsingEnabled(false);
testRunner.notifyDone();
}
}
function enterPrivateBrowsing(frame) {
if (window.testRunner)
testRunner.setPrivateBrowsingEnabled(true);
frame.onload = finishTest;
frame.contentWindow.location.reload();
}
</script>
</head>
<body>
<p>This test passes if the application cache does not load while in private browsing</p>
<iframe src="resources/frame-for-appcache-in-private-browsing.html" onload="enterPrivateBrowsing(this)"></iframe>
</body>
</html>