| OLD | NEW |
| 1 This test verifies that a sandboxed iframe CAN navigate both itself and a child
in the frame tree. It also verifies that the sandbox attribute remains intact af
ter a frame has been navigated, and that sandbox attributes are propagated throu
gh the frame hierarchy. | 1 This test verifies that a sandboxed iframe CAN navigate both itself and a child
in the frame tree. It also verifies that the sandbox attribute remains intact af
ter a frame has been navigated, and that sandbox attributes are propagated throu
gh the frame hierarchy. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS successfullyParsed is true | 6 PASS successfullyParsed is true |
| 7 | 7 |
| 8 TEST COMPLETE | 8 TEST COMPLETE |
| 9 PASS (self.sandboxedFrame.frameWithPlugin.document.getElementById('plugin').dest
royStream) == undefined is true | 9 PASS (self.sandboxedFrame.frameWithPlugin.document.getElementById('plugin').dest
royStream) == undefined is true |
| 10 PASS (self.frameWithPlugin.document.getElementById('plugin').destroyStream) != u
ndefined is true | 10 PASS (self.frameWithPlugin.document.getElementById('plugin').destroyStream) != u
ndefined is true |
| 11 PASS document.getElementById('sandboxedFrameId').sandbox is ['allow-scripts', 'a
llow-same-origin'] | 11 PASS document.getElementById('sandboxedFrameId').sandbox is ['allow-scripts', 'a
llow-same-origin'] |
| 12 PASS document.getElementById('sandboxedFrameId').getAttribute('sandbox') is 'all
ow-scripts' |
| 12 PASS successfullyParsed is true | 13 PASS successfullyParsed is true |
| 13 | 14 |
| 14 TEST COMPLETE | 15 TEST COMPLETE |
| 15 | 16 |
| OLD | NEW |