| testRunner.waitUntilDone(); |
| testRunner.dumpChildFramesAsText(); |
| internals.settings.setStorageBlockingPolicy('BlockAll'); |
| testRunner.setPrivateBrowsingEnabled_DEPRECATED(true); |
| internals.settings.setStorageBlockingPolicy('AllowAll'); |
| for (var i = 0; i < window.frames.length; ++i) |
| window.frames[i].postMessage('blocked', '*'); |
| window.onmessage = function() { |
| <p>This iframe should have private browsing enabled:</p> |
| <iframe src="http://127.0.0.1:8000/security/resources/cross-origin-iframe-for-plugin-async.html" onload="decrement()"></iframe> |