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

Issue 1096393005: Initialize the new WindowProxy when handing off the global object. (Closed)

Created:
5 years, 8 months ago by dcheng
Modified:
5 years, 7 months ago
Reviewers:
haraken, Yuki, earthdok
CC:
arv+blink, blink-reviews, blink-reviews-bindings_chromium.org, site-isolation-reviews_chromium.org, vivekg_samsung, vivekg
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Initialize the new WindowProxy when handing off the global object. BUG=480676 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194405 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194904

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -2 lines) Patch
M Source/bindings/core/v8/WindowProxy.cpp View 2 chunks +9 lines, -2 lines 1 comment Download
M Source/web/tests/WebFrameTest.cpp View 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
dcheng
I didn't notice this in my testing, because I was always checking object equality with ...
5 years, 8 months ago (2015-04-24 01:34:42 UTC) #2
haraken
https://codereview.chromium.org/1096393005/diff/1/Source/bindings/core/v8/WindowProxy.cpp File Source/bindings/core/v8/WindowProxy.cpp (right): https://codereview.chromium.org/1096393005/diff/1/Source/bindings/core/v8/WindowProxy.cpp#newcode165 Source/bindings/core/v8/WindowProxy.cpp:165: initializeIfNeeded(); Just to confirm: This initializeIfNeeded() creates a new ...
5 years, 8 months ago (2015-04-24 05:06:04 UTC) #3
haraken
On 2015/04/24 05:06:04, haraken wrote: > https://codereview.chromium.org/1096393005/diff/1/Source/bindings/core/v8/WindowProxy.cpp > File Source/bindings/core/v8/WindowProxy.cpp (right): > > https://codereview.chromium.org/1096393005/diff/1/Source/bindings/core/v8/WindowProxy.cpp#newcode165 > ...
5 years, 8 months ago (2015-04-24 05:07:00 UTC) #4
dcheng
On 2015/04/24 at 05:07:00, haraken wrote: > On 2015/04/24 05:06:04, haraken wrote: > > https://codereview.chromium.org/1096393005/diff/1/Source/bindings/core/v8/WindowProxy.cpp ...
5 years, 8 months ago (2015-04-24 06:23:09 UTC) #5
haraken
On 2015/04/24 06:23:09, dcheng wrote: > On 2015/04/24 at 05:07:00, haraken wrote: > > On ...
5 years, 8 months ago (2015-04-24 07:59:47 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1096393005/1
5 years, 8 months ago (2015-04-24 15:11:09 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://src.chromium.org/viewvc/blink?view=rev&revision=194405
5 years, 8 months ago (2015-04-24 16:22:57 UTC) #9
tkent
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/1078983007/ by tkent@chromium.org. ...
5 years, 8 months ago (2015-04-26 20:51:00 UTC) #10
tkent
On 2015/04/26 20:51:00, tkent wrote: > A revert of this CL (patchset #1 id:1) has ...
5 years, 8 months ago (2015-04-26 22:35:34 UTC) #11
dcheng
+yukishiino So I've been looking into the LSan failures and I can't figure them out. ...
5 years, 8 months ago (2015-04-27 23:59:30 UTC) #13
dcheng
+earthdok@, who might be able to give some more insight from the LSan perspective. I ...
5 years, 7 months ago (2015-05-01 02:17:59 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1096393005/1
5 years, 7 months ago (2015-05-05 00:15:15 UTC) #19
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://src.chromium.org/viewvc/blink?view=rev&revision=194904
5 years, 7 months ago (2015-05-05 04:03:12 UTC) #20
earthdok
5 years, 7 months ago (2015-05-05 13:52:54 UTC) #21
Message was sent while issue was closed.
On 2015/05/01 02:17:59, dcheng wrote:
> From https://crbug.com/328552, it looks like LSan can't trace into v8's mmaped
> pages.
Actually, it can. The problem is with tests that shut down V8 before LSan starts
leak checking. Everything that inherits from RenderViewTest (such as in this
case) is guilty of this.

> So this explains why it considers RemoteDOMWindow a leak. However, I
> can't figure out why LocalDOMWindow isn't considered a leak--its only
reference
> should be from v8 as well. I guess the other possibility is that there's a raw
> LocalDOMWindow on the stack or in the registers somewhere... but that seems
very
> unlikely: I think LSan runs just before we exit the process.

You can try LSAN_OPTIONS=log_pointers=true. This will tell you where LSan found
the pointer to the LocalDOMWindow.

Powered by Google App Engine
This is Rietveld 408576698