blob: 4e085c5f0e8391e9a8b6b888157f2eee3fa064e0 [file] [log] [blame]
<!DOCTYPE html>
<html>
<script>
var check = 0;
function iframeLoaded() {
check = 1;
}
function documentLoaded() {
if (check == 1)
document.write("Fail: A cross partition resource was loaded");
else
document.write("Pass: A cross partition resource was blocked from loading");
}
</script>
<body onload="documentLoaded()">
<iframe src="file:///Volumes/resources/CrossPartitionFileSchemeAccess.html" onload="iframeLoaded();"></iframe>
</body>
</html>