Introduce a `--disable-cors-for-origins` flag (also tied to `--user-data-dir`) which will accept a list of origins whose responses will always pass CORS checks
Hi Mike,For the record, WebView can toggle the following WebSettings in Blink:
setAllowDisplayOfInsecureContentsetAllowRunningOfInsecureContentsetAllowFileAccessFromFileURLssetAllowUniversalAccessFromFileURLs
It doesn't ever use setWebSecurityEnabled.
It's poor practice to have dev, staging, and prod have different configurations. If people are avoiding setting up CORS properly in dev, they're just headed for heartbreak in prod — and then they'll just set it to allow all of of frustration. And the cycle of not understanding CORS continues...
So I don't think we should enable that use case.
--
You received this message because you are subscribed to the Google Groups "Security-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to security-dev...@chromium.org.
* Lock the `--disable-web-security` flag to the `--user-data-dir` flag in order to ensure that users aren't unknowingly leaving themselves at the mercy of The Internets: https://codereview.chromium.org/1512843002 (just for Chrome; `content_shell` wouldn't be affected)
--
I agree with phistuck - if we don't feel that this should have a chromestatus entry, we probably don't want to include it in the release blog either. Stack Overflow seems appropriate.