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

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

Created:
3 years, 11 months ago by Jamie
Modified:
3 years, 11 months ago
Reviewers:
CC:
chromium-reviews
Target Ref:
refs/pending/branch-heads/2924
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} (cherry picked from commit 90d7824a5136d081090646b7ec7f7158aaae8aca) Review-Url: https://codereview.chromium.org/2627073005 . Cr-Commit-Position: refs/branch-heads/2924@{#754} Cr-Branched-From: 3a87aecc31cd1ffe751dd72c04e5a96a1fc8108a-refs/heads/master@{#433059} Committed: https://chromium.googlesource.com/chromium/src/+/881bcc9c0073e39ccd53444b19fb72a4def29a52

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: 2 (1 generated)
Jamie
3 years, 11 months ago (2017-01-13 02:05:21 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
881bcc9c0073e39ccd53444b19fb72a4def29a52.

Powered by Google App Engine
This is Rietveld 408576698