blob: 4499dbf4e263c4588f2790cda93583386fc6f003 [file] [log] [blame]
CONSOLE MESSAGE: SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame. Protocols, domains, and ports must match.
Test that a child frame can't define a function and the use it to access parent properties after document.domain write blocks the access.
--------
Frame: '<!--frame1-->'
--------
PASS: canGet('parentWindow.location.href') should be 'false' and is.