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

Content Security Policy with Android Native WebView #602

Open
joshelson opened this issue Mar 5, 2016 · 1 comment
Open

Content Security Policy with Android Native WebView #602

joshelson opened this issue Mar 5, 2016 · 1 comment

Comments

@joshelson
Copy link

I am seeing a strange issue manifesting itself with Android M Native WebView. No matter how I set the Content Security Policy, when attempting to get a media stream, I end up with the following error:

Refused to load media from 'blob:file%3A///8b0456e0-6888-4a08-8872-b0282c41c672' because it violates the following Content Security Policy directive: "media-src *".

I have tried setting my media-src directive any number of ways without success. This same code works fine with crosswalk.

Anyone else ran into this?

@agrieve
Copy link
Member

agrieve commented Mar 7, 2016

Certainly sounds like a webview bug. Probably the best way to get the bug filed with the team would be to provide a small test page that reproduces the issue. If you're able to do that, I can file a bug on crbug.com

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

No branches or pull requests

3 participants
@joshelson @agrieve and others