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

Issue 2621403004: Create proper object types when loading host cache. (Closed)

Created:
3 years, 11 months ago by Jamie
Modified:
3 years, 11 months ago
Reviewers:
kelvinp
CC:
chromium-reviews, chromoting-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Create proper object types when loading host cache. I suspect that host.options was originally a simple dictionary, and so the cast was safe. When it got upgraded to an object with methods on the prototype it broke, but because the window of opportunity for failure is small (you have to connect without a call to HostList.refresh happening in the interim), it was difficult to track down. BUG=680302 Review-Url: https://codereview.chromium.org/2621403004 Cr-Commit-Position: refs/heads/master@{#443072} Committed: https://chromium.googlesource.com/chromium/src/+/90d7824a5136d081090646b7ec7f7158aaae8aca

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -3 lines) Patch
M remoting/webapp/base/js/host.js View 1 chunk +28 lines, -0 lines 0 comments Download
M remoting/webapp/base/js/host_options.js View 1 chunk +28 lines, -1 line 0 comments Download
M remoting/webapp/crd/js/host_list.js View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (6 generated)
kelvinp
lgtm
3 years, 11 months ago (2017-01-11 23:06:57 UTC) #3
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/2621403004/1
3 years, 11 months ago (2017-01-11 23:17:46 UTC) #5
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 00:17:02 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/90d7824a5136d081090646b7ec7f...

Powered by Google App Engine
This is Rietveld 408576698