Permalink
Browse files

datauri test. added note about IE7/SSL. fixes #362

  • Loading branch information...
1 parent a872a34 commit 090707f33aabc532551eb2e110e029b405856ecb @paulirish paulirish committed Dec 10, 2011
Showing with 7 additions and 2 deletions.
  1. +7 −2 feature-detects/url-data-uri.js
@@ -1,9 +1,14 @@
// data uri test.
// https://github.com/Modernizr/Modernizr/issues/14
-
// This test is asynchronous. Watch out.
+
+// in IE7 in HTTPS this can cause a Mixed Content security popup.
+// github.com/Modernizr/Modernizr/issues/362
+// To avoid that you can create a new iframe and inject this.. perhaps..
+
+
(function(){
var datauri = new Image();
@@ -18,4 +23,4 @@
datauri.src = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";
-})();
+})();

0 comments on commit 090707f

Please sign in to comment.