blob: 32c92d564709d890477d963d07df83e9f5446545 [file] [log] [blame]
CONSOLE MESSAGE: Blocked a frame with origin "null" from accessing a frame with origin "http://127.0.0.1:8000". The frame requesting access has a protocol of "data", the frame being accessed has a protocol of "http". Protocols must match.
ALERT: PASS: Exception thrown successfully.
The scenario for this test is that you have an iframe with content from a foreign domain. In that foreign content is an iframe which loads a data: URL. This tests that the data: URL loaded iframe does not have access to the main frame using top.document.
Pass: Cross frame access from a data: URL on a different domain was denied.
--------
Frame: 'aFrame'
--------
Inner iframe on a foreign domain.
--------
Frame: 'aFrame'
--------
Inner-inner iframe. This iframe (which is data: URL and whose parent is on a foreign domain) is the frame attempting to access the main frame. It should not have access to it.