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

Issue 2825453002: Update readyForTesting var even on Oobe.initialize() failure. (Closed)

Created:
3 years, 8 months ago by hidehiko
Modified:
3 years, 8 months ago
Reviewers:
achuithb
CC:
chromium-reviews, alemate+watch_chromium.org, achuith+watch_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, kinaba, cywang
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Update readyForTesting var even on Oobe.initialize() failure. |readyForTesting| was introduced to let callers know whether the DOM loading is done so testing APIs accessing DOM can be successfully called. Although, in some cases Oobe.initialize() is failed, so it timed out. Instead, this CL sets the value always. Then, callers can be notified even on failure cases, so they can avoid timeout. BUG=710975 TEST=Ran bots. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2825453002 Cr-Commit-Position: refs/heads/master@{#465126} Committed: https://chromium.googlesource.com/chromium/src/+/341333dfb5561bc987995a3cfe05aefc3ecb17e7

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use finally. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -4 lines) Patch
M chrome/browser/resources/chromeos/login/login_shared.js View 1 2 chunks +13 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (16 generated)
hidehiko
achuith@, PTAL. The corresponding CL is https://codereview.chromium.org/2824703003/. The strategy to fix the last breakage was; ...
3 years, 8 months ago (2017-04-17 08:07:14 UTC) #5
achuithb
I'm not a fan of having a hack here, and another hack in the catapult ...
3 years, 8 months ago (2017-04-17 08:42:08 UTC) #6
hidehiko
Thank you for review! Had offline chat with achuith@, and agreed to use finally for ...
3 years, 8 months ago (2017-04-17 09:32:27 UTC) #14
achuithb
lgtm
3 years, 8 months ago (2017-04-17 18:40:22 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2825453002/40001
3 years, 8 months ago (2017-04-18 03:22:14 UTC) #19
commit-bot: I haz the power
3 years, 8 months ago (2017-04-18 03:27:06 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/341333dfb5561bc987995a3cfe05...

Powered by Google App Engine
This is Rietveld 408576698