| CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL data:text/html,%3Chtml%3E%3Chead%3E%3Cscript%3Efunction%20fireSentinel()%20{if%20(window.layoutTestController)layoutTestController.globalFlag%20=%20true;}%3C/script%3E%3C/head%3E%3Cbody%20onload=%22fireSentinel();%22%3E%3Cp%20id=%22accessMe%22%3EPASS:%20Cross%20frame%20access%20to%20a%20data:%20URL%202%20levels%20deep%20was%20denied.%3C/p%3E%3Cp%3EInner-inner%20iframe.%3C/p%3E%3C/body%3E%3C/html%3E from frame with URL http://127.0.0.1:8000/security/dataURL/xss-DENIED-to-data-url-sub-frame-2-level.html. Domains, protocols and ports must match. |
| |
| This tests that the main frame doesn't have access to a data: URL loaded in an iframe inside another data: URL loaded iframe. |
| |
| Test |
| PASS: Cross frame access to a data: URL 2 levels deep was denied. |
| |
| |
| -------- |
| Frame: 'aFrame' |
| -------- |
| Inner iframe. |
| |
| |
| |
| -------- |
| Frame: '<!--framePath //aFrame/<!--frame0-->-->' |
| -------- |
| PASS: Cross frame access to a data: URL 2 levels deep was denied. |
| |
| Inner-inner iframe. |