• jamiewalch's avatar
    Create proper object types when loading host cache. · 90d7824a
    jamiewalch authored
    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}
    90d7824a
host.js 3.42 KB