OLD | NEW |
1 CONSOLE MESSAGE: Sandbox access violation: Blocked a frame at "http://127.0.0.1:
8000" from accessing a frame at "http://127.0.0.1:8000". The frame requesting a
ccess is sandboxed and lacks the "allow-same-origin" flag. | 1 CONSOLE MESSAGE: line 9: Uncaught SecurityError: Sandbox access violation: Block
ed a frame at "http://127.0.0.1:8000" from accessing a frame at "http://127.0.0.
1:8000". The frame requesting access is sandboxed and lacks the "allow-same-ori
gin" flag. |
2 This is a "sanity" test case to verify that a sandboxed frame cannot break out o
f its sandbox by modifying its own sandbox attribute. Two attempts are made: | 2 This is a "sanity" test case to verify that a sandboxed frame cannot break out o
f its sandbox by modifying its own sandbox attribute. Two attempts are made: |
3 | 3 |
4 First, an attempt is made to modify the sandbox attribute of the "self" object,
referring to the frame's window. This should not have any effect (the attribute
is associated with the iframe DOM node, not the window). No warning is expected. | 4 First, an attempt is made to modify the sandbox attribute of the "self" object,
referring to the frame's window. This should not have any effect (the attribute
is associated with the iframe DOM node, not the window). No warning is expected. |
5 Second, an attempt is made to modify the iframe DOM object's sandbox attribute.
A warning message (about cross-site scripting) is expected, and the sandbox attr
ibute should remain intact. | 5 Second, an attempt is made to modify the iframe DOM object's sandbox attribute.
A warning message (about cross-site scripting) is expected, and the sandbox attr
ibute should remain intact. |
6 This test will print "PASS" on success. | 6 This test will print "PASS" on success. |
7 | 7 |
8 PASS | 8 PASS |
9 | 9 |
10 | 10 |
OLD | NEW |