GStatic Mapfiles not being loaded from https

45 views
Skip to first unread message

George Mike

unread,
Jan 19, 2013, 2:53:11 PM1/19/13
to google-visua...@googlegroups.com
Hello,

I'm trying to use the visualization API from within a chrome extension using manifest version 2, which has stricter restrictions on resources that can be loaded. I'm doing:

<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script>

  google.load('visualization', '1', {
    packages: ['corechart', 'geochart'],
    callback : function() {
      handleChartsLoaded();
    }
  });
</script>


...and I'm getting these errors in the console:

Refused to load the script 'http://www.gstatic.com/charts/geochart/7/mapfiles/world_COUNTRIES.js' because it violates the following Content Security Policy directive: "script-src https://www.google.com/ 'unsafe-eval'".

How do I force https resources to be loaded?

Thanks,
George

Sergey

unread,
Jan 22, 2013, 1:50:51 PM1/22/13
to google-visua...@googlegroups.com
Hi, I'm sorry for the inconvenience that this has caused you. We're addressing the problem and the fix will be released soon.
Reply all
Reply to author
Forward
0 new messages