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.