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

Unified Diff: LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-srcset.html

Issue 356243003: Block mixed <picture> and <img srcset> by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tests. Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-srcset.html
diff --git a/LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-srcset.html b/LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-srcset.html
new file mode 100644
index 0000000000000000000000000000000000000000..e75e59a7262019ffc50f397a44de054c6d3f560d
--- /dev/null
+++ b/LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-srcset.html
@@ -0,0 +1,8 @@
+<img src="http://127.0.0.1:8080/security/resources/compass.jpg"
+ srcset="http://127.0.0.1:8080/security/resources/compass.jpg 2x">
+<script>
+window.onload = function() {
+ if (window.opener)
+ window.opener.postMessage('done', '*');
+};
+</script>

Powered by Google App Engine
This is Rietveld 408576698