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

Issue 1156663003: Adjust FrameFetchContext clearing logic when clearing HTMLImportsController (Closed)

Created:
5 years, 7 months ago by sof
Modified:
5 years, 7 months ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Adjust FrameFetchContext clearing logic when clearing HTMLImportsController Have the clearing of a Document's HTMLImportsController only clear its FrameFetchContext if there's no DocumentLoader attached. If a loader is attached, it is possibly shared amongst multiple Documents and it is responsible for clearing the fetch context. This mirrors the condition used during detach(). R=dcheng BUG=491051 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195801

Patch Set 1 #

Total comments: 2

Patch Set 2 : improve test description #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -2 lines) Patch
A LayoutTests/fast/loader/javascript-detached-frame-no-crash.html View 1 1 chunk +20 lines, -0 lines 1 comment Download
A + LayoutTests/fast/loader/javascript-detached-frame-no-crash-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
A LayoutTests/fast/loader/resources/javascript-detached-frame-iframe.html View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (3 generated)
sof
please take a look.
5 years, 7 months ago (2015-05-22 16:00:03 UTC) #2
dcheng
lgtm with a nit I wish the logic for this was more centralized, but that ...
5 years, 7 months ago (2015-05-22 16:10:48 UTC) #3
sof
thanks for the quick review. Loose thinking (on a friday afternoon), but some form of ...
5 years, 7 months ago (2015-05-22 16:29:32 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1156663003/20001
5 years, 7 months ago (2015-05-22 16:30:08 UTC) #7
Mike West
https://codereview.chromium.org/1156663003/diff/20001/LayoutTests/fast/loader/javascript-detached-frame-no-crash.html File LayoutTests/fast/loader/javascript-detached-frame-no-crash.html (right): https://codereview.chromium.org/1156663003/diff/20001/LayoutTests/fast/loader/javascript-detached-frame-no-crash.html#newcode2 LayoutTests/fast/loader/javascript-detached-frame-no-crash.html:2: <script src="../../resources/js-test.js"></script> Tiny, tiny nit: Use testharness.js next time. ...
5 years, 7 months ago (2015-05-22 16:53:29 UTC) #8
commit-bot: I haz the power
5 years, 7 months ago (2015-05-22 18:21:27 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=195801

Powered by Google App Engine
This is Rietveld 408576698