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

Issue 2538473002: Reland of Post tasks for sensitive input visibility notifications (Closed)

Created:
4 years ago by estark
Modified:
4 years ago
Reviewers:
haraken, tapted, dcheng, meacer
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

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 # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=664194 Committed: https://crrev.com/d262a0ed6bd977cfec18514171790fcaee02a0a1 Cr-Commit-Position: refs/heads/master@{#434820}

Patch Set 1 #

Patch Set 2 : Wait for a script to run before checking for pwd notifications #

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 1 7 chunks +18 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.h View 1 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 3 chunks +43 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/PasswordInputType.cpp View 1 2 chunks +2 lines, -36 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/PasswordInputTypeTest.cpp View 1 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
estark
Created Reland of Post tasks for sensitive input visibility notifications
4 years ago (2016-11-28 17:33:14 UTC) #1
estark
Note to reviewers: there's nothing to review at the moment as I haven't fixed the ...
4 years ago (2016-11-28 17:33:52 UTC) #2
estark
meacer, Lord of Fixing Flaky Browser Tests: could you take a look at security_state_tab_helper_browser_tests.cc and ...
4 years ago (2016-11-28 23:18:37 UTC) #7
meacer
On 2016/11/28 23:18:37, estark wrote: > meacer, Lord of Fixing Flaky Browser Tests: could you ...
4 years ago (2016-11-28 23:41:08 UTC) #8
estark
On 2016/11/28 23:41:08, Mustafa Emre Acer wrote: > On 2016/11/28 23:18:37, estark wrote: > > ...
4 years ago (2016-11-28 23:56:11 UTC) #9
dcheng
FWIW, I think we've used a similar hack to deflake site isolation tests (for the ...
4 years ago (2016-11-29 00:06:12 UTC) #10
meacer
On 2016/11/28 23:56:11, estark wrote: > On 2016/11/28 23:41:08, Mustafa Emre Acer wrote: > > ...
4 years ago (2016-11-29 00:36:31 UTC) #11
estark
On 2016/11/29 00:06:12, dcheng wrote: > FWIW, I think we've used a similar hack to ...
4 years ago (2016-11-29 00:38:23 UTC) #12
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/2538473002/120001
4 years ago (2016-11-29 00:41:08 UTC) #14
haraken
LGTM
4 years ago (2016-11-29 01:40:20 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:120001)
4 years ago (2016-11-29 01:47:05 UTC) #17
commit-bot: I haz the power
4 years ago (2016-11-29 01:50:43 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d262a0ed6bd977cfec18514171790fcaee02a0a1
Cr-Commit-Position: refs/heads/master@{#434820}

Powered by Google App Engine
This is Rietveld 408576698