title: How to open base64 PDF in Chrome app?
body: <p>I have a simple Chrome application. There is a base64 string. In it, I store a PDF file and I want to open this PDF file on new <code>window</code> or <code>iframe</code>.</p>
  
  <p>I tried to create an iframe with <code>src="data:application/pdf;base64,.."</code>.</p>
  
  <p>After that, I get this error: </p>
  
  <blockquote>
    <p>Refused to load plugin data from
    'data:application/pdf;base64,JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3R…Q4RUU5MzdDRDQyM0RFNEI4MTkzNDU3MzIzMTM2OQo+PgpzdGFydHhyZWYKMjA0NTQKJSVFT0YK'
    because it violates the following Content Security Policy directive:
    "default-src 'self' chrome-extension-resource:". Note that
    'object-src' was not explicitly set, so 'default-src' is used as a
    fallback.</p>
  </blockquote>