Chromium Code Reviews
DescriptionErrorPage: use case-insensitive check for text
No change to production logic.
This CL uses a case-insensitive check to see if text is included in the
document body.
The mobile layout fully capitalizes buttons, while the desktop
layout keeps things in their original case. Since the layouts differ in
terms of case, it's necessary to use case-insensitive comparisons,
otherwise IsDisplayingText() will fail for GetShowSavedButtonLabel().
BUG=717254
Review-Url: https://codereview.chromium.org/2850293002
Cr-Commit-Position: refs/heads/master@{#468667}
Committed: https://chromium.googlesource.com/chromium/src/+/1d82d39ab1671da7e27edb1e433eb413f1a4576a
Patch Set 1 #
Messages
Total messages: 14 (9 generated)
|
|||||||||||||||||||