Bug 163989
Summary: | WKDataDetectorTypePhoneNumber breaks web usage. | ||
---|---|---|---|
Product: | WebKit | Reporter: | michaeldo |
Component: | WebKit2 | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/29055642>