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 2531683002: Revert of Post tasks for sensitive input visibility notifications (Closed)

Created:
4 years ago by tapted
Modified:
4 years ago
Reviewers:
haraken, dcheng, estark
CC:
chromium-reviews, blink-reviews, dglazkov+blink, blink-reviews-html_chromium.org, esprehn, tzik
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

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}

Patch Set 1 #

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

Messages

Total messages: 10 (4 generated)
tapted
Created Revert of Post tasks for sensitive input visibility notifications
4 years ago (2016-11-24 22:25:21 UTC) #2
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/2531683002/1
4 years ago (2016-11-24 22:25:38 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-11-24 22:26:33 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/e0c7eb5a36b45db9a17c75715a99b3a547c45974 Cr-Commit-Position: refs/heads/master@{#434400}
4 years ago (2016-11-24 22:29:06 UTC) #8
haraken
LGTM to revert
4 years ago (2016-11-24 23:29:18 UTC) #9
estark
4 years ago (2016-11-28 17:33:14 UTC) #10
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2538473002/ by estark@chromium.org.

The reason for reverting is: Fixing SecuritySTateTabHelperTests.

Powered by Google App Engine
This is Rietveld 408576698