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

Issue 2863713004: MD Settings: Network: Do not call setProperties when setting defaults (Closed)

Created:
3 years, 7 months ago by stevenjb
Modified:
3 years, 7 months ago
Reviewers:
michaelpg
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: Network: Do not call setProperties when setting defaults In https://codereview.chromium.org/2665913002 we set some default network properties in currentRouteChanged. This was triggering networkPropertiesChanged_ which udates autoConnect_ and preferNetwork_ which triggers calls to setNetworkProperties. To prevent this sort of error, set networkPropertiesReceived_ once properties are received from Chrome and do not call networkingPrivate.setProperties until that has been set. BUG=718389 Review-Url: https://codereview.chromium.org/2863713004 Cr-Commit-Position: refs/heads/master@{#469523} Committed: https://chromium.googlesource.com/chromium/src/+/b59f96b265d0bfb15ee56647ab4e3e28ae886b38

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -6 lines) Patch
M chrome/browser/resources/settings/internet_page/internet_detail_page.js View 5 chunks +16 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
stevenjb
3 years, 7 months ago (2017-05-04 21:21:50 UTC) #3
michaelpg
lgtm - I see how this fixes the issue. But separately, (how much) do we ...
3 years, 7 months ago (2017-05-04 22:25:07 UTC) #4
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/2863713004/1
3 years, 7 months ago (2017-05-04 22:28:43 UTC) #6
stevenjb
On 2017/05/04 22:25:07, michaelpg wrote: > lgtm - I see how this fixes the issue. ...
3 years, 7 months ago (2017-05-04 22:31:12 UTC) #7
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 23:39:29 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/b59f96b265d0bfb15ee56647ab4e...

Powered by Google App Engine
This is Rietveld 408576698