Chromium Code Reviews
DescriptionMD Settings: Rename and fix confusing prefs test function
The misleading "resetForTesting" actually just partially
uninitialized the element, making it behave unexpectedly in
tests. The function has been expanded into
"uninitializeForTesting" which correctly un-initializes
the element.
See also https://codereview.chromium.org/1833613002#ps1 for more
fallout from this confusion.
Patch Set 1 #Patch Set 2 : simplify #
Depends on Patchset: Messages
Total messages: 8 (5 generated)
|
||||||||||||||||||||||||||||