blob: 178b1aa918f7c0859d943963886314157938de42 [file] [log] [blame]
CONSOLE MESSAGE: line 23: Cross origin requests are only supported for HTTP.
CONSOLE MESSAGE: line 23: 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: '<!--framePath //<!--frame0-->-->'
--------
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: 'f'
--------
Successful write into iframe