Bug 131451

Summary: Don't offer "contact" actions in telephone number menus
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebKit2Assignee: Brady Eidson <beidson>
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: All   
Attachments:
Description Flags
Patch v1 thorton: review+

Brady Eidson
Reported 2014-04-09 14:09:21 PDT
Don't offer "contact" actions in telephone number menus <rdar://problem/16556907>
Attachments
Patch v1 (2.67 KB, patch)
2014-04-09 14:11 PDT, Brady Eidson
thorton: review+
Brady Eidson
Comment 1 2014-04-09 14:11:05 PDT
Created attachment 228981 [details] Patch v1
Tim Horton
Comment 2 2014-04-09 14:14:24 PDT
Comment on attachment 228981 [details] Patch v1 View in context: https://bugs.webkit.org/attachment.cgi?id=228981&action=review > Source/WebKit2/UIProcess/mac/WebPageProxyMac.mm:674 > + if ([[actionObject actionUTI] rangeOfString:@"com.apple.contact."].location == 0) hasPrefix? > Source/WebKit2/UIProcess/mac/WebPageProxyMac.mm:678 > + if ([actionObject isKindOfClass:[getDDSeparatorActionClass() class]]) Isn't it already a Class? Why +class? Same above.
Tim Horton
Comment 3 2014-04-09 14:14:42 PDT
Comment on attachment 228981 [details] Patch v1 View in context: https://bugs.webkit.org/attachment.cgi?id=228981&action=review > Source/WebKit2/UIProcess/mac/WebPageProxyMac.mm:78 > +@property (readonly) NSString * actionUTI; I think the star should touch the name (to the right).
Tim Horton
Comment 4 2014-04-09 14:15:35 PDT
Comment on attachment 228981 [details] Patch v1 View in context: https://bugs.webkit.org/attachment.cgi?id=228981&action=review >> Source/WebKit2/UIProcess/mac/WebPageProxyMac.mm:78 >> +@property (readonly) NSString * actionUTI; > > I think the star should touch the name (to the right). Also I think this should be empty and the property should be on a (Details) category? or WKDetails or something I don't remember.
Brady Eidson
Comment 5 2014-04-09 14:32:21 PDT
Note You need to log in before you can comment on or make changes to this bug.