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

Issue 2706963004: Clear opener when frame is detached. (Closed)

Created:
3 years, 10 months ago by lfg
Modified:
3 years, 10 months ago
Reviewers:
haraken, dcheng
CC:
chromium-reviews, mlamouri+watch-blink_chromium.org, dglazkov+blink, blink-reviews, kinuko+watch, blink-reviews-api_chromium.org, site-isolation-reviews_chromium.org, sigbjornf
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clear opener when frame is detached. This is important in order to avoid exposing detached WebFrames through the blink public API. BUG=691012 Review-Url: https://codereview.chromium.org/2706963004 Cr-Commit-Position: refs/heads/master@{#452079} Committed: https://chromium.googlesource.com/chromium/src/+/ba0384c082b837cc801e56290998caee0d2f145b

Patch Set 1 #

Total comments: 4

Patch Set 2 : addressing comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -30 lines) Patch
M third_party/WebKit/Source/web/OpenedFrameTracker.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/OpenedFrameTracker.cpp View 1 2 chunks +3 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrame.cpp View 1 2 chunks +2 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebFrame.h View 3 chunks +1 line, -3 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
lfg
Daniel, please take a look.
3 years, 10 months ago (2017-02-21 21:52:14 UTC) #3
dcheng
https://codereview.chromium.org/2706963004/diff/1/third_party/WebKit/Source/web/OpenedFrameTracker.cpp File third_party/WebKit/Source/web/OpenedFrameTracker.cpp (right): https://codereview.chromium.org/2706963004/diff/1/third_party/WebKit/Source/web/OpenedFrameTracker.cpp#newcode14 third_party/WebKit/Source/web/OpenedFrameTracker.cpp:14: OpenedFrameTracker::~OpenedFrameTracker() {} DCHECK(m_openedFrames.isEmpty()) https://codereview.chromium.org/2706963004/diff/1/third_party/WebKit/Source/web/OpenedFrameTracker.h File third_party/WebKit/Source/web/OpenedFrameTracker.h (right): https://codereview.chromium.org/2706963004/diff/1/third_party/WebKit/Source/web/OpenedFrameTracker.h#newcode34 third_party/WebKit/Source/web/OpenedFrameTracker.h:34: ...
3 years, 10 months ago (2017-02-21 21:59:37 UTC) #5
lfg
https://codereview.chromium.org/2706963004/diff/1/third_party/WebKit/Source/web/OpenedFrameTracker.cpp File third_party/WebKit/Source/web/OpenedFrameTracker.cpp (right): https://codereview.chromium.org/2706963004/diff/1/third_party/WebKit/Source/web/OpenedFrameTracker.cpp#newcode14 third_party/WebKit/Source/web/OpenedFrameTracker.cpp:14: OpenedFrameTracker::~OpenedFrameTracker() {} On 2017/02/21 21:59:37, dcheng wrote: > DCHECK(m_openedFrames.isEmpty()) ...
3 years, 10 months ago (2017-02-21 22:04:50 UTC) #7
dcheng
LGTM Please expand the CL description to document why we need to do this (it's ...
3 years, 10 months ago (2017-02-21 22:09:07 UTC) #9
dcheng
On 2017/02/21 22:09:07, dcheng wrote: > LGTM > > Please expand the CL description to ...
3 years, 10 months ago (2017-02-21 22:09:31 UTC) #10
haraken
LGTM
3 years, 10 months ago (2017-02-22 00:25:43 UTC) #13
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/2706963004/20001
3 years, 10 months ago (2017-02-22 15:15:05 UTC) #16
commit-bot: I haz the power
3 years, 10 months ago (2017-02-22 16:31:06 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/ba0384c082b837cc801e56290998...

Powered by Google App Engine
This is Rietveld 408576698