blob: 4ca70b7ee8afc30f96d0676491f2b7f81d4c05ae [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.