blob: a22b990223196f18a94937b1ff767f9946c1ede2 [file] [log] [blame]
CONSOLE MESSAGE: line 57: 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.