You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2017. It is now read-only.
1. Create a new project and add chrome and polymer as dependencies.
2. Create a custom element and import 'package/polymer/polymer.html'.
3. Use this element somewhere.
4. Build the app with 'pub build' and the chrome, polymer and dart2js transformer with csp=true set.
What is the expected output? What do you see instead?
Refused to execute inline script because it violates the following Content Security Policy directive...
This error is thrown because of an empty script tag in 'package/polymer/polymer.html'
12. <link rel="import" href="src/js/polymer/polymer.html">
13. <script>
14. // TODO(sigmund): remove this script tag (dartbug.com/19650). This empty
15. // script tag is necessary to work around a bug in Chrome 36.
16. </script>