| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
| 5 <script> | 5 <script> |
| 6 var allowedExecuted = 0; | 6 var allowedExecuted = 0; |
| 7 var disallowedExecuted = 0; | 7 var disallowedExecuted = 0; |
| 8 window.onload = function() { | 8 window.onload = function() { |
| 9 shouldBe("disallowedExecuted", "0"); | 9 shouldBe("disallowedExecuted", "0"); |
| 10 shouldBe("allowedExecuted", "2"); | 10 shouldBe("allowedExecuted", "2"); |
| 11 | 11 |
| 12 isSuccessfullyParsed(); | 12 isSuccessfullyParsed(); |
| 13 }; | 13 }; |
| 14 </script> | 14 </script> |
| 15 </head> | 15 </head> |
| 16 <body> | 16 <body> |
| 17 <iframe id="frame" src="resources/sandboxed-iframe-script-dynamic.html"></if
rame> | 17 <iframe id="frame" src="resources/sandboxed-iframe-script-dynamic.html"></if
rame> |
| 18 <script> | 18 <script> |
| 19 description("Verify that adding a sandbox attribute at runtime does not
effect the iframe's current state."); | 19 description("Verify that adding a sandbox attribute at runtime does not
effect the iframe's current state."); |
| 20 </script> | 20 </script> |
| 21 </body> | 21 </body> |
| 22 </html> | 22 </html> |
| 23 | 23 |
| 24 | 24 |
| 25 | 25 |
| 26 | 26 |
| 27 | 27 |
| OLD | NEW |