blob: 47319fb832d89b78915ab86439b0f7cf21aad079 [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: '<!--framePath //<!--frame0-->-->'
--------
PASS: canGet('parentWindow.location.href') should be 'false' and is.