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

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

Issue 302283002: Block mixed content fonts. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test. 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-font.html
diff --git a/LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-font.html b/LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-font.html
new file mode 100644
index 0000000000000000000000000000000000000000..9b0712638c30e3d3b9bfe7f355d323d3fd652496
--- /dev/null
+++ b/LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-font.html
@@ -0,0 +1,14 @@
+<style>
+ @font-face {
+ font-family: "AhemTest";
+ src: url(http://127.0.0.1:8080/resources/Ahem.ttf);
+ }
+ p { font-family: AhemTest; }
+</style>
+<p>Yay!</p>
+<script>
+window.onload = function() {
+ if (window.opener)
+ window.opener.postMessage('done', '*');
+};
+</script>

Powered by Google App Engine
This is Rietveld 408576698