Got "you are using unsupported command-line flag: --disable-web-security. Stability and security will suffer" error Got "you are using unsupported command-line flag: --disable-web-security. Stability and security will suffer" error google-chrome google-chrome

Got "you are using unsupported command-line flag: --disable-web-security. Stability and security will suffer" error


Reference code for flag --disable-web-security

// Don't enforce the same-origin policy. (Used by people testing their sites.)

const char kDisableWebSecurity[] = "disable-web-security";

It disallows cross scripting code, what are you doing on selenium RC?


In feb 2013, someone (expert user/dev "PhistucK"; 1498 Posts as of 01/2014) said on the chrome-discuss gougle-group:

No, it [the notification] cannot be switched off. You can compile Chromium by yourself and remove the code that shows it.