| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../../resources/js-test.js"></script> |
| 4 <script> | 4 <script> |
| 5 if (window.testRunner) | 5 if (window.testRunner) |
| 6 testRunner.dumpAsText(); | 6 testRunner.dumpAsText(); |
| 7 | 7 |
| 8 window.onload = function() { | 8 window.onload = function() { |
| 9 shouldBeTrue("(self.appletFrame1.document['app'].init) != undefined"); | 9 shouldBeTrue("(self.appletFrame1.document['app'].init) != undefined"); |
| 10 shouldBeTrue("(self.appletFrame2.document['app'].init) == undefined"); | 10 shouldBeTrue("(self.appletFrame2.document['app'].init) == undefined"); |
| 11 | 11 |
| 12 shouldBeTrue("(self.embedFrame1.document.getElementById('plugin').destroyStr
eam) != undefined"); | 12 shouldBeTrue("(self.embedFrame1.document.getElementById('plugin').destroyStr
eam) != undefined"); |
| 13 shouldBeTrue("(self.embedFrame2.document.getElementById('plugin').destroyStr
eam) == undefined"); | 13 shouldBeTrue("(self.embedFrame2.document.getElementById('plugin').destroyStr
eam) == undefined"); |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 style="width: 200px; height: 100px;" | 62 style="width: 200px; height: 100px;" |
| 63 sandbox="allow-same-origin" | 63 sandbox="allow-same-origin" |
| 64 src="resources/sandboxed-iframe-plugins-frame-object.html"> | 64 src="resources/sandboxed-iframe-plugins-frame-object.html"> |
| 65 </iframe> | 65 </iframe> |
| 66 | 66 |
| 67 <script> | 67 <script> |
| 68 description("This test verifies that sandboxing of plugins works as intended
. Three tests are made, each in one sandboxed and one non-sandboxed IFrame: appl
ets, embeds, and objects."); | 68 description("This test verifies that sandboxing of plugins works as intended
. Three tests are made, each in one sandboxed and one non-sandboxed IFrame: appl
ets, embeds, and objects."); |
| 69 </script> | 69 </script> |
| 70 </body> | 70 </body> |
| 71 </html> | 71 </html> |
| OLD | NEW |