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

Issue 2848503002: Revert of binding: Changes the association among global-proxy/global/window-instance (2nd attempt).… (Closed)

Created:
3 years, 8 months ago by Yuki
Modified:
3 years, 8 months ago
CC:
chromium-reviews, blink-reviews, blink-reviews-frames_chromium.org, blink-reviews-bindings_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of binding: Changes the association among global-proxy/global/window-instance (2nd attempt). (patchset #7 id:120001 of https://codereview.chromium.org/2693893007/ ) Reason for revert: The change should be causing crash issues. https://crbug.com/712638 https://crbug.com/713676 https://crbug.com/713667 https://crbug.com/715150 The root cause could be different but the CL should have at least triggered the crashes. Original issue's description: > binding: Changes the association among global-proxy/global/window-instance (2nd attempt). > > The first attempt is: https://crrev.com/2617733004 > > Since V8 now supports internal fields for the global proxies, > let's change the mappings among global proxy / global object / > C++ instance in Blink. > > With this CL, the global proxy and C++ instance point to each > other, and a global object points to the C++ instance (without > reverse pointer). > > Note that this CL makes one big difference. For non-window objects, > Blink objects always live longer than V8 wrappers. This CL > introduces an exception; DOMWindow may be collected before the V8 > wrapper object gets collected because the V8 wrapper is the global > proxy which remains the same while navigations. > > BUG=675872 > Review-Url: https://codereview.chromium.org/2693893007 > Cr-Commit-Position: refs/heads/master@{#465197} > Committed: https://chromium.googlesource.com/chromium/src/+/ae0d679c61a85bc16722724a4a96e30a1dee9dd2 This CL reverts the following CL, too. v8binding: Makes ToV8(window) work without a frame. https://codereview.chromium.org/2713623002/ Original issue's description: > v8binding: Makes ToV8(window) work without a frame. > > Makes DOMWindow hold a WindowProxyManager and makes > it possible that ToV8(window) work without a frame. > > With this CL, all tests in > external/wpt/html/webappapis/scripting/events/compile-event-handler-settings-objects.html > pass without a failure. > > This CL is a preparation for > https://crrev.com/2693893007 > > BUG= > > Review-Url: https://codereview.chromium.org/2713623002 > Cr-Commit-Position: refs/heads/master@{#464907} > Committed: https://chromium.googlesource.com/chromium/src/+/58af3664facba6332528fd983988d51cf3636af4 BUG=712638, 713676, 713667, 715150 Review-Url: https://codereview.chromium.org/2848503002 Cr-Commit-Position: refs/heads/master@{#467623} Committed: https://chromium.googlesource.com/chromium/src/+/4a97922bec93566369465c2e3d7facc45d165005

Patch Set 1 #

Patch Set 2 : Updated the test expectation. #

Messages

Total messages: 20 (13 generated)
Yuki
Could you review this CL?
3 years, 8 months ago (2017-04-27 08:27:15 UTC) #9
haraken
LGTM
3 years, 8 months ago (2017-04-27 08:31:36 UTC) #10
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/2848503002/20001
3 years, 8 months ago (2017-04-27 08:56:40 UTC) #14
Michael Lippautz
LGTM Thanks a lot! If that fixes the crashers we should really deeply understand what ...
3 years, 8 months ago (2017-04-27 08:56:42 UTC) #15
Yuki
On 2017/04/27 08:56:42, Michael Lippautz wrote: > LGTM > > Thanks a lot! If that ...
3 years, 8 months ago (2017-04-27 08:59:56 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/4a97922bec93566369465c2e3d7facc45d165005
3 years, 8 months ago (2017-04-27 09:01:32 UTC) #19
Yuki
3 years, 8 months ago (2017-04-27 09:02:37 UTC) #20
Message was sent while issue was closed.
Oops, I forgot to write a note.

Note that this revert CL was created manually because it's hard to revert
mechanically due to several dependencies.  But this CL reverts the two CLs of
mine.

Powered by Google App Engine
This is Rietveld 408576698