blob: bed92a61638b5526e41acf9622d9199b07589d3b [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 cross-origin frame. 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