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 | |