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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/mixedContent/insecure-plugin-in-iframe.html

Issue 2468953002: Make mixedContent/insecure-plugin-in-iframe.html test OOPIF-compatible. (Closed)
Patch Set: No line numbers (by delaying mixed content message via setTimeout). Created 4 years, 1 month 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
OLDNEW
1 <html> 1 <html>
2 <body> 2 <body>
3 <script> 3 <script>
4 if (window.testRunner) { 4 if (window.testRunner) {
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 testRunner.overridePreference("WebKitAllowRunningInsecureContent", true); 6 testRunner.overridePreference("WebKitAllowRunningInsecureContent", true);
7 testRunner.waitUntilDone();
Łukasz Anforowicz 2016/11/01 18:28:12 waitUntilDone is needed to account for the delay i
7 } 8 }
8 onload = function() {
9 if (window.internals)
10 internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(docu ment.querySelector('iframe'));
Łukasz Anforowicz 2016/11/01 18:28:12 Moved to resources/frame-with-insecure-plugin.html
11 };
12 </script> 9 </script>
13 <p>This test loads a secure iframe that loads an insecure plugin. We should 10 <p>This test loads a secure iframe that loads an insecure plugin. We should
14 get a mixed content callback because the insecure plugin can script the secure 11 get a mixed content callback because the insecure plugin can script the secure
15 origin.</p> 12 origin.</p>
16 <iframe src="https://127.0.0.1:8443/security/mixedContent/resources/frame-with-i nsecure-plugin.html"></iframe> 13 <iframe src="https://127.0.0.1:8443/security/mixedContent/resources/frame-with-i nsecure-plugin.html"></iframe>
17 </body> 14 </body>
18 </html> 15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698