iOS should provide WebKitErrors.h
| Originator: | steipete | ||
| Number: | rdar://20398780 | Date Originated: | 02-Apr-2015 02:57 PM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 8.2 |
| Classification: | Enhancement | Reproducible: | Always |
Summary:
iOS should provide WebKitErrors.h if it's going to use them in errors reported from a UIWebView. For example, on an iOS application, I received the following error:
2015-03-29 15:40:12.104 InstaAgentExtension[20957:1180281] error: Error Domain=WebKitErrorDomain Code=101 "The URL can’t be shown" UserInfo=0x174271b40 {NSErrorFailingURLStringKey=instagram://media?id=909017188768161188, NSLocalizedDescription=The URL can’t be shown, NSErrorFailingURLKey=instagram://media?id=9090171887681611
Error 101 maps to WebKitErrorCannotShowURL defined in WebKitErrors.h. This is only available in OS 10.9/10.10 (as per Xcode 6.2).
Steps to Reproduce:
Attempt to import WebKitErrors.h or the WebKit framework on iOS. The header cannot be found.
Expected Results:
The header (and its error definitions) should be found and importable.
Actual Results:
The header file cannot be found and cannot be imported.
Version:
iOS 8.2
Notes:
This is a duplicate of rdar://20340706
Configuration:
N/A
Attachments:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!