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

Issue 920433002: Gracefully handle a disconnected popup menu client on disposing open popup. (Closed)

Created:
5 years, 10 months ago by sof
Modified:
5 years, 10 months ago
Reviewers:
haraken, keishi, tkent
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, eae+blinkwatch, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Gracefully handle a disconnected popup menu client on disposing open popup. If the client of a PopupMenu disconnects itself before destructing a currently open popup menu (and its page), handle the fact that the client is not reachable for notifications. R=keishi,haraken BUG=457383 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189983

Patch Set 1 #

Total comments: 1

Patch Set 2 : Reuse picker-common.js:openPicker() #

Patch Set 3 : rework test, mac-friendly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -8 lines) Patch
A LayoutTests/fast/forms/resources/popup-no-crash.html View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
A LayoutTests/fast/forms/select-popup-close-no-crash.html View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
A + LayoutTests/fast/forms/select-popup-close-no-crash-expected.txt View 1 2 1 chunk +2 lines, -5 lines 0 comments Download
M Source/core/dom/Node.cpp View 1 chunk +5 lines, -1 line 0 comments Download
M Source/web/PopupMenuImpl.cpp View 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
sof
Please take a look. (Artificial-looking testcase synthesized from clusterfuzz.)
5 years, 10 months ago (2015-02-11 09:50:36 UTC) #2
keishi
Thanks! LGTM https://codereview.chromium.org/920433002/diff/1/LayoutTests/fast/forms/select-popup-close-no-crash.html File LayoutTests/fast/forms/select-popup-close-no-crash.html (right): https://codereview.chromium.org/920433002/diff/1/LayoutTests/fast/forms/select-popup-close-no-crash.html#newcode20 LayoutTests/fast/forms/select-popup-close-no-crash.html:20: function openPicker(menu) { We have this function ...
5 years, 10 months ago (2015-02-11 11:44:08 UTC) #3
sof
On 2015/02/11 11:44:08, keishi wrote: > Thanks! LGTM > > https://codereview.chromium.org/920433002/diff/1/LayoutTests/fast/forms/select-popup-close-no-crash.html > File LayoutTests/fast/forms/select-popup-close-no-crash.html (right): ...
5 years, 10 months ago (2015-02-11 11:58:50 UTC) #5
haraken
LGTM
5 years, 10 months ago (2015-02-11 14:13:30 UTC) #6
sof
On 2015/02/11 14:13:30, haraken wrote: > LGTM Thanks (doubly so, just realized that it is ...
5 years, 10 months ago (2015-02-11 14:19:08 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/920433002/20001
5 years, 10 months ago (2015-02-11 14:20:19 UTC) #9
sof
On 2015/02/11 14:20:19, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
5 years, 10 months ago (2015-02-11 15:45:15 UTC) #11
keishi
On 2015/02/11 15:45:15, sof wrote: > On 2015/02/11 14:20:19, I haz the power (commit-bot) wrote: ...
5 years, 10 months ago (2015-02-11 16:06:15 UTC) #12
sof
On 2015/02/11 16:06:15, keishi wrote: > On 2015/02/11 15:45:15, sof wrote: > > On 2015/02/11 ...
5 years, 10 months ago (2015-02-11 19:45:54 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/920433002/40001
5 years, 10 months ago (2015-02-11 19:48:25 UTC) #16
commit-bot: I haz the power
5 years, 10 months ago (2015-02-11 21:44:53 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=189983

Powered by Google App Engine
This is Rietveld 408576698