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

Issue 2536203004: Reland of Post tasks for sensitive input visibility notifications (patchset #1 id:1 of https://code… (Closed)

Created:
4 years ago by estark
Modified:
4 years ago
Reviewers:
haraken, tapted, dcheng
CC:
chromium-reviews
Target Ref:
refs/pending/branch-heads/2924
Project:
chromium
Visibility:
Public.

Description

Reland of Post tasks for sensitive input visibility notifications (patchset #1 id:1 of https://codereview.chromium.org/2531683002/ ) Reason for revert: Fixing SecuritySTateTabHelperTests Original issue's description: > Revert of Post tasks for sensitive input visibility notifications (patchset #5 id:80001 of https://codereview.chromium.org/2515373003/ ) > > Reason for revert: > Suspected for flaky failures on browser_tests for Mac 10.9 asan, Mac 10.10 > > E.g. > SecurityStateTabHelperTestWithPasswordCcSwitch/SecurityStateTabHelperTestWithPasswordCcSwitch.PasswordSecurityLevelDowngradedFromIframe/0 > SecurityStateTabHelperTest.PasswordSecurityLevelNotDowngradedWithoutSwitch > > https://uberchromegw.corp.google.com/i/chromium.memory/builders/Mac%20ASan%2064%20Tests%20%281%29/builds/24682 > https://uberchromegw.corp.google.com/i/chromium.mac/builders/Mac10.10%20Tests/builds/9716 > > Errors like > > ../../chrome/browser/ssl/security_state_tab_helper_browser_tests.cc:966: Failure > Value of: security_info.security_level > Actual: 0 > Expected: security_state::HTTP_SHOW_WARNING > Which is: 1 > ../../chrome/browser/ssl/security_state_tab_helper_browser_tests.cc:971: Failure > Value of: entry->GetSSL().content_status & content::SSLStatus::DISPLAYED_PASSWORD_FIELD_ON_HTTP > Actual: false > Expected: true > > Original issue's description: > > Post tasks for sensitive input visibility notifications > > > > If password inputs are hidden and shown multiple times in the same task > > (as apparently happens when processing a stylesheet), we don't want to > > the omnibox warning to flicker in and out. Thus, this CL posts sensitive > > input visibility notifications to the end of the task queue, so that the > > omnibox warning updates get coalesced. > > > > BUG=664194 > > TEST=Visit http://http-password.badssl.com and observe that the omnibox > > warning does not flicker in and out twice. > > > > Committed: https://crrev.com/7bdbe352cdbd7cc1dec2b71653e60b47688bd9e1 > > Cr-Commit-Position: refs/heads/master@{#434340} > > TBR=dcheng@chromium.org,haraken@chromium.org,estark@chromium.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=664194 > > Committed: https://crrev.com/e0c7eb5a36b45db9a17c75715a99b3a547c45974 > Cr-Commit-Position: refs/heads/master@{#434400} TBR=dcheng@chromium.org,haraken@chromium.org,tapted@chromium.org BUG=664194 Review-Url: https://codereview.chromium.org/2538473002 Cr-Commit-Position: refs/heads/master@{#434820} (cherry picked from commit d262a0ed6bd977cfec18514171790fcaee02a0a1) Committed: https://chromium.googlesource.com/chromium/src/+/f2d532253572bc00d903431d10070a01defa9a3d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -41 lines) Patch
M chrome/browser/ssl/security_state_tab_helper_browser_tests.cc View 7 chunks +18 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.h View 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 3 chunks +43 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/PasswordInputType.cpp View 2 chunks +2 lines, -36 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/PasswordInputTypeTest.cpp View 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (1 generated)
estark
4 years ago (2016-11-30 17:59:53 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
f2d532253572bc00d903431d10070a01defa9a3d.

Powered by Google App Engine
This is Rietveld 408576698