4 if (window
.testRunner
) {
5 testRunner
.dumpAsText();
6 testRunner
.waitUntilDone();
7 testRunner
.setAllowUniversalAccessFromFileURLs(false);
8 testRunner
.setAllowFileAccessFromFileURLs(false);
13 <iframe src=
"resources/xmlhttprequest-no-file-access-real.html"></iframe>
14 <div id=
"results"></div>
15 The child iframe cannot paste its textual results into this iframe because it
16 is considered a different domain - that's the point of this test!
17 Therefore, success is denoted by the child iframe calling notifyDone.
18 The test will hang if something goes amiss with the access control checks.