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

Issue 1298973002: Abort forwarding remote input events when layoutObject is gone. (Closed)

Created:
5 years, 4 months ago by kenrb
Modified:
5 years, 4 months ago
Reviewers:
dcheng
CC:
blink-reviews, site-isolation-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Abort forwarding remote input events when layoutObject is gone. It is possible for an input event that will be forwarded to a remote frame to also cause the iframe element in the local renderer to become hidden, which destroys the layoutObject for that element. This was causing a crash because the forwarding code requires a layoutObject for mouse event conversion. This patch causes event forwarding to abort in that situation. No test because we don't yet have layout tests running with --site-per-process. BUG=520705 R=dcheng@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200904

Patch Set 1 #

Total comments: 2

Patch Set 2 : Comment expanded #

Total comments: 4

Patch Set 3 : Comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M Source/web/RemoteFrameClientImpl.cpp View 1 2 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
dcheng
https://codereview.chromium.org/1298973002/diff/1/Source/web/RemoteFrameClientImpl.cpp File Source/web/RemoteFrameClientImpl.cpp (right): https://codereview.chromium.org/1298973002/diff/1/Source/web/RemoteFrameClientImpl.cpp#newcode128 Source/web/RemoteFrameClientImpl.cpp:128: // forward. See https://crbug.com/520705. I don't think I followed ...
5 years, 4 months ago (2015-08-18 17:44:19 UTC) #1
kenrb
https://codereview.chromium.org/1298973002/diff/1/Source/web/RemoteFrameClientImpl.cpp File Source/web/RemoteFrameClientImpl.cpp (right): https://codereview.chromium.org/1298973002/diff/1/Source/web/RemoteFrameClientImpl.cpp#newcode128 Source/web/RemoteFrameClientImpl.cpp:128: // forward. See https://crbug.com/520705. On 2015/08/18 17:44:19, dcheng wrote: ...
5 years, 4 months ago (2015-08-19 15:53:51 UTC) #2
dcheng
lgtm with some suggestions on comment wording https://codereview.chromium.org/1298973002/diff/20001/Source/web/RemoteFrameClientImpl.cpp File Source/web/RemoteFrameClientImpl.cpp (right): https://codereview.chromium.org/1298973002/diff/20001/Source/web/RemoteFrameClientImpl.cpp#newcode126 Source/web/RemoteFrameClientImpl.cpp:126: // It ...
5 years, 4 months ago (2015-08-19 16:28:10 UTC) #3
kenrb
https://codereview.chromium.org/1298973002/diff/20001/Source/web/RemoteFrameClientImpl.cpp File Source/web/RemoteFrameClientImpl.cpp (right): https://codereview.chromium.org/1298973002/diff/20001/Source/web/RemoteFrameClientImpl.cpp#newcode126 Source/web/RemoteFrameClientImpl.cpp:126: // It is possible for an event to cause ...
5 years, 4 months ago (2015-08-19 20:34:11 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1298973002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1298973002/40001
5 years, 4 months ago (2015-08-19 20:34:23 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/95572)
5 years, 4 months ago (2015-08-19 22:22:36 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1298973002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1298973002/40001
5 years, 4 months ago (2015-08-20 13:50:14 UTC) #11
commit-bot: I haz the power
5 years, 4 months ago (2015-08-20 14:48:52 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200904

Powered by Google App Engine
This is Rietveld 408576698