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

Issue 2655433002: Execute BeforeUnload on subframe browser-initiated navigations (Closed)

Created:
3 years, 11 months ago by clamy
Modified:
3 years, 11 months ago
Reviewers:
Charlie Reis, nasko
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, blink-reviews, site-isolation-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Execute BeforeUnload on subframe browser-initiated navigations This CL ensures we will wait on the BeforeUnload event to execute in teh renderer while doing a browser-initiated subframe navigations. This ensures that BeforeUnload will execute on history navigations in subframes when PlzNavigate is enabled (as is the case in the current architecture). BUG=683891 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2655433002 Cr-Commit-Position: refs/heads/master@{#446325} Committed: https://chromium.googlesource.com/chromium/src/+/3f8ab9c3ab1b4471ba67b261e73753686777f21d

Patch Set 1 #

Patch Set 2 : Execute BeforeUnload on subframe browser-initiated navigations #

Total comments: 2

Patch Set 3 : Rebase #

Patch Set 4 : Updated comment #

Total comments: 1

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -15 lines) Patch
M content/browser/frame_host/navigator_impl_unittest.cc View 1 1 chunk +9 lines, -4 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 2 chunks +1 line, -3 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 1 chunk +6 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/FlagExpectations/enable-browser-side-navigation View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 30 (21 generated)
clamy
@nasko,creis: PTAL @nasko: following our discussion yesterday, I went with implementing the simple version, that ...
3 years, 11 months ago (2017-01-24 16:11:27 UTC) #12
Charlie Reis
I'm generally happy with this. One question below to make sure I understand, though. https://codereview.chromium.org/2655433002/diff/20001/content/browser/frame_host/render_frame_host_impl.cc ...
3 years, 11 months ago (2017-01-24 21:42:50 UTC) #13
clamy
Thanks! The issue described in the comment is that the BeforeUnload IPC will only trigger ...
3 years, 11 months ago (2017-01-25 14:09:39 UTC) #16
Charlie Reis
Thanks! LGTM. https://codereview.chromium.org/2655433002/diff/60001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/2655433002/diff/60001/content/renderer/render_frame_impl.cc#newcode1671 content/renderer/render_frame_impl.cc:1671: // should also be dispatched to out-of-process ...
3 years, 11 months ago (2017-01-25 20:58:13 UTC) #19
clamy
Thanks!
3 years, 11 months ago (2017-01-26 10:35:36 UTC) #20
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/2655433002/60001
3 years, 11 months ago (2017-01-26 10:35:55 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/350905)
3 years, 11 months ago (2017-01-26 10:43:06 UTC) #24
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/2655433002/80001
3 years, 11 months ago (2017-01-26 12:53:21 UTC) #27
commit-bot: I haz the power
3 years, 11 months ago (2017-01-26 14:42:55 UTC) #30
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/3f8ab9c3ab1b4471ba67b261e737...

Powered by Google App Engine
This is Rietveld 408576698