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

Issue 2850293002: ErrorPage: use case-insensitive check for text (Closed)

Created:
3 years, 7 months ago by Nate Fischer
Modified:
3 years, 7 months ago
Reviewers:
mmenke
CC:
cbentzel+watch_chromium.org, chromium-reviews, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

ErrorPage: 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M chrome/browser/net/errorpage_browsertest.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
Nate Fischer
PTAL. This blocks http://crrev/2848733002, since that CL will cause more of the tests to run ...
3 years, 7 months ago (2017-05-01 22:30:12 UTC) #5
mmenke
On 2017/05/01 22:30:12, Nate Fischer wrote: > PTAL. > > This blocks http://crrev/2848733002, since that ...
3 years, 7 months ago (2017-05-02 15:31:26 UTC) #8
Nate Fischer
On 2017/05/02 15:31:26, mmenke wrote: > On 2017/05/01 22:30:12, Nate Fischer wrote: > > PTAL. ...
3 years, 7 months ago (2017-05-02 16:13:59 UTC) #9
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/2850293002/1
3 years, 7 months ago (2017-05-02 16:14:34 UTC) #11
commit-bot: I haz the power
3 years, 7 months ago (2017-05-02 16:20:09 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/1d82d39ab1671da7e27edb1e433e...

Powered by Google App Engine
This is Rietveld 408576698