gorhill / httpswitchboard

Point & click to forbid/allow any class of requests made by your browser. Use it to block scripts, iframes, ads, facebook, etc.
GNU General Public License v3.0
1.33k stars 84 forks source link

"Sign in to Chrome" crashes the browser #364

Closed gonhidi closed 10 years ago

gonhidi commented 10 years ago

When HTTP Switchboard is active, attempting to “Sign in to Google Chrome with your Google Account” crashes the whole browser.

Steps to reproduce (careful: you might enter a crash loop from the start-up tabs):

  1. With HTTPSB active, visit chrome://chrome-signin/ (or alternatively “Sign in to Chrome” from the Preferences/Settings, or from the on-window drop down menu).

Expected result: A “Set up Chrome” page with email and password fields to “sign in to get your bookmarks, history and settings on all your devices”.

Actual result: Chrome crashes.

Tested with the following:

gorhill commented 10 years ago

Ok, I get a "segmentation fault" here on Chromium. For that part, there is not much I can do, it's the browser itself crashing.

Problem though seem to be triggered by the fact that some net requests required to log in are blocked, and probably the developers didn't expect this to happen. So the easiest workaround is to whitelist all in the chrome-scheme scope (or just the needed cells as seen below).

So while on the chrome://chrome-signin/ page or the chrome://apps/ page, bring up the matrix, select the chrome-scheme scope, then click the all cell in order to allow any request in that scope (as part of this bug, I will create this scope and whitelist all by default):

to-forum

Don't forget to persist changes. Also, I noticed that there are behind-the-scene requests made in order for the sign-in process to complete successfully, so if you put the behind-the-scene matrix in block mode you will have to whitelist the necessary cells in order for the sign-in to work.