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

Issue 2805033002: Fix flaky NPE in oobe.js. (Closed)

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

Description

Fix flaky NPE in oobe.js. Under some racy condition, telemetry accesses the DOM object before ready. This CL adds the variable representing whether DOM gets loaded. BUG=b/35306355 BUG=709041 TEST=Ran trybots. Apply this and corresponding patch, and ran on ChromeOS device. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2805033002 Cr-Commit-Position: refs/heads/master@{#463191} Committed: https://chromium.googlesource.com/chromium/src/+/d5027325193408828b4dab341dabbc6ff0b7791e

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address review comments #

Total comments: 2

Patch Set 3 : address comments. #

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

Messages

Total messages: 32 (19 generated)
hidehiko
Corresponding CL is here. https://codereview.chromium.org/2803043002/ PTAL.
3 years, 8 months ago (2017-04-06 17:10:30 UTC) #8
Shuhei Takahashi
https://codereview.chromium.org/2805033002/diff/1/chrome/browser/resources/chromeos/login/login_shared.js File chrome/browser/resources/chromeos/login/login_shared.js (right): https://codereview.chromium.org/2805033002/diff/1/chrome/browser/resources/chromeos/login/login_shared.js#newcode53 chrome/browser/resources/chromeos/login/login_shared.js:53: Could you define Oobe.readyForTesting here with JSDoc?
3 years, 8 months ago (2017-04-07 04:37:59 UTC) #10
hidehiko
Thank you for comment. Done. https://codereview.chromium.org/2805033002/diff/1/chrome/browser/resources/chromeos/login/login_shared.js File chrome/browser/resources/chromeos/login/login_shared.js (right): https://codereview.chromium.org/2805033002/diff/1/chrome/browser/resources/chromeos/login/login_shared.js#newcode53 chrome/browser/resources/chromeos/login/login_shared.js:53: On 2017/04/07 04:37:59, Shuhei ...
3 years, 8 months ago (2017-04-07 06:38:00 UTC) #11
Shuhei Takahashi
looks good to me.
3 years, 8 months ago (2017-04-07 08:42:34 UTC) #16
hidehiko
Thank you. achuithb@, could you take a look as an OWNER? Thank you for review ...
3 years, 8 months ago (2017-04-07 08:43:21 UTC) #17
achuithb
Is there an example of where this is a problem? https://codereview.chromium.org/2805033002/diff/20001/chrome/browser/resources/chromeos/login/login_shared.js File chrome/browser/resources/chromeos/login/login_shared.js (right): https://codereview.chromium.org/2805033002/diff/20001/chrome/browser/resources/chromeos/login/login_shared.js#newcode295 ...
3 years, 8 months ago (2017-04-07 08:56:03 UTC) #18
hidehiko
Thank you for review. > Is there an example of where this is a problem? ...
3 years, 8 months ago (2017-04-07 09:09:41 UTC) #21
hidehiko
On 2017/04/07 09:09:41, hidehiko wrote: > Thank you for review. > > > Is there ...
3 years, 8 months ago (2017-04-07 09:12:00 UTC) #22
achuithb
lgtm
3 years, 8 months ago (2017-04-07 18:23:32 UTC) #25
achuithb
On 2017/04/07 18:23:32, achuithb wrote: > lgtm You are also going to need to land ...
3 years, 8 months ago (2017-04-07 18:24:32 UTC) #26
hidehiko
Thank you for review! Submitting. On 2017/04/07 18:24:32, achuithb wrote: > On 2017/04/07 18:23:32, achuithb ...
3 years, 8 months ago (2017-04-10 07:26:04 UTC) #27
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/2805033002/40001
3 years, 8 months ago (2017-04-10 07:26:32 UTC) #29
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 08:19:59 UTC) #32
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/d5027325193408828b4dab341dab...

Powered by Google App Engine
This is Rietveld 408576698