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

Disabling the secure origin check via flags #779

Closed
nolanlawson opened this issue Nov 8, 2015 · 4 comments
Closed

Disabling the secure origin check via flags #779

nolanlawson opened this issue Nov 8, 2015 · 4 comments

Comments

@nolanlawson
Copy link
Member

Not sure if this is appropriate to this repo, but just leaving some feedback here...

Being able to use localhost is great for quick debugging, but I like testing real devices on my local intranet, to see how they perform. Currently I have to deploy to my actual SSL-enabled production server in order to actually test ServiceWorkers.

It would be nice if there were a flag in chrome://flags to disable the secure origin check, or some other way client-side to handle this. Maybe a popup that says "this site is trying to do something malicious" - "get me out of here" / "add exception"?

@jakearchibald
Copy link
Contributor

Checkout the --unsafely-treat-insecure-origin-as-secure command line flag. You also need to specify a new user profile location for it to work https://code.google.com/p/chromium/issues/detail?id=441605#c67

@nolanlawson
Copy link
Member Author

Sweet, thanks!

@hexbinoct
Copy link

how about doing this on android chrome.

@jakearchibald
Copy link
Contributor

@abubakarm please request this at crbug.com if it's something you're interested in.

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