4 if (window.layoutTestController) {
5 layoutTestController.dumpAsText();
6 layoutTestController.waitUntilDone();
7 layoutTestController.setAllowUniversalAccessFromFileURLs(false);
8 layoutTestController.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.