blob: 0a2da1a934fd8d76e7681c689486d6931dc30e9e [file] [log] [blame]
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: '<!--framePath //<!--frame0-->-->'
--------
PASS: canGet('parentWindow.location.href') should be 'false' and is.
PASS: accessThrowsException('parentWindow.location.href') should be 'true' and is.