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

Issue 1446253002: PlzNavigate: inform the WebFrameClient that a form will be submitted (Closed)

Created:
5 years, 1 month ago by clamy
Modified:
4 years, 9 months ago
Reviewers:
Nate Chapin, dcheng, nasko
CC:
blink-reviews, blink-reviews-bindings_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, gavinp+loader_chromium.org, jam, loading-reviews_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: inform the WebFrameClient that a form will be submitted This CL makes it so that the WebFrameClient is informed that a form will be submitted when the embedder handles the navigation. BUG=504347 Committed: https://crrev.com/bca103622d505bb537dbc2032de5fcd051c39e0d Cr-Commit-Position: refs/heads/master@{#379001}

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : Rebase on 1608283002 #

Total comments: 3

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -28 lines) Patch
M content/renderer/render_frame_impl.cc View 1 2 3 1 chunk +21 lines, -15 lines 0 comments Download
M testing/buildbot/filters/browser-side-navigation.linux.browser_tests.filter View 1 2 3 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 1 2 3 3 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 32 (10 generated)
clamy
@nasko, japhet: PTAL
5 years, 1 month ago (2015-11-16 16:05:03 UTC) #3
Nate Chapin
On 2015/11/16 16:05:03, clamy wrote: > @nasko, japhet: PTAL dispatchWillSubmitForm() already does this. Can we ...
5 years, 1 month ago (2015-11-16 20:14:45 UTC) #5
clamy
This would mean moving it above shouldContinueForNavigationPolicy, which may make the navigation stop (if you ...
5 years, 1 month ago (2015-11-17 14:38:02 UTC) #6
clamy
@japhet: friendly ping :).
5 years ago (2015-11-25 14:22:14 UTC) #7
Nate Chapin
Sorry for delay, I'm not catching up very quickly after vacation. https://codereview.chromium.org/1446253002/diff/20001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): ...
5 years ago (2015-12-08 23:18:38 UTC) #8
clamy
Thanks! https://codereview.chromium.org/1446253002/diff/20001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1446253002/diff/20001/content/renderer/render_frame_impl.cc#newcode2573 content/renderer/render_frame_impl.cc:2573: navigation_state->set_transition_type(ui::PAGE_TRANSITION_FORM_SUBMIT); On 2015/12/08 23:18:38, Nate Chapin wrote: > ...
5 years ago (2015-12-11 14:50:06 UTC) #9
dcheng
https://codereview.chromium.org/1446253002/diff/20001/third_party/WebKit/Source/core/loader/ProgressTracker.cpp File third_party/WebKit/Source/core/loader/ProgressTracker.cpp (right): https://codereview.chromium.org/1446253002/diff/20001/third_party/WebKit/Source/core/loader/ProgressTracker.cpp#newcode125 third_party/WebKit/Source/core/loader/ProgressTracker.cpp:125: m_frame->loader().client()->didStartLoading(NavigationToDifferentDocument); We absolutely can not special-case mandoline here. We ...
5 years ago (2015-12-11 17:14:06 UTC) #11
clamy
https://codereview.chromium.org/1446253002/diff/20001/third_party/WebKit/Source/core/loader/ProgressTracker.cpp File third_party/WebKit/Source/core/loader/ProgressTracker.cpp (right): https://codereview.chromium.org/1446253002/diff/20001/third_party/WebKit/Source/core/loader/ProgressTracker.cpp#newcode125 third_party/WebKit/Source/core/loader/ProgressTracker.cpp:125: m_frame->loader().client()->didStartLoading(NavigationToDifferentDocument); On 2015/12/11 17:14:06, dcheng wrote: > We absolutely ...
5 years ago (2015-12-14 15:47:19 UTC) #12
clamy
PTAL. Following the refactoring of DidStart/StopLoading and the switch to WebNavigationPolicy::HandledByClient in PlzNavigate, this patch ...
4 years, 10 months ago (2016-02-24 16:20:24 UTC) #14
dcheng
https://codereview.chromium.org/1446253002/diff/40001/third_party/WebKit/Source/core/loader/FrameLoader.cpp File third_party/WebKit/Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/1446253002/diff/40001/third_party/WebKit/Source/core/loader/FrameLoader.cpp#newcode1359 third_party/WebKit/Source/core/loader/FrameLoader.cpp:1359: client()->dispatchWillSubmitForm(form); Just curious: shouldn't the embedder "know" it is ...
4 years, 10 months ago (2016-02-24 21:24:55 UTC) #15
clamy
https://codereview.chromium.org/1446253002/diff/40001/third_party/WebKit/Source/core/loader/FrameLoader.cpp File third_party/WebKit/Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/1446253002/diff/40001/third_party/WebKit/Source/core/loader/FrameLoader.cpp#newcode1359 third_party/WebKit/Source/core/loader/FrameLoader.cpp:1359: client()->dispatchWillSubmitForm(form); On 2016/02/24 21:24:55, dcheng wrote: > Just curious: ...
4 years, 10 months ago (2016-02-25 14:34:07 UTC) #16
dcheng
lgtm https://codereview.chromium.org/1446253002/diff/40001/third_party/WebKit/Source/core/loader/FrameLoader.cpp File third_party/WebKit/Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/1446253002/diff/40001/third_party/WebKit/Source/core/loader/FrameLoader.cpp#newcode1359 third_party/WebKit/Source/core/loader/FrameLoader.cpp:1359: client()->dispatchWillSubmitForm(form); On 2016/02/25 at 14:34:07, clamy wrote: > ...
4 years, 10 months ago (2016-02-25 21:56:17 UTC) #17
nasko
Rubberstamp LGTM
4 years, 9 months ago (2016-02-29 18:24:25 UTC) #18
clamy
@japhet: ping :)
4 years, 9 months ago (2016-03-01 12:29:07 UTC) #19
Nate Chapin
Sorry, thought you had all the LGTMs you needed. LGTM :)
4 years, 9 months ago (2016-03-01 23:15:50 UTC) #20
clamy
Thanks!
4 years, 9 months ago (2016-03-02 12:42:07 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1446253002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1446253002/60001
4 years, 9 months ago (2016-03-02 12:42:28 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/182766)
4 years, 9 months ago (2016-03-02 15:31:49 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1446253002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1446253002/60001
4 years, 9 months ago (2016-03-03 10:27:08 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-03 12:02:41 UTC) #29
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/bca103622d505bb537dbc2032de5fcd051c39e0d Cr-Commit-Position: refs/heads/master@{#379001}
4 years, 9 months ago (2016-03-03 12:04:12 UTC) #31
nasko
4 years, 9 months ago (2016-03-04 19:03:20 UTC) #32
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/1767693002/ by nasko@chromium.org.

The reason for reverting is: This is causing a bunch of crashes on Canary.
Details are in https://crbug.com/591910..

Powered by Google App Engine
This is Rietveld 408576698