Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Issue 9861015: [cros] Captive portal dialog fixes. (Closed)

Created:
8 years, 9 months ago by Nikita (slow)
Modified:
8 years, 9 months ago
CC:
chromium-reviews, arv (Not doing code reviews), stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -17 lines) Patch
M chrome/browser/chromeos/login/captive_portal_view.cc View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/captive_portal_window_proxy.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/captive_portal_window_proxy.cc View 1 2 2 chunks +28 lines, -11 lines 0 comments Download
M chrome/browser/resources/chromeos/login/screen_error_message.js View 1 4 chunks +16 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc View 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Nikita (slow)
8 years, 9 months ago (2012-03-27 13:34:33 UTC) #1
Dmitry Polukhin
LGTM with nit https://chromiumcodereview.appspot.com/9861015/diff/2001/chrome/browser/chromeos/login/captive_portal_view.cc File chrome/browser/chromeos/login/captive_portal_view.cc (right): https://chromiumcodereview.appspot.com/9861015/diff/2001/chrome/browser/chromeos/login/captive_portal_view.cc#newcode296 chrome/browser/chromeos/login/captive_portal_view.cc:296: /*if (!is_loading && !redirected_) Please use ...
8 years, 9 months ago (2012-03-27 13:40:41 UTC) #2
Nikita (slow)
https://chromiumcodereview.appspot.com/9861015/diff/2001/chrome/browser/chromeos/login/captive_portal_view.cc File chrome/browser/chromeos/login/captive_portal_view.cc (right): https://chromiumcodereview.appspot.com/9861015/diff/2001/chrome/browser/chromeos/login/captive_portal_view.cc#newcode296 chrome/browser/chromeos/login/captive_portal_view.cc:296: /*if (!is_loading && !redirected_) On 2012/03/27 13:40:41, Dmitry Polukhin ...
8 years, 9 months ago (2012-03-27 14:01:36 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nkostylev@chromium.org/9861015/7
8 years, 9 months ago (2012-03-27 15:21:12 UTC) #4
commit-bot: I haz the power
Try job failure for 9861015-7 (retry) on win_rel for steps "browser_tests, installer_util_unittests". It's a second ...
8 years, 9 months ago (2012-03-27 18:35:58 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nkostylev@chromium.org/9861015/7
8 years, 9 months ago (2012-03-27 20:31:28 UTC) #6
commit-bot: I haz the power
Try job failure for 9861015-7 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 9 months ago (2012-03-27 23:48:57 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nkostylev@chromium.org/9861015/7
8 years, 9 months ago (2012-03-28 04:39:21 UTC) #8
commit-bot: I haz the power
8 years, 9 months ago (2012-03-28 12:30:48 UTC) #9
Change committed as 129395

Powered by Google App Engine
This is Rietveld 408576698