Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deferred loading does not work in csp mode. #16898

Closed
floitschG opened this issue Feb 17, 2014 · 5 comments
Closed

deferred loading does not work in csp mode. #16898

floitschG opened this issue Feb 17, 2014 · 5 comments

Comments

@floitschG
Copy link
Contributor

Deferred loading does not work in csp mode.

Also see issue #3940.

@floitschG
Copy link
Contributor Author

Issue #10820 has been merged into this issue.

@alan-knight
Copy link
Contributor

Issue #20901 has been merged into this issue.

@alan-knight
Copy link
Contributor

This seems likely to be a problem. For example, the Intl library now uses deferred loading for message catalogs. I stumbled across this in updating a sample, but it seems likely to come up in a customer context before too long.

Do we have plans to address this?

@sigurdm
Copy link
Contributor

sigurdm commented Sep 12, 2014

I looked into it, and it seemed easier than expected:
https://codereview.chromium.org/569583002

The testcase from dartbug/20901 still has that CONSOLE ERROR: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".
But it now passes, that might require more investegation.


Added Started label.

@sigurdm
Copy link
Contributor

sigurdm commented Mar 3, 2015

Fixed in r44162 https://codereview.chromium.org//968163002 .


Added Fixed label.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants