Description[cros] Captive portal dialog fixes.
1. Add another handler showCaptivePortal that is used when user clicks on "visit network sign in page" on error screen.
This call will reload test page (generate_204) in a dialog and forces it to be shown i.e. does not wait till redirect will happen.
2. In case of flimflam portal state show dialog immediately (i.e. fix case when we're not detecting redirect properly). User might close/reload dialog manually if portal page won't load.
3. Disable "generate_204 loaded" check for now as it is not working correctly on networks with no connectivity (no DNS resolution for instance). Rely on flimflam portal check to close dialog when connection is fine.
Bonus: in case of limited connectivity dialog is not automatically closed so generic Chrome error page is shown which has useful information like DNS resolution failed etc.
BUG=chromium-os:28629
TEST=Manual. I've did testing with Coova captive portal, proxy settings, WiFi point with/without connectivity.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=129395
Patch Set 1 #Patch Set 2 : more fixes #
Total comments: 2
Patch Set 3 : clarify #
Messages
Total messages: 9 (0 generated)
|