DataDetectors' menu items aren't presented in the telephone number menu
Created attachment 241338 [details] Patch
<rdar://problem/18866308>
Comment on attachment 241338 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=241338&action=review > Source/WebKit2/Platform/mac/MenuUtilities.mm:117 > + return [menu numberOfItems] ? menu : nil; Did you test whether this check is actually needed? In many cases, an empty NSMenu will behave as if you had no menu at all.
(In reply to comment #3) > Comment on attachment 241338 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=241338&action=review > > > Source/WebKit2/Platform/mac/MenuUtilities.mm:117 > > + return [menu numberOfItems] ? menu : nil; > > Did you test whether this check is actually needed? In many cases, an empty > NSMenu will behave as if you had no menu at all. I did not, and you're probably right. I just translated.
http://trac.webkit.org/changeset/175966