OLD | NEW |
1 CONSOLE ERROR: line 6: Unsafe JavaScript attempt to initiate navigation for fram
e with URL 'sandboxed-iframe-navigation-source.html'. The frame attempting navig
ation is sandboxed, and is therefore disallowed from navigating its ancestors. | 1 CONSOLE ERROR: line 6: Unsafe JavaScript attempt to initiate navigation for fram
e with URL 'sandboxed-iframe-navigation-source.html'. The frame attempting navig
ation is sandboxed, and is therefore disallowed from navigating its ancestors. |
2 | 2 |
3 CONSOLE ERROR: line 6: Uncaught SecurityError: Failed to execute 'replace' on 'L
ocation': The current window does not have permission to navigate the target fra
me to 'sandboxed-iframe-navigated.html'. | 3 CONSOLE ERROR: line 6: Uncaught SecurityError: Failed to execute 'replace' on 'L
ocation': The current window does not have permission to navigate the target fra
me to 'sandboxed-iframe-navigated.html'. |
4 This test verifies that a sandboxed IFrame cannot navigate an ancestor in the fr
ame tree by assigning the location attribute. | 4 This test verifies that a sandboxed IFrame cannot navigate an ancestor in the fr
ame tree by assigning the location attribute. |
5 | 5 |
6 This is done by loading ten non-sandboxed IFrames, and a single sandboxed one. E
xpect ten frames to be navigated, but the sandboxed one to not be one of them. | 6 This is done by loading ten non-sandboxed IFrames, and a single sandboxed one. E
xpect ten frames to be navigated, but the sandboxed one to not be one of them. |
7 | 7 |
8 This test will print "PASS" on success. | 8 This test will print "PASS" on success. |
9 | 9 |
10 | 10 |
11 PASS | 11 PASS |
OLD | NEW |