DescriptionDOMUI Prefs: Improve saving of homepage pref.
- Adds oninput handling to live-save the homepage pref. I had avoided this before because I didn't want to pollute metrics, but this pref doesn't actually have a metric. (Also, if one is added, we can increment it only on the onchange events.)
- Does URL fixup for onchange events (not oninput, because it would make typing impossible).
BUG=69901, 62851
TEST=Change the homepage to a non-canonical URL; it should be updated on blur to a full URL. On ChromeOS, power off the machine after changing the home page, but not blurring the field; it should be saved.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71835
Patch Set 1 #
Total comments: 1
Messages
Total messages: 2 (0 generated)
|