| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head> | |
| 3 <script> | |
| 4 var frames = 2; | |
| 5 if (window.testRunner) { | |
| 6 testRunner.dumpAsText(); | |
| 7 testRunner.dumpChildFramesAsText(); | |
| 8 internals.settings.setStorageBlockingPolicy('BlockThirdParty'); | |
| 9 } | |
| 10 | |
| 11 function decrement() { | |
| 12 --frames; | |
| 13 if (!frames && window.testRunner) | |
| 14 internals.settings.setStorageBlockingPolicy('AllowAll'); | |
| 15 } | |
| 16 </script> | |
| 17 </head> | |
| 18 <body> | |
| 19 <p>This iframe should not return any errors:</p> | |
| 20 <iframe src="http://127.0.0.1:8000/security/resources/cross-origin-iframe-for-lo
cal-storage.html" onload="decrement()"></iframe> | |
| 21 <p>This iframe should not return any errors:</p> | |
| 22 <iframe src="http://127.0.0.1:8000/security/resources/document-domain-iframe-for
-local-storage.html" onload="decrement()"></iframe> | |
| 23 </body> | |
| 24 </html> | |
| OLD | NEW |