Bug 144388

Summary: REGRESSION(r182573): [GTK] The default context menu contains an empty item since r182573
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, darin, thorton
Priority: P2 Keywords: Gtk, Regression
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch beidson: review+

Description Carlos Garcia Campos 2015-04-29 06:39:21 PDT
There used to be a method in ContextMenuItem to check if share menu item was supported or not, but since r182573, there's a method to get the share menu item. If the returned menu item is null, it's not added to the menu, but we are not returning a null ContextMenu item even though we don't support share menu item.
Comment 1 Carlos Garcia Campos 2015-04-29 06:41:50 PDT
Created attachment 251948 [details]
Patch
Comment 2 Carlos Garcia Campos 2015-04-29 08:51:04 PDT
Committed r183547: <http://trac.webkit.org/changeset/183547>