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

Issue 181493007: Don't stop the documentLoader on navigations. (Closed)

Created:
6 years, 9 months ago by mkosiba (inactive)
Modified:
6 years, 6 months ago
Reviewers:
Nate Chapin
CC:
blink-reviews, gavinp+loader_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Don't stop the documentLoader on navigations. If the new navigation will be canceled by a Browser-side throttle we don't want to cancel the currently loading document. BUG=308257, 378716 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175269

Patch Set 1 #

Patch Set 2 : use onReceivedResponse #

Total comments: 11

Patch Set 3 : #

Patch Set 4 : simplify #

Total comments: 5

Patch Set 5 : update layout tests #

Patch Set 6 : alternative to 6 - remove assert #

Patch Set 7 : more reasonable test changes #

Patch Set 8 : fix (?) checkLoadComplete #

Patch Set 9 : update test expectation #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -9 lines) Patch
M LayoutTests/editing/pasteboard/drag-files-to-editable-element-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 1 comment Download
M LayoutTests/fast/dom/shadow/drop-event-for-input-in-shadow.html View 1 2 3 4 6 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/dom/shadow/drop-event-in-shadow.html View 1 2 3 4 6 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/events/drag-file-crash.html View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/drag-file-crash-expected.txt View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/drop-handler-should-not-stop-navigate.html View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/events/only-valid-drop-targets-receive-file-drop.html View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
A + LayoutTests/fast/events/resources/drag-file-crash-pass.html View 1 2 3 4 5 6 7 0 chunks +-1 lines, --1 lines 0 comments Download
M Source/core/loader/FrameLoader.cpp View 1 2 3 4 5 6 7 3 chunks +11 lines, -5 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
mkosiba (inactive)
Hey! This is me reviving the work I started with https://codereview.chromium.org/131363006/. What I'm trying to ...
6 years, 9 months ago (2014-03-04 16:30:29 UTC) #1
Nate Chapin
Thanks for coming back to this! https://codereview.chromium.org/181493007/diff/20001/Source/core/loader/FrameLoader.cpp File Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/181493007/diff/20001/Source/core/loader/FrameLoader.cpp#newcode624 Source/core/loader/FrameLoader.cpp:624: void FrameLoader::checkCurrentDocumentLoaderNeedsStop() If ...
6 years, 9 months ago (2014-03-10 16:12:44 UTC) #2
mkosiba (inactive)
https://codereview.chromium.org/181493007/diff/20001/Source/core/loader/FrameLoader.cpp File Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/181493007/diff/20001/Source/core/loader/FrameLoader.cpp#newcode624 Source/core/loader/FrameLoader.cpp:624: void FrameLoader::checkCurrentDocumentLoaderNeedsStop() On 2014/03/10 16:12:44, Nate Chapin wrote: > ...
6 years, 9 months ago (2014-03-11 23:24:07 UTC) #3
Nate Chapin
https://codereview.chromium.org/181493007/diff/20001/Source/core/loader/FrameLoader.cpp File Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/181493007/diff/20001/Source/core/loader/FrameLoader.cpp#newcode637 Source/core/loader/FrameLoader.cpp:637: m_progressTracker->progressStarted(); On 2014/03/11 23:24:08, mkosiba wrote: > On 2014/03/10 ...
6 years, 9 months ago (2014-03-12 19:55:44 UTC) #4
mkosiba (inactive)
Thanks Nate! On 2014/03/12 19:55:44, Nate Chapin wrote: > I talked with darin, and our ...
6 years, 9 months ago (2014-03-14 19:13:52 UTC) #5
Nate Chapin
On 2014/03/14 19:13:52, mkosiba wrote: > Thanks Nate! > > On 2014/03/12 19:55:44, Nate Chapin ...
6 years, 9 months ago (2014-03-18 18:08:25 UTC) #6
mkosiba (inactive)
On 2014/03/18 18:08:25, Nate Chapin wrote: > I think the internals of blink are resilient ...
6 years, 9 months ago (2014-03-19 21:50:43 UTC) #7
Nate Chapin
On 2014/03/19 21:50:43, mkosiba wrote: > On 2014/03/18 18:08:25, Nate Chapin wrote: > > I ...
6 years, 9 months ago (2014-03-19 22:05:14 UTC) #8
mkosiba (inactive)
On 2014/03/19 22:05:14, Nate Chapin wrote: > Actually, now that I look at it, I ...
6 years, 9 months ago (2014-03-24 18:44:36 UTC) #9
Nate Chapin
On 2014/03/24 18:44:36, mkosiba wrote: > On 2014/03/19 22:05:14, Nate Chapin wrote: > > Actually, ...
6 years, 9 months ago (2014-03-24 21:59:56 UTC) #10
mkosiba (inactive)
OK, it looks like the ProgressTracker handles multiple calls to progressStarted() correctly now so the ...
6 years, 7 months ago (2014-05-20 17:39:36 UTC) #11
Nate Chapin
I like the way this is shaping up. A couple of nits. https://codereview.chromium.org/181493007/diff/60001/Source/core/loader/FrameLoader.cpp File Source/core/loader/FrameLoader.cpp ...
6 years, 7 months ago (2014-05-20 17:47:08 UTC) #12
mkosiba (inactive)
thanks! https://codereview.chromium.org/181493007/diff/60001/Source/core/loader/FrameLoader.cpp File Source/core/loader/FrameLoader.cpp (left): https://codereview.chromium.org/181493007/diff/60001/Source/core/loader/FrameLoader.cpp#oldcode1296 Source/core/loader/FrameLoader.cpp:1296: if (!m_frame->page() || !m_policyDocumentLoader) On 2014/05/20 17:47:09, Nate ...
6 years, 7 months ago (2014-05-20 19:06:09 UTC) #13
mkosiba (inactive)
thanks! https://codereview.chromium.org/181493007/diff/60001/Source/core/loader/FrameLoader.cpp File Source/core/loader/FrameLoader.cpp (left): https://codereview.chromium.org/181493007/diff/60001/Source/core/loader/FrameLoader.cpp#oldcode1296 Source/core/loader/FrameLoader.cpp:1296: if (!m_frame->page() || !m_policyDocumentLoader) On 2014/05/20 17:47:09, Nate ...
6 years, 7 months ago (2014-05-20 19:06:10 UTC) #14
Nate Chapin
https://codereview.chromium.org/181493007/diff/60001/Source/core/loader/FrameLoader.cpp File Source/core/loader/FrameLoader.cpp (left): https://codereview.chromium.org/181493007/diff/60001/Source/core/loader/FrameLoader.cpp#oldcode1296 Source/core/loader/FrameLoader.cpp:1296: if (!m_frame->page() || !m_policyDocumentLoader) On 2014/05/20 19:06:10, mkosiba wrote: ...
6 years, 7 months ago (2014-05-20 19:16:05 UTC) #15
mkosiba (inactive)
so it turns out the change affects the webkit test runner slightly since it captures ...
6 years, 7 months ago (2014-05-21 19:02:32 UTC) #16
mkosiba (inactive)
so it turns out the change affects the webkit test runner slightly since it captures ...
6 years, 7 months ago (2014-05-21 19:02:32 UTC) #17
Nate Chapin
On 2014/05/21 19:02:32, mkosiba wrote: > so it turns out the change affects the webkit ...
6 years, 7 months ago (2014-05-21 19:12:49 UTC) #18
mkosiba (inactive)
On 2014/05/21 19:12:49, Nate Chapin wrote: > On 2014/05/21 19:02:32, mkosiba wrote: > > One ...
6 years, 7 months ago (2014-05-27 16:57:10 UTC) #19
mkosiba (inactive)
On 2014/05/21 19:12:49, Nate Chapin wrote: > On 2014/05/21 19:02:32, mkosiba wrote: > > One ...
6 years, 7 months ago (2014-05-27 16:57:10 UTC) #20
Nate Chapin
On 2014/05/27 16:57:10, mkosiba wrote: > On 2014/05/21 19:12:49, Nate Chapin wrote: > > On ...
6 years, 7 months ago (2014-05-27 17:00:45 UTC) #21
mkosiba (inactive)
On 2014/05/27 16:57:10, mkosiba wrote: > On 2014/05/21 19:12:49, Nate Chapin wrote: > > On ...
6 years, 6 months ago (2014-05-28 17:50:41 UTC) #22
Nate Chapin
On 2014/05/28 17:50:41, mkosiba wrote: > On 2014/05/27 16:57:10, mkosiba wrote: > > On 2014/05/21 ...
6 years, 6 months ago (2014-05-28 18:02:51 UTC) #23
mkosiba (inactive)
On 2014/05/28 18:02:51, Nate Chapin wrote: > I would have thought that the detached frame ...
6 years, 6 months ago (2014-05-28 22:51:31 UTC) #24
Nate Chapin
On 2014/05/28 22:51:31, mkosiba wrote: > On 2014/05/28 18:02:51, Nate Chapin wrote: > > I ...
6 years, 6 months ago (2014-05-28 23:00:37 UTC) #25
mkosiba (inactive)
Thanks for the review Nate! Let's see what happens when this lands... https://codereview.chromium.org/181493007/diff/160001/LayoutTests/editing/pasteboard/drag-files-to-editable-element-expected.txt File LayoutTests/editing/pasteboard/drag-files-to-editable-element-expected.txt ...
6 years, 6 months ago (2014-06-02 09:41:39 UTC) #26
mkosiba (inactive)
The CQ bit was checked by mkosiba@chromium.org
6 years, 6 months ago (2014-06-02 09:41:44 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkosiba@chromium.org/181493007/160001
6 years, 6 months ago (2014-06-02 09:42:05 UTC) #28
commit-bot: I haz the power
6 years, 6 months ago (2014-06-02 10:25:19 UTC) #29
Message was sent while issue was closed.
Change committed as 175269

Powered by Google App Engine
This is Rietveld 408576698