|
PlzNavigate: stop navigations when opening a document for write
This CL ensures that we stop renderer-initiated navigations when
attempting to do a document write. In order to do this in PlzNavigate,
we introduce a new IPC where the RenderFrame asks the browser process to
drop its renderer-initiated request. The CL also fixes an issue with the
cancellation of renderer-initiated navigations in PlzNavigate. We issued
a Stop IPC that would stop all loaders. Instead, we now have a new IPC
that will only cancel the dummy provisional DocumentLoader that keeps
track of navigations handled by the browser process.
BUG= 576261
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Review-Url: https://codereview.chromium.org/2735183003
Cr-Commit-Position: refs/heads/master@{#459081}
Committed: https://chromium.googlesource.com/chromium/src/+/a86695ba7e713a92a517631681c549f74871a747
Total comments: 9
Total comments: 4
Total comments: 12
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+99 lines, -31 lines) |
Patch |
|
M |
content/browser/frame_host/frame_tree_node.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/frame_host/frame_tree_node.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/browser/frame_host/navigation_controller_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/browser/frame_host/navigation_request.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/browser/frame_host/navigator.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+10 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/frame_host/navigator_impl.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/frame_host/navigator_impl.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+17 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/browser/frame_host/render_frame_host_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/frame_host/render_frame_host_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+13 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/frame_host/render_frame_host_manager.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/common/frame_messages.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_frame_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_frame_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/test/test_render_frame_host.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/test/test_web_contents.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/FlagExpectations/enable-browser-side-navigation
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/dom/Document.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/frame/LocalFrameClient.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/web/LocalFrameClientImpl.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/public/web/WebFrameClient.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 55 (34 generated)
|