Skip to content

Commit

Permalink
added "--disable-site-isolation-trials" to Chrome_without_security
Browse files Browse the repository at this point in the history
This SO page https://stackoverflow.com/questions/53080472/chrome-disable-web-security-no-longer-works got me to what has been described here https://www.chromium.org/Home/chromium-security/site-isolation#TOC-Known-Issues so I thought it will be useful for others if the docs mention that fact :)

macOS 10.14, Chrome 75.0.3770.100
I had a problem testing a site and kept getting "Error: Uncaught SecurityError: Blocked a frame with origin..." even if I had provided "--disable-web-security" as per the example in the documentation. Seems Chrome has changed its security policies and that flag is no longer enough to get it out of the the CORS cage.
  • Loading branch information
gkostov committed Jul 14, 2019
1 parent 7fec86e commit e99df52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -28,7 +28,7 @@ module.exports = function(config) {
customLaunchers: {
Chrome_without_security: {
base: 'Chrome',
flags: ['--disable-web-security']
flags: ['--disable-web-security', '--disable-site-isolation-trials']
}
}
})
Expand Down

0 comments on commit e99df52

Please sign in to comment.