20 lines
684 B
HTML
20 lines
684 B
HTML
<html><!-- webkit-test-runner [ AllowUniversalAccessFromFileURLs=false AllowFileAccessFromFileURLs=false ] -->
|
|
<head>
|
|
<script>
|
|
if (window.testRunner) {
|
|
testRunner.dumpAsText();
|
|
testRunner.waitUntilDone();
|
|
testRunner.dumpChildFramesAsText();
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<iframe src="resources/xmlhttprequest-no-file-access-real.html"></iframe>
|
|
<div id="results"></div>
|
|
The child iframe cannot paste its textual results into this iframe because it
|
|
is considered a different domain - that's the point of this test!
|
|
Therefore, success is denoted by the child iframe calling notifyDone.
|
|
The test will hang if something goes amiss with the access control checks.
|
|
</body>
|
|
</html>
|