Bug 163989

Summary: WKDataDetectorTypePhoneNumber breaks web usage.
Product: WebKit Reporter: michaeldo
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Critical CC: bdakin, enrica, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: iOS 10   

michaeldo
Reported 2016-10-25 14:59:24 PDT
Enabling WKDataDetectorTypePhoneNumber in the configuration of a WKWebView incorrectly turns existing links into detected "Phone Numbers", breaking the functionality of the displayed web page. Steps to Reproduce: 1. Create WKWebView with configuration that has WKDataDetectorTypePhoneNumber set as a dataDetectorType. 2. Navigate to www.kanyetothe.com/forum/index.php?topic=56310.48402 Expected Results: Forum page navigation should still work as in Safari on iOS. (Safari on iOS can also correctly identify non-linked phone numbers without the false positives. For example, see directsurety.com) Actual Results: Page navigation is broken since the links have been incorrectly identified as phone numbers. Tested on iPhone 7 iOS 10.1
Attachments
Radar WebKit Bug Importer
Comment 1 2016-11-01 17:06:17 PDT
Note You need to log in before you can comment on or make changes to this bug.