New issue
Advanced search Search tips

Issue 591947 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2016
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Disable web security does not work anymore in C49 (allow-running-insecure-content/disable-web-security)

Reported by teo.eter...@gmail.com, Mar 4 2016

Issue description

Chrome Version       : 49 (updated yesterday from 48)
Other browsers tested:
  it works in 48

What steps will reproduce the problem?
1. Come to work open your development environment which consists of a local copy of the website accessing a remote webservice so Access-Control-Allow-Origin
2. open  -a  /Applications/Google\ Chrome.app -F -n --args --allow-running-insecure-content --disable-web-security
3.. Error http://prnt.sc/aazuuu (a web security disabled header is visible but it's not disabled)

What is the expected result?
Do some work today

What happens instead?
I ask the project manager to do nothing until the error is fixed because it's Friday :) ... didn't work but it was worth a try

 http://prnt.sc/aazuuu
 

Comment 1 by b...@chromium.org, Mar 4 2016

Labels: Needs-Feedback
In addition to the --disable-web-security flag, please also specify a profile directory with the --user-data-dir flag, that should allow you to disable web security.  Please comment on this bug whether this works or not.  Thank you.

References:
https://crrev.com/1512843002
https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/chrome_content_browser_client.cc&q=%22Only%20allow%20disabling%20web%20security%20via%20the%20command-line%20flag%20if%20the%20user%22&l=2349
I can confirm I have seen this as well. With the --disable-web-security flag I still get the yellow bar at the top of the browser. But I get a Allow-Cross-Control-Origin error when requesting n API that does not have CORS enabled.
I can confirm that adding the --user-data-dir flag allows this to work.

Comment 4 by b...@chromium.org, Mar 4 2016

Labels: -Needs-Feedback
Status: WontFix (was: Unconfirmed)
Thank you.
Confirmed, works

Sign in to add a comment