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

Issue 1298643003: Fixes crash when swapping frames (Closed)

Created:
5 years, 4 months ago by sky
Modified:
5 years, 4 months ago
Reviewers:
Nate Chapin, dcheng
CC:
blink-reviews, gavinp+loader_chromium.org, kinuko+watch, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Fixes crash when swapping frames m_documentLoader is null. Here's the trace: html_viewer.mojo!blink::DocumentLoader::isCommittedButEmpty() Line 105 html_viewer.mojo!blink::FrameLoader::finishedParsing() Line 485 html_viewer.mojo!blink::FrameLoader::stopAllLoaders() Line 981 html_viewer.mojo!blink::LocalFrame::detach(blink::FrameDetachType type) Line 281 html_viewer.mojo!blink::WebFrame::swap(blink::WebFrame * frame) Line 114 BUG=521663 TEST=none R=japhet@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201027

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M Source/core/loader/FrameLoader.cpp View 2 chunks +2 lines, -2 lines 2 comments Download

Messages

Total messages: 26 (2 generated)
sky
I'm not familiar with this code. It's entirely possible I'm papering over some other bad ...
5 years, 4 months ago (2015-08-17 19:15:36 UTC) #1
Nate Chapin
FWIW, a crash that is similar in concept is being reviewed in https://codereview.chromium.org/1290053003/. If my ...
5 years, 4 months ago (2015-08-17 19:20:35 UTC) #2
sky
https://codereview.chromium.org/1298643003/diff/1/Source/core/loader/FrameLoader.cpp File Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/1298643003/diff/1/Source/core/loader/FrameLoader.cpp#newcode1258 Source/core/loader/FrameLoader.cpp:1258: || (documentLoader() && !documentLoader()->initialScrollState().didRestoreFromHistory); On 2015/08/17 19:20:35, Nate Chapin ...
5 years, 4 months ago (2015-08-17 20:32:36 UTC) #3
sky
On 2015/08/17 19:20:35, Nate Chapin wrote: > FWIW, a crash that is similar in concept ...
5 years, 4 months ago (2015-08-17 20:34:57 UTC) #4
Nate Chapin
On 2015/08/17 20:34:57, sky wrote: > On 2015/08/17 19:20:35, Nate Chapin wrote: > > FWIW, ...
5 years, 4 months ago (2015-08-17 20:39:11 UTC) #5
sky
On 2015/08/17 20:39:11, Nate Chapin wrote: > On 2015/08/17 20:34:57, sky wrote: > > On ...
5 years, 4 months ago (2015-08-17 21:10:18 UTC) #6
Nate Chapin
On 2015/08/17 21:10:18, sky wrote: > On 2015/08/17 20:39:11, Nate Chapin wrote: > > On ...
5 years, 4 months ago (2015-08-17 21:31:05 UTC) #7
dcheng
I'd like to understand why there's a difference between content/ and mojo/ here. Is it ...
5 years, 4 months ago (2015-08-18 05:30:16 UTC) #9
Nate Chapin
On 2015/08/18 05:30:16, dcheng wrote: > I'd like to understand why there's a difference between ...
5 years, 4 months ago (2015-08-18 17:45:40 UTC) #10
sky
On Mon, Aug 17, 2015 at 2:31 PM, <japhet@chromium.org> wrote: > On 2015/08/17 21:10:18, sky ...
5 years, 4 months ago (2015-08-18 18:15:43 UTC) #11
Nate Chapin
On 2015/08/18 18:15:43, sky wrote: > On Mon, Aug 17, 2015 at 2:31 PM, <mailto:japhet@chromium.org> ...
5 years, 4 months ago (2015-08-18 18:18:59 UTC) #12
Nate Chapin
FYI, https://codereview.chromium.org/1290053003 was updated and probably(?) fixes this crash as well.
5 years, 4 months ago (2015-08-19 22:22:29 UTC) #13
sky
On 2015/08/19 22:22:29, Nate Chapin wrote: > FYI, https://codereview.chromium.org/1290053003 was updated and probably(?) > fixes ...
5 years, 4 months ago (2015-08-19 23:18:05 UTC) #14
Nate Chapin
On 2015/08/19 23:18:05, sky wrote: > On 2015/08/19 22:22:29, Nate Chapin wrote: > > FYI, ...
5 years, 4 months ago (2015-08-20 00:02:57 UTC) #15
sky
On 2015/08/20 00:02:57, Nate Chapin wrote: > On 2015/08/19 23:18:05, sky wrote: > > On ...
5 years, 4 months ago (2015-08-20 00:04:36 UTC) #16
sky
On 2015/08/20 00:04:36, sky wrote: > On 2015/08/20 00:02:57, Nate Chapin wrote: > > On ...
5 years, 4 months ago (2015-08-21 19:04:45 UTC) #17
Nate Chapin
On 2015/08/21 19:04:45, sky wrote: > On 2015/08/20 00:04:36, sky wrote: > > On 2015/08/20 ...
5 years, 4 months ago (2015-08-21 21:50:33 UTC) #18
Nate Chapin
On 2015/08/21 21:50:33, Nate Chapin wrote: > On 2015/08/21 19:04:45, sky wrote: > > On ...
5 years, 4 months ago (2015-08-21 21:50:57 UTC) #19
sky
On 2015/08/21 21:50:57, Nate Chapin wrote: > On 2015/08/21 21:50:33, Nate Chapin wrote: > > ...
5 years, 4 months ago (2015-08-21 22:00:59 UTC) #20
Nate Chapin
On 2015/08/21 22:00:59, sky wrote: > On 2015/08/21 21:50:57, Nate Chapin wrote: > > On ...
5 years, 4 months ago (2015-08-21 22:07:38 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1298643003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1298643003/1
5 years, 4 months ago (2015-08-21 22:14:17 UTC) #23
sky
I suspect the unit test would be easiest. Can you point me at some existing ...
5 years, 4 months ago (2015-08-21 22:14:37 UTC) #24
dcheng
There's a bunch in WebFrameTest.cpp: look for WebFrameSwapTest. Daniel On Fri, Aug 21, 2015, 17:14 ...
5 years, 4 months ago (2015-08-21 22:21:33 UTC) #25
commit-bot: I haz the power
5 years, 4 months ago (2015-08-22 00:15:55 UTC) #26
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201027

Powered by Google App Engine
This is Rietveld 408576698