jpfau@apple.com | 398b1b5 | 2013-03-18 20:45:28 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <head> |
| 3 | <script> |
| 4 | var frames = 1; |
| 5 | if (window.testRunner) { |
| 6 | testRunner.dumpAsText(); |
| 7 | testRunner.dumpChildFramesAsText(); |
| 8 | testRunner.waitUntilDone(); |
| 9 | internals.settings.setStorageBlockingPolicy('BlockAll'); |
| 10 | } |
| 11 | window.onmessage = function(message) { |
| 12 | --frames; |
| 13 | if (frames <= 0 && window.testRunner) { |
| 14 | internals.settings.setStorageBlockingPolicy('AllowAll'); |
| 15 | testRunner.notifyDone(); |
| 16 | } |
| 17 | } |
| 18 | </script> |
| 19 | </head> |
| 20 | <body> |
| 21 | <p>This iframe should not have a cache:</p> |
| 22 | <iframe src="http://127.0.0.1:8000/security/resources/same-origin-iframe-for-appcache-blocked.html"></iframe> |
| 23 | </body> |
| 24 | </html> |