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

Issue 183763030: Remove DocumentLoader::clearArchiveResources (Closed)

Created:
6 years, 9 months ago by ingemara
Modified:
6 years, 9 months ago
CC:
blink-reviews, gavinp+loader_chromium.org, Daniel Bratell
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Remove DocumentLoader::clearArchiveResources It is possible for the DocumentLoader to lose it's ArchiveResourceCollection without it's MHTMLArchive being deallocated as well, as is observed when a navigation, which may be aborted, is initiated. By not clearing the ArchiveResourceCollection in such cases, the DocumentLoader is left in a still valid state. BUG=348977 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170148

Patch Set 1 #

Patch Set 2 : Add LayoutTest, revert previous patchset, remove clearArchiveResources #

Patch Set 3 : _original.html -> .html_original #

Patch Set 4 : Don't use local test server for https request #

Patch Set 5 : Make sure .mht files are crlf #

Patch Set 6 : Trying to get upload.py not strip crlf #

Patch Set 7 : Remove LayoutTests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -8 lines) Patch
M Source/core/loader/DocumentLoader.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/loader/DocumentLoader.cpp View 1 2 2 chunks +0 lines, -7 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
ingemara
Hey, I'm mostly looking for comments on this CL, as removing this assertion doesn't feel ...
6 years, 9 months ago (2014-03-04 13:52:15 UTC) #1
Nate Chapin
+abarth This seems reasonable to me, but ideally I'd like to find a test that ...
6 years, 9 months ago (2014-03-06 23:25:31 UTC) #2
ingemara
All I've managed to come up with is a crummy browsertest added to webkit_browsertests.cc, which ...
6 years, 9 months ago (2014-03-10 09:57:35 UTC) #3
Nate Chapin
On 2014/03/10 09:57:35, ingemara wrote: > All I've managed to come up with is a ...
6 years, 9 months ago (2014-03-10 15:57:40 UTC) #4
ingemara
On 2014/03/10 15:57:40, Nate Chapin wrote: > http://src.chromium.org/viewvc/blink/trunk/LayoutTests/mhtml/ has some tests > that provide examples ...
6 years, 9 months ago (2014-03-11 07:21:22 UTC) #5
Nate Chapin
On 2014/03/11 07:21:22, ingemara wrote: > On 2014/03/10 15:57:40, Nate Chapin wrote: > > http://src.chromium.org/viewvc/blink/trunk/LayoutTests/mhtml/ ...
6 years, 9 months ago (2014-03-11 16:06:20 UTC) #6
ingemara
On 2014/03/11 16:06:20, Nate Chapin wrote: > What kind of interaction is required? Is there ...
6 years, 9 months ago (2014-03-12 09:03:42 UTC) #7
Nate Chapin
On 2014/03/12 09:03:42, ingemara wrote: > On 2014/03/11 16:06:20, Nate Chapin wrote: > > What ...
6 years, 9 months ago (2014-03-12 14:43:09 UTC) #8
ingemara
On 2014/03/12 14:43:09, Nate Chapin wrote: > You might be able to get in this ...
6 years, 9 months ago (2014-03-14 10:36:25 UTC) #9
Nate Chapin
LGTM! Thanks for sticking with this.
6 years, 9 months ago (2014-03-17 17:01:58 UTC) #10
ingemara
The CQ bit was checked by ingemara@opera.com
6 years, 9 months ago (2014-03-18 07:43:24 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ingemara@opera.com/183763030/20001
6 years, 9 months ago (2014-03-18 07:43:34 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 08:12:47 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_rel
6 years, 9 months ago (2014-03-18 08:12:48 UTC) #14
ingemara
The CQ bit was checked by ingemara@opera.com
6 years, 9 months ago (2014-03-18 12:03:18 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ingemara@opera.com/183763030/40001
6 years, 9 months ago (2014-03-18 12:03:32 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 12:32:07 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_rel
6 years, 9 months ago (2014-03-18 12:32:07 UTC) #18
ingemara
Looks like I made a few mistakes with the layout tests, but they should be ...
6 years, 9 months ago (2014-03-18 15:24:09 UTC) #19
ingemara
The CQ bit was checked by ingemara@opera.com
6 years, 9 months ago (2014-03-19 09:03:43 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ingemara@opera.com/183763030/80001
6 years, 9 months ago (2014-03-19 09:03:47 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 09:32:09 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_rel
6 years, 9 months ago (2014-03-19 09:32:09 UTC) #23
ingemara
Apparently, https://codereview.chromium.org/161383002 just landed which kills the tests. I don't see any way to reproduce ...
6 years, 9 months ago (2014-03-27 07:43:25 UTC) #24
ingemara
The CQ bit was checked by ingemara@opera.com
6 years, 9 months ago (2014-03-27 07:43:31 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ingemara@opera.com/183763030/100001
6 years, 9 months ago (2014-03-27 07:43:33 UTC) #26
commit-bot: I haz the power
Change committed as 170148
6 years, 9 months ago (2014-03-27 08:43:28 UTC) #27
Nate Chapin
6 years, 9 months ago (2014-03-27 16:40:14 UTC) #28
Message was sent while issue was closed.
On 2014/03/27 07:43:25, ingemara wrote:
> Apparently, https://codereview.chromium.org/161383002 just landed which kills
> the tests. I don't see any way to reproduce the issues without JS in .mhtml
> files. I've talked to Nate off-review, and skipping the tests is OK.

LGTM and thanks!

Sorry for all the wasted extra effort.

Powered by Google App Engine
This is Rietveld 408576698