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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/security/mixedContent/insecure-plugin-in-iframe.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/mixedContent/insecure-plugin-in-iframe.html b/third_party/WebKit/LayoutTests/http/tests/security/mixedContent/insecure-plugin-in-iframe.html
index c50edf1d4ea64d3bd3477b3687bfa502fc4fba92..821e4ec9c262e73316b148101af96742d0c507a3 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/mixedContent/insecure-plugin-in-iframe.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/mixedContent/insecure-plugin-in-iframe.html
@@ -4,11 +4,8 @@
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.overridePreference("WebKitAllowRunningInsecureContent", true);
+ testRunner.waitUntilDone();
Łukasz Anforowicz 2016/11/01 18:28:12 waitUntilDone is needed to account for the delay i
}
-onload = function() {
- if (window.internals)
- internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(document.querySelector('iframe'));
Łukasz Anforowicz 2016/11/01 18:28:12 Moved to resources/frame-with-insecure-plugin.html
-};
</script>
<p>This test loads a secure iframe that loads an insecure plugin. We should
get a mixed content callback because the insecure plugin can script the secure

Powered by Google App Engine
This is Rietveld 408576698