Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Side by Side Diff: LayoutTests/http/tests/security/storage-blocking-strengthened-private-browsing-plugin.html

Issue 13861033: Remove Apple's unused implementation of private browsing from WebCore (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Repatch to ToT Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script>
4 if (window.testRunner) {
5 testRunner.waitUntilDone();
6 testRunner.dumpAsText();
7 testRunner.dumpChildFramesAsText();
8 testRunner.setPrivateBrowsingEnabled(true);
9 }
10
11 function decrement() {
12 if (window.testRunner) {
13 internals.settings.setStorageBlockingPolicy('BlockAll');
14 testRunner.setPrivateBrowsingEnabled(false);
15 }
16 for (var i = 0; i < window.frames.length; ++i)
17 window.frames[i].postMessage('blocked', '*');
18 }
19
20 window.onmessage = function() {
21 if (window.testRunner) {
22 internals.settings.setStorageBlockingPolicy('AllowAll');
23 testRunner.notifyDone();
24 }
25 }
26 </script>
27 </head>
28 <body>
29 <p>This iframe should have private browsing enabled:</p>
30 <iframe src="http://127.0.0.1:8000/security/resources/cross-origin-iframe-for-pl ugin-async.html" onload="decrement()"></iframe>
31 </body>
32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698