DescriptionRequest profiles info in BrowserOptions.initializePage to populate the profiles list
Profiles info is being passed to JS in |BrowserOptionsHandler::GetLocalizedValues| which gets called only once when the settings page is opened but not on page reload.
When a user edits in the profiles list (adds or deletes a profile) and then reload the settings page we end up populating the profiles list with old cached data. Accordingly,
we request the profiles info in BrowserOptions.initializePage to get a fresh list of the profiles info every time the page is loaded.
BUG=269942
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216797
Patch Set 1 #
Total comments: 2
Patch Set 2 : nit #Patch Set 3 : Send profiles lise in GetLocalizedValues #Patch Set 4 : .. #
Total comments: 2
Patch Set 5 : +comment #
Messages
Total messages: 12 (0 generated)
|