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

Issue 2580703003: Make sure pages that are closing but not yet closed are still suspended. (Closed)

Created:
4 years ago by dcheng
Modified:
4 years ago
Reviewers:
kinuko, haraken, Nate Chapin
CC:
chromium-reviews, blink-reviews, dglazkov+blink, blink-reviews-html_chromium.org, kinuko+watch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make sure pages that are closing but not yet closed are still suspended. BUG=671102 Committed: https://crrev.com/0879cb1c4d5e7a53d060bfb7cf7cf9ea05aced72 Cr-Commit-Position: refs/heads/master@{#440376}

Patch Set 1 #

Patch Set 2 : Remove more debug goop #

Patch Set 3 : fix tests #

Patch Set 4 : comments #

Total comments: 2

Patch Set 5 : revert no longer needed test change #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -32 lines) Patch
M third_party/WebKit/Source/core/frame/DOMWindow.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/FrameTree.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/Page.h View 1 2 3 6 chunks +21 lines, -5 lines 3 comments Download
M third_party/WebKit/Source/core/page/Page.cpp View 1 2 3 3 chunks +15 lines, -8 lines 2 comments Download
M third_party/WebKit/Source/core/page/ScopedPageSuspender.h View 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/ScopedPageSuspender.cpp View 2 chunks +10 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/web/tests/ChromeClientImplTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebViewTest.cpp View 3 4 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (22 generated)
dcheng
A possible alternative is https://codereview.chromium.org/2575923002/, but maintaining 3 sets seems more horrible. https://codereview.chromium.org/2580703003/diff/60001/third_party/WebKit/Source/core/page/FrameTree.cpp File third_party/WebKit/Source/core/page/FrameTree.cpp ...
4 years ago (2016-12-15 19:11:38 UTC) #15
dcheng
+kinuko, mind taking a look at this? Many loading people seem to be OOO right ...
4 years ago (2016-12-19 18:30:00 UTC) #19
kinuko
https://codereview.chromium.org/2580703003/diff/80001/third_party/WebKit/Source/core/page/Page.h File third_party/WebKit/Source/core/page/Page.h (right): https://codereview.chromium.org/2580703003/diff/80001/third_party/WebKit/Source/core/page/Page.h#newcode198 third_party/WebKit/Source/core/page/Page.h:198: // is also suspended. A bit tangential, but: afaik ...
4 years ago (2016-12-20 08:09:28 UTC) #20
dcheng
https://codereview.chromium.org/2580703003/diff/80001/third_party/WebKit/Source/core/page/Page.h File third_party/WebKit/Source/core/page/Page.h (right): https://codereview.chromium.org/2580703003/diff/80001/third_party/WebKit/Source/core/page/Page.h#newcode198 third_party/WebKit/Source/core/page/Page.h:198: // is also suspended. On 2016/12/20 08:09:28, kinuko wrote: ...
4 years ago (2016-12-20 08:19:04 UTC) #21
dcheng
On 2016/12/20 08:19:04, dcheng wrote: > https://codereview.chromium.org/2580703003/diff/80001/third_party/WebKit/Source/core/page/Page.h > File third_party/WebKit/Source/core/page/Page.h (right): > > https://codereview.chromium.org/2580703003/diff/80001/third_party/WebKit/Source/core/page/Page.h#newcode198 > ...
4 years ago (2016-12-20 08:23:49 UTC) #23
haraken
https://codereview.chromium.org/2580703003/diff/80001/third_party/WebKit/Source/core/page/Page.h File third_party/WebKit/Source/core/page/Page.h (right): https://codereview.chromium.org/2580703003/diff/80001/third_party/WebKit/Source/core/page/Page.h#newcode198 third_party/WebKit/Source/core/page/Page.h:198: // is also suspended. On 2016/12/20 08:19:04, dcheng wrote: ...
4 years ago (2016-12-20 10:05:38 UTC) #24
haraken
On 2016/12/20 10:05:38, haraken wrote: > https://codereview.chromium.org/2580703003/diff/80001/third_party/WebKit/Source/core/page/Page.h > File third_party/WebKit/Source/core/page/Page.h (right): > > https://codereview.chromium.org/2580703003/diff/80001/third_party/WebKit/Source/core/page/Page.h#newcode198 > ...
4 years ago (2016-12-20 10:06:41 UTC) #25
dcheng
On 2016/12/20 10:06:41, haraken wrote: > On 2016/12/20 10:05:38, haraken wrote: > > > https://codereview.chromium.org/2580703003/diff/80001/third_party/WebKit/Source/core/page/Page.h ...
4 years ago (2016-12-20 10:09:43 UTC) #26
haraken
On 2016/12/20 10:09:43, dcheng wrote: > On 2016/12/20 10:06:41, haraken wrote: > > On 2016/12/20 ...
4 years ago (2016-12-20 10:14:24 UTC) #27
dcheng
ping =)
4 years ago (2016-12-21 09:35:53 UTC) #28
haraken
I guess kinuko-san would be a better reviewer for this.
4 years ago (2016-12-21 09:50:31 UTC) #29
kinuko
Thanks for the renaming discussion, pause sounds clearer to me too. lgtm mod one question ...
4 years ago (2016-12-21 13:38:17 UTC) #30
dcheng
https://codereview.chromium.org/2580703003/diff/80001/third_party/WebKit/Source/core/page/Page.cpp File third_party/WebKit/Source/core/page/Page.cpp (right): https://codereview.chromium.org/2580703003/diff/80001/third_party/WebKit/Source/core/page/Page.cpp#newcode159 third_party/WebKit/Source/core/page/Page.cpp:159: toLocalFrame(m_mainFrame)->loader().stopAllLoaders(); On 2016/12/21 13:38:17, kinuko wrote: > Is the ...
4 years ago (2016-12-22 08:39:11 UTC) #31
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/2580703003/80001
4 years ago (2016-12-22 08:39:50 UTC) #33
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-22 10:37:26 UTC) #36
commit-bot: I haz the power
4 years ago (2016-12-22 10:40:00 UTC) #38
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0879cb1c4d5e7a53d060bfb7cf7cf9ea05aced72
Cr-Commit-Position: refs/heads/master@{#440376}

Powered by Google App Engine
This is Rietveld 408576698