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

Issue 2956673002: [reland] Move navigation-induced hiding of form-validation-bubble to the browser process. (Closed)

Created:
3 years, 6 months ago by Łukasz Anforowicz
Modified:
3 years, 5 months ago
Reviewers:
tkent, alexmos
CC:
chromium-reviews, sof, creis+watch_chromium.org, eae+blinkwatch, nasko+codewatch_chromium.org, jam, blink-reviews-dom_chromium.org, dglazkov+blink, darin-cc_chromium.org, blink-reviews, blink-reviews-html_chromium.org, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[reland] Move navigation-induced hiding of form-validation-bubble to the browser process. Moving hiding of the form validation bubble to the browser process has the following benefits: - It allows simplifying/removing code from Blink (in particular it allows removing some of the code added in r459701). - It makes the hiding immune against compromised renderers. - It makes the hiding work even if ViewHostMsg_HideValidationMessage IPC gets filtered out (i.e. see CanSendWhileSwappedOut method in content::SwappedOutMessages). This in turn will allow relanding of r479538. BUG=733940 TEST=Manually verified that bugs 733940, 704560, 673163 are still fixed. TBR=alexmos@chromium.org Review-Url: https://codereview.chromium.org/2956673002 Cr-Commit-Position: refs/heads/master@{#482327} Committed: https://chromium.googlesource.com/chromium/src/+/041634d6b54ab33ca9c506ec137fc4961d7792f1

Patch Set 1 : This patchset is copied from https://crrev.com/2949593003 (that is being relanded here). #

Patch Set 2 : Keep ValidationMessageClient::DocumentDetached method. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -26 lines) Patch
M content/browser/web_contents/web_contents_impl.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_browsertest.cc View 1 chunk +74 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/DocumentTest.cpp View 1 3 chunks +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFormControlElementTest.cpp View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/Page.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/Page.cpp View 1 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/page/ValidationMessageClient.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/ValidationMessageClientImpl.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/ValidationMessageClientImpl.cpp View 1 1 chunk +1 line, -6 lines 0 comments Download

Messages

Total messages: 16 (11 generated)
Łukasz Anforowicz
tkent@ could you PTAL? This is a reland of https://codereview.chromium.org/2949593003, except that here I am ...
3 years, 6 months ago (2017-06-23 23:09:19 UTC) #4
tkent
third_party/WebKit lgtm
3 years, 6 months ago (2017-06-25 23:07:36 UTC) #7
Łukasz Anforowicz
alexmos@, I will just add you to TBR, because there are no //content changes here ...
3 years, 5 months ago (2017-06-26 16:11:58 UTC) #10
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/2956673002/20001
3 years, 5 months ago (2017-06-26 16:12:20 UTC) #12
commit-bot: I haz the power
3 years, 5 months ago (2017-06-26 18:21:27 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/041634d6b54ab33ca9c506ec137f...

Powered by Google App Engine
This is Rietveld 408576698