Bug 66471

Summary: [GTK] [WK2] Activating sub menus cause the WebProcess to crash
Product: WebKit Reporter: Amruth Raj <amruthraj>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, mrobinson, ravi.kasibhatla, sam, webkit.review.bot, xan.lopez
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Fix submenu activation crash in WebKit2 GTK none

Amruth Raj
Reported 2011-08-18 08:45:20 PDT
Context menu items which are actionable should only connect to activate signal. Connecting sub-menu item to "activate" signal would trigger sending of DidSelectItemFromActiveContextMenu to WebProcess. WebProcess then assumes that a click has happened and destroys the context menu, further leading to a crash.
Attachments
Fix submenu activation crash in WebKit2 GTK (1.48 KB, patch)
2011-08-18 08:48 PDT, Amruth Raj
no flags
Amruth Raj
Comment 1 2011-08-18 08:48:26 PDT
Created attachment 104348 [details] Fix submenu activation crash in WebKit2 GTK
WebKit Review Bot
Comment 2 2011-08-18 11:49:34 PDT
Comment on attachment 104348 [details] Fix submenu activation crash in WebKit2 GTK Clearing flags on attachment: 104348 Committed r93327: <http://trac.webkit.org/changeset/93327>
WebKit Review Bot
Comment 3 2011-08-18 11:49:38 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.