blob: 3fe2f92da0c441f30e1ae0a980ee4e07934f2c46 [file] [log] [blame]
CONSOLE MESSAGE: Cross origin requests are only supported for HTTP.
CONSOLE MESSAGE: XMLHttpRequest cannot load xmlhttprequest-no-file-access-expected.txt due to access control checks.
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.
--------
Frame: '<!--frame1-->'
--------
We're checking we can't read an arbitrary file when we set each file:// URI to have a unique domain.
Checking that same-origin iframes work.
Doing an XHR to an existing file.
Exception: A network error occurred.
Exception: Blocked a frame with origin "null" from accessing a cross-origin frame. Protocols, domains, and ports must match.
--------
Frame: '<!--frame2-->'
--------
Successful write into iframe