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

Issue 10392093: When clicking rapidly 2 different select popups, we could reach a state where (Closed)

Created:
8 years, 7 months ago by Jay Civelli
Modified:
8 years, 6 months ago
Reviewers:
jamesr, Ilya Sherman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch-content_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

When clicking rapidly 2 different select popups, we could reach a state where one of the Chrome ExternalPopup object that the RenderView owns gets destroyed but the Webkit ExternalPopup does not get notified and still keeps a pointer to the deleted object, causing a crasher later on. We prevent this kind of scenario by refusing to create a new popup if one is already showing. WebKit will just cancel that 2nd popup in that case. BUG=124678 TEST=Open www.vescam.com/select.html On the section with a row of 3 selects, try clicking between them rapidly. It should never crash. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=139441

Patch Set 1 #

Total comments: 1

Patch Set 2 : Sync #

Patch Set 3 : Fixed description. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M content/renderer/render_view_impl.cc View 1 1 chunk +8 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Ilya Sherman
LGTM https://chromiumcodereview.appspot.com/10392093/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://chromiumcodereview.appspot.com/10392093/diff/1/content/renderer/render_view_impl.cc#newcode1588 content/renderer/render_view_impl.cc:1588: // will have to close the first one ...
8 years, 7 months ago (2012-05-14 23:26:04 UTC) #1
Ilya Sherman
Jay, friendly ping
8 years, 7 months ago (2012-05-22 23:54:33 UTC) #2
Jay Civelli
Sorry, I had forgotten about this. The associated patch in WebKit did not land. I ...
8 years, 7 months ago (2012-05-23 17:44:06 UTC) #3
Jay Civelli
Adding jamesr as reviewer for OWNER review. Thanks. Jay
8 years, 6 months ago (2012-05-29 20:59:56 UTC) #4
jamesr
lgtm
8 years, 6 months ago (2012-05-29 21:39:14 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jcivelli@chromium.org/10392093/9001
8 years, 6 months ago (2012-05-29 21:57:53 UTC) #6
commit-bot: I haz the power
8 years, 6 months ago (2012-05-30 00:32:41 UTC) #7
Change committed as 139441

Powered by Google App Engine
This is Rietveld 408576698