1 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.
6 Frame: '<!--framePath //<!--frame0-->-->'
8 PASS: canGet('parentWindow.location.href') should be 'false' and is.
9 PASS: accessThrowsException('parentWindow.location.href') should be 'true' and is.