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

Issue 1289033003: Start changing WebDOMMessageEvent for using target execution context. (Closed)

Created:
5 years, 4 months ago by sgurun-gerrit only
Modified:
5 years, 4 months ago
Reviewers:
dcheng, adamk, alexmos
CC:
blink-reviews, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Start changing WebDOMMessageEvent for using target execution context. Message ports were using the source frame's execution context rather than the targets when ports were transferred from a frame to another. This seems to be leaky and also creates difficulties when implementing message port support for android webview and OOPIF. Use the target instead. This is patch 1 of 3. The next CL will move chromium code to use newly introduced method and the third CL will delete the old methods. BUG=473258 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200735

Patch Set 1 #

Total comments: 4

Patch Set 2 : removed obsolote todo #

Total comments: 6

Patch Set 3 : address code review #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -7 lines) Patch
M Source/web/WebDOMMessageEvent.cpp View 1 2 2 chunks +16 lines, -5 lines 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M public/web/WebDOMMessageEvent.h View 1 2 1 chunk +2 lines, -0 lines 2 comments Download

Messages

Total messages: 14 (3 generated)
sgurun-gerrit only
On 2015/08/14 23:26:42, sgurun wrote: > mailto:sgurun@chromium.org changed reviewers: > + mailto:adamk@chromium.org ptal, thanks! I ...
5 years, 4 months ago (2015-08-14 23:28:43 UTC) #2
adamk
+alexmos for the TODO, dcheng for public/OWNERS (and probably a better reviewer for this change ...
5 years, 4 months ago (2015-08-15 00:01:16 UTC) #4
alexmos
https://codereview.chromium.org/1289033003/diff/1/Source/web/WebDOMMessageEvent.cpp File Source/web/WebDOMMessageEvent.cpp (right): https://codereview.chromium.org/1289033003/diff/1/Source/web/WebDOMMessageEvent.cpp#newcode52 Source/web/WebDOMMessageEvent.cpp:52: // TODO(alexmos): Figure out if this is the right ...
5 years, 4 months ago (2015-08-15 01:07:02 UTC) #5
sgurun-gerrit only
On 2015/08/15 01:07:02, alexmos wrote: > https://codereview.chromium.org/1289033003/diff/1/Source/web/WebDOMMessageEvent.cpp > File Source/web/WebDOMMessageEvent.cpp (right): > > https://codereview.chromium.org/1289033003/diff/1/Source/web/WebDOMMessageEvent.cpp#newcode52 > ...
5 years, 4 months ago (2015-08-15 01:10:13 UTC) #6
sgurun-gerrit only
https://codereview.chromium.org/1289033003/diff/1/Source/web/WebDOMMessageEvent.cpp File Source/web/WebDOMMessageEvent.cpp (right): https://codereview.chromium.org/1289033003/diff/1/Source/web/WebDOMMessageEvent.cpp#newcode52 Source/web/WebDOMMessageEvent.cpp:52: // TODO(alexmos): Figure out if this is the right ...
5 years, 4 months ago (2015-08-15 01:12:11 UTC) #7
dcheng
https://codereview.chromium.org/1289033003/diff/20001/Source/web/WebDOMMessageEvent.cpp File Source/web/WebDOMMessageEvent.cpp (right): https://codereview.chromium.org/1289033003/diff/20001/Source/web/WebDOMMessageEvent.cpp#newcode65 Source/web/WebDOMMessageEvent.cpp:65: ASSERT(m_private.get()); Can we re-express this in terms of the ...
5 years, 4 months ago (2015-08-15 05:12:30 UTC) #8
sgurun-gerrit only
https://codereview.chromium.org/1289033003/diff/20001/Source/web/WebDOMMessageEvent.cpp File Source/web/WebDOMMessageEvent.cpp (right): https://codereview.chromium.org/1289033003/diff/20001/Source/web/WebDOMMessageEvent.cpp#newcode65 Source/web/WebDOMMessageEvent.cpp:65: ASSERT(m_private.get()); On 2015/08/15 05:12:30, dcheng wrote: > Can we ...
5 years, 4 months ago (2015-08-18 15:17:31 UTC) #9
dcheng
lgtm https://codereview.chromium.org/1289033003/diff/40001/public/web/WebDOMMessageEvent.h File public/web/WebDOMMessageEvent.h (right): https://codereview.chromium.org/1289033003/diff/40001/public/web/WebDOMMessageEvent.h#newcode50 public/web/WebDOMMessageEvent.h:50: BLINK_EXPORT void initMessageEvent(const WebString& type, bool canBubble, bool ...
5 years, 4 months ago (2015-08-18 16:46:54 UTC) #10
sgurun-gerrit only
https://codereview.chromium.org/1289033003/diff/40001/public/web/WebDOMMessageEvent.h File public/web/WebDOMMessageEvent.h (right): https://codereview.chromium.org/1289033003/diff/40001/public/web/WebDOMMessageEvent.h#newcode50 public/web/WebDOMMessageEvent.h:50: BLINK_EXPORT void initMessageEvent(const WebString& type, bool canBubble, bool cancelable, ...
5 years, 4 months ago (2015-08-18 16:49:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1289033003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1289033003/40001
5 years, 4 months ago (2015-08-18 16:49:20 UTC) #13
commit-bot: I haz the power
5 years, 4 months ago (2015-08-18 17:57:34 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200735

Powered by Google App Engine
This is Rietveld 408576698