| 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 | 5 |
| 6 if (window.testRunner) | 6 if (window.testRunner) |
| 7 testRunner.dumpAsText(); | 7 testRunner.dumpAsText(); |
| 8 | 8 |
| 9 window.onload = function() { | 9 window.onload = function() { |
| 10 if (self.containing_frame.document.getElementById('plugin').destroyStream) | 10 if (self.containing_frame.document.getElementById('plugin').destroyStream) |
| 11 testPassed("containing frame was able to instantiate plugin"); | 11 testPassed("containing frame was able to instantiate plugin"); |
| 12 else | 12 else |
| 13 testFailed("containing frame was unable to instantiate plugin"); | 13 testFailed("containing frame was unable to instantiate plugin"); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 <p id="description"></p> | 25 <p id="description"></p> |
| 26 | 26 |
| 27 <div id="console"></div> | 27 <div id="console"></div> |
| 28 | 28 |
| 29 <script> | 29 <script> |
| 30 description("This test verifies that sandboxing 'about:blank' does not make
the containing frame sandboxed."); | 30 description("This test verifies that sandboxing 'about:blank' does not make
the containing frame sandboxed."); |
| 31 </script> | 31 </script> |
| 32 </body> | 32 </body> |
| 33 </html> | 33 </html> |
| OLD | NEW |