blob: 521e93b5c77e3e1b007400e11ce543a8fcde1509 [file] [log] [blame]
This test checks cross-frame access security for first-time access to the document (rdar://problem/5251309).
PASS: Exception thrown trying to get cross-domain document: SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
canGet(frames[0], 'document'): false
canGet(frames[0].document, 'cookie'): false
canGet(frames[0].document, 'body'): false
canGet(frames[0].document, 'location'): false