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

Issue 8341037: Added logic that will retry to reload+reconnect the mobile payment portal page 5 times before it ... (Closed)

Created:
9 years, 2 months ago by zel
Modified:
9 years, 1 month ago
Reviewers:
xiyuan, jam, Jason Glasgow
CC:
chromium-reviews, arv (Not doing code reviews), darin-cc_chromium.org, nkostylev+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Added logic that will retry to reload+reconnect the mobile payment portal page 5 times before it eventually gives up and shows service unavailable error. Expanded frame sniffer to send an event when a frame which is being watched gets finally loaded. From the sent error (or its absence) and this new event, we can finally reconstruct on the browser side if a given iframe was loaded successfully or not. BUG=chromium-os:20525, chromium-os:21738 TEST=tricky one to test since it repros on 3g network flakyness. one can edit /usr/lib/cromo/config/madison.ini and put a bad value for olp_root there to trigger this. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107613

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+293 lines, -102 lines) Patch
M chrome/browser/resources/mobile_setup.html View 1 2 3 4 8 chunks +24 lines, -13 lines 0 comments Download
M chrome/browser/resources/mobile_setup.js View 1 2 3 4 5 12 chunks +71 lines, -28 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/mobile_setup_dialog.h View 1 2 3 1 chunk +1 line, -26 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc View 1 2 3 2 chunks +51 lines, -20 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/mobile_setup_ui.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc View 1 2 3 25 chunks +130 lines, -14 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/frame_sniffer.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/frame_sniffer.cc View 1 2 3 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
zel
9 years, 2 months ago (2011-10-26 00:18:05 UTC) #1
Jason Glasgow
LGTM one nit on comment, the mobile_setup_ui.{h,cc} code looks fine, but you need another reviewer ...
9 years, 1 month ago (2011-10-26 21:25:36 UTC) #2
zel
+xiyuan@ for JS part +jam@ for chrome/renderer/frame_sniffer.*
9 years, 1 month ago (2011-10-26 22:44:35 UTC) #3
xiyuan
LGTM on mobile_setup* http://codereview.chromium.org/8341037/diff/7001/chrome/browser/resources/mobile_setup.js File chrome/browser/resources/mobile_setup.js (right): http://codereview.chromium.org/8341037/diff/7001/chrome/browser/resources/mobile_setup.js#newcode107 chrome/browser/resources/mobile_setup.js:107: $(this.frameName_).contentWindow.location.href = nit: $(this.frameName_).src = ...
9 years, 1 month ago (2011-10-26 23:17:03 UTC) #4
jam
On 2011/10/26 22:44:35, zel wrote: > +xiyuan@ for JS part > > +jam@ for chrome/renderer/frame_sniffer.* ...
9 years, 1 month ago (2011-10-27 00:44:29 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zelidrag@chromium.org/8341037/10012
9 years, 1 month ago (2011-10-27 18:07:26 UTC) #6
commit-bot: I haz the power
9 years, 1 month ago (2011-10-27 18:07:38 UTC) #7
Presubmit check for 8341037-10012 failed and returned exit status 1.

Running presubmit commit checks ...

** Presubmit Warnings **
Found lines longer than 80 characters (first 5 shown).
  chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc, line 116, 84 chars

Presubmit checks took 2.2s to calculate.

Powered by Google App Engine
This is Rietveld 408576698