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

Issue 2744483002: Move asserts for tracking global object detachment to WindowProxy. (Closed)

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

Description

Move asserts for tracking global object detachment to WindowProxy. RemoteWindowProxy won't have a ScriptState in the future, so move the DCHECKs so it's possible to continue asserting invariants that should always hold true in WindowProxy. BUG=527190 Review-Url: https://codereview.chromium.org/2744483002 Cr-Commit-Position: refs/heads/master@{#455715} Committed: https://chromium.googlesource.com/chromium/src/+/a1236121a61abad307064fa8a23d6556b03ec3e2

Patch Set 1 #

Total comments: 4

Patch Set 2 : GlobalProxy -> GlobalObject #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -12 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp View 1 2 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/RemoteWindowProxy.cpp View 1 2 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptState.h View 2 chunks +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptState.cpp View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/WindowProxy.h View 1 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp View 1 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 33 (24 generated)
dcheng
3 years, 9 months ago (2017-03-09 00:42:16 UTC) #4
Yuki
The change itself LGTM, but I'm not comfortable with the name. https://codereview.chromium.org/2744483002/diff/1/third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp File third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp (right): ...
3 years, 9 months ago (2017-03-09 07:15:17 UTC) #19
dcheng
https://codereview.chromium.org/2744483002/diff/1/third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp File third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp (right): https://codereview.chromium.org/2744483002/diff/1/third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp#newcode97 third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp:97: didDetachGlobalProxy(); On 2017/03/09 07:15:17, Yuki(slow_til_mar08) wrote: > nit: Is ...
3 years, 9 months ago (2017-03-09 07:19:57 UTC) #20
Yuki
https://codereview.chromium.org/2744483002/diff/1/third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp File third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp (right): https://codereview.chromium.org/2744483002/diff/1/third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp#newcode97 third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp:97: didDetachGlobalProxy(); On 2017/03/09 07:19:56, dcheng wrote: > On 2017/03/09 ...
3 years, 9 months ago (2017-03-09 07:26:31 UTC) #21
dcheng
https://codereview.chromium.org/2744483002/diff/1/third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp File third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp (right): https://codereview.chromium.org/2744483002/diff/1/third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp#newcode97 third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp:97: didDetachGlobalProxy(); On 2017/03/09 07:26:31, Yuki(slow_til_mar08) wrote: > On 2017/03/09 ...
3 years, 9 months ago (2017-03-09 08:00:52 UTC) #23
Yuki
LGTM.
3 years, 9 months ago (2017-03-09 08:08:38 UTC) #25
haraken
LGTM
3 years, 9 months ago (2017-03-09 08:08:50 UTC) #26
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/2744483002/20001
3 years, 9 months ago (2017-03-09 08:11:06 UTC) #30
commit-bot: I haz the power
3 years, 9 months ago (2017-03-09 11:22:30 UTC) #33
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/a1236121a61abad307064fa8a23d...

Powered by Google App Engine
This is Rietveld 408576698