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

Issue 2713623002: v8binding: Makes ToV8(window) work without a frame. (Closed)

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

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

Patch Set 1 #

Patch Set 2 : Synced. #

Patch Set 3 : . #

Patch Set 4 : Synced. #

Patch Set 5 : . #

Patch Set 6 : . #

Total comments: 11

Patch Set 7 : Synced. #

Patch Set 8 : Addressed a review comment. #

Total comments: 2

Patch Set 9 : Synced + DCHECK's fix. #

Patch Set 10 : Changed the approach. #

Patch Set 11 : Synced. #

Total comments: 2

Patch Set 12 : Synced. #

Patch Set 13 : Added a TODO comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -16 lines) Patch
D third_party/WebKit/LayoutTests/external/wpt/html/webappapis/scripting/events/compile-event-handler-settings-objects-expected.txt View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ToV8ForCore.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/frame/DOMWindow.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +8 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/DOMWindow.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 62 (42 generated)
Yuki
Could you guys review this CL?
3 years, 8 months ago (2017-04-06 09:32:29 UTC) #25
haraken
https://codereview.chromium.org/2713623002/diff/100001/third_party/WebKit/Source/core/frame/DOMWindow.h File third_party/WebKit/Source/core/frame/DOMWindow.h (right): https://codereview.chromium.org/2713623002/diff/100001/third_party/WebKit/Source/core/frame/DOMWindow.h#newcode129 third_party/WebKit/Source/core/frame/DOMWindow.h:129: // of this object. I don't fully understand why ...
3 years, 8 months ago (2017-04-06 17:25:27 UTC) #28
dcheng
https://codereview.chromium.org/2713623002/diff/100001/third_party/WebKit/Source/core/frame/DOMWindow.h File third_party/WebKit/Source/core/frame/DOMWindow.h (right): https://codereview.chromium.org/2713623002/diff/100001/third_party/WebKit/Source/core/frame/DOMWindow.h#newcode129 third_party/WebKit/Source/core/frame/DOMWindow.h:129: // of this object. On 2017/04/06 17:25:27, haraken wrote: ...
3 years, 8 months ago (2017-04-07 06:23:12 UTC) #29
Yuki
https://codereview.chromium.org/2713623002/diff/100001/third_party/WebKit/Source/core/frame/DOMWindow.h File third_party/WebKit/Source/core/frame/DOMWindow.h (right): https://codereview.chromium.org/2713623002/diff/100001/third_party/WebKit/Source/core/frame/DOMWindow.h#newcode129 third_party/WebKit/Source/core/frame/DOMWindow.h:129: // of this object. On 2017/04/07 06:23:12, dcheng wrote: ...
3 years, 8 months ago (2017-04-07 08:40:20 UTC) #30
haraken
https://codereview.chromium.org/2713623002/diff/100001/third_party/WebKit/Source/core/frame/DOMWindow.cpp File third_party/WebKit/Source/core/frame/DOMWindow.cpp (right): https://codereview.chromium.org/2713623002/diff/100001/third_party/WebKit/Source/core/frame/DOMWindow.cpp#newcode424 third_party/WebKit/Source/core/frame/DOMWindow.cpp:424: return m_windowProxyManager->windowProxy(world)->globalProxyIfNotDetached(); So, are you planning to change this ...
3 years, 8 months ago (2017-04-07 10:08:58 UTC) #31
Yuki
https://codereview.chromium.org/2713623002/diff/100001/third_party/WebKit/Source/core/frame/DOMWindow.cpp File third_party/WebKit/Source/core/frame/DOMWindow.cpp (right): https://codereview.chromium.org/2713623002/diff/100001/third_party/WebKit/Source/core/frame/DOMWindow.cpp#newcode424 third_party/WebKit/Source/core/frame/DOMWindow.cpp:424: return m_windowProxyManager->windowProxy(world)->globalProxyIfNotDetached(); On 2017/04/07 10:08:58, haraken wrote: > > ...
3 years, 8 months ago (2017-04-07 10:30:44 UTC) #32
haraken
On 2017/04/07 10:30:44, Yuki wrote: > https://codereview.chromium.org/2713623002/diff/100001/third_party/WebKit/Source/core/frame/DOMWindow.cpp > File third_party/WebKit/Source/core/frame/DOMWindow.cpp (right): > > https://codereview.chromium.org/2713623002/diff/100001/third_party/WebKit/Source/core/frame/DOMWindow.cpp#newcode424 > ...
3 years, 8 months ago (2017-04-07 10:42:12 UTC) #33
Yuki
On 2017/04/07 10:42:12, haraken wrote: > > On 2017/04/07 10:08:58, haraken wrote: > > > ...
3 years, 8 months ago (2017-04-07 10:53:37 UTC) #34
haraken
On 2017/04/07 10:53:37, Yuki wrote: > On 2017/04/07 10:42:12, haraken wrote: > > > On ...
3 years, 8 months ago (2017-04-07 11:35:03 UTC) #35
Yuki
On 2017/04/07 11:35:03, haraken wrote: > Let's change the WeakMember with UntracedMember. With that change, ...
3 years, 8 months ago (2017-04-07 12:48:37 UTC) #36
haraken
On 2017/04/07 12:48:37, Yuki wrote: > On 2017/04/07 11:35:03, haraken wrote: > > Let's change ...
3 years, 8 months ago (2017-04-07 14:01:50 UTC) #39
Yuki
On 2017/04/07 14:01:50, haraken wrote: > On 2017/04/07 12:48:37, Yuki wrote: > > On 2017/04/07 ...
3 years, 8 months ago (2017-04-07 15:04:35 UTC) #44
dcheng
https://codereview.chromium.org/2713623002/diff/100001/third_party/WebKit/Source/core/frame/DOMWindow.h File third_party/WebKit/Source/core/frame/DOMWindow.h (right): https://codereview.chromium.org/2713623002/diff/100001/third_party/WebKit/Source/core/frame/DOMWindow.h#newcode140 third_party/WebKit/Source/core/frame/DOMWindow.h:140: // available. Thinking about this more, I wonder if ...
3 years, 8 months ago (2017-04-07 18:48:48 UTC) #47
Yuki
dcheng@ is right. Let me change the approach overall. I'll ping you guys when this ...
3 years, 8 months ago (2017-04-10 09:43:32 UTC) #48
Yuki
Could you guys take another look? I've changed the approach. Now this CL simply makes ...
3 years, 8 months ago (2017-04-14 12:43:39 UTC) #53
haraken
LGTM https://codereview.chromium.org/2713623002/diff/200001/third_party/WebKit/Source/core/frame/DOMWindow.cpp File third_party/WebKit/Source/core/frame/DOMWindow.cpp (right): https://codereview.chromium.org/2713623002/diff/200001/third_party/WebKit/Source/core/frame/DOMWindow.cpp#newcode430 third_party/WebKit/Source/core/frame/DOMWindow.cpp:430: ->GlobalProxyIfNotDetached(); Shall we add a TODO and mention ...
3 years, 8 months ago (2017-04-14 18:51:51 UTC) #54
dcheng
LGTM
3 years, 8 months ago (2017-04-14 19:21:30 UTC) #55
Yuki
https://codereview.chromium.org/2713623002/diff/200001/third_party/WebKit/Source/core/frame/DOMWindow.cpp File third_party/WebKit/Source/core/frame/DOMWindow.cpp (right): https://codereview.chromium.org/2713623002/diff/200001/third_party/WebKit/Source/core/frame/DOMWindow.cpp#newcode430 third_party/WebKit/Source/core/frame/DOMWindow.cpp:430: ->GlobalProxyIfNotDetached(); On 2017/04/14 18:51:50, haraken wrote: > > Shall ...
3 years, 8 months ago (2017-04-17 07:15:26 UTC) #56
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/2713623002/240001
3 years, 8 months ago (2017-04-17 07:15:59 UTC) #59
commit-bot: I haz the power
3 years, 8 months ago (2017-04-17 08:51:51 UTC) #62
Message was sent while issue was closed.
Committed patchset #13 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/58af3664facba6332528fd983988...

Powered by Google App Engine
This is Rietveld 408576698