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

Issue 2824703003: [Reland] Fix flaky NPE in oobe.js. (Closed)

Created:
3 years, 8 months ago by hidehiko
Modified:
3 years, 8 months ago
Reviewers:
achuithb
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org, kinaba, cywang
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[Reland] Fix flaky NPE in oobe.js. Under some racy condition, telemetry accesses the DOM object before ready. This CL observes a new variable which is set to true when DOM is ready. BUG=chromium:709041 TEST=Ran try. Ran on ChromeOS device with corresponding CL. Review-Url: https://codereview.chromium.org/2824703003 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/49eb11f63eb4d552d634833a01d2710208ba0523

Patch Set 1 #

Total comments: 2

Patch Set 2 : Change the error handling strategy #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M telemetry/telemetry/internal/backends/chrome/oobe.py View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 13 (6 generated)
hidehiko
This needs to be landed after https://codereview.chromium.org/2825453002/. achuith@, PTAL? Thanks, - hidehiko
3 years, 8 months ago (2017-04-17 08:09:26 UTC) #2
achuithb
https://codereview.chromium.org/2824703003/diff/1/telemetry/telemetry/internal/backends/chrome/oobe.py File telemetry/telemetry/internal/backends/chrome/oobe.py (right): https://codereview.chromium.org/2824703003/diff/1/telemetry/telemetry/internal/backends/chrome/oobe.py#newcode41 telemetry/telemetry/internal/backends/chrome/oobe.py:41: "typeof Oobe == 'function' && Oobe.readyForTesting !== null", I ...
3 years, 8 months ago (2017-04-17 08:42:58 UTC) #3
hidehiko
Thank you for review! Updated along with the depending CL change. PTAL. https://codereview.chromium.org/2824703003/diff/1/telemetry/telemetry/internal/backends/chrome/oobe.py File telemetry/telemetry/internal/backends/chrome/oobe.py ...
3 years, 8 months ago (2017-04-17 09:33:37 UTC) #4
achuithb
lgtm
3 years, 8 months ago (2017-04-17 18:40:59 UTC) #6
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/2824703003/20001
3 years, 8 months ago (2017-04-17 18:41:02 UTC) #7
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/2824703003/20001
3 years, 8 months ago (2017-04-18 03:32:58 UTC) #10
commit-bot: I haz the power
3 years, 8 months ago (2017-04-18 03:56:37 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698