[
https://issues.apache.org/jira/browse/CB-7288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14094856#comment-14094856
]
Shazron Abdullah commented on CB-7288:
--------------------------------------
Sending WKNavigationResponsePolicyAllow does not make a difference in -
(void)webView:(WKWebView*)webView
decidePolicyForNavigationAction:(WKNavigationAction*)navigationAction
decisionHandler:(void (^)(WKNavigationActionPolicy))decisionHandler
.
It sends a NSError through - (void)webView:(WKWebView*)webView
didFailProvisionalNavigation:(WKNavigation*)navigation
withError:(NSError*)error but the error only says "The operation couldn’t be
completed. (kCFErrorDomainCFNetwork error 1.)"
> Failing tests for WKWebView (wkwebview branch)
> ----------------------------------------------
>
> Key: CB-7288
> URL: https://issues.apache.org/jira/browse/CB-7288
> Project: Apache Cordova
> Issue Type: Sub-task
> Components: iOS
> Environment: iOS 8
> Reporter: Shazron Abdullah
> Priority: Blocker
>
> This is only for the wkwebview branch, and using these plugins, and 3.5.0
> mobile-spec:
> {code}
> "org.apache.cordova.battery-status": "0.2.10",
> "org.apache.cordova.camera": "0.3.1",
> "org.apache.cordova.console": "0.2.10",
> "org.apache.cordova.contacts": "0.2.12",
> "org.apache.cordova.device": "0.2.11",
> "org.apache.cordova.device-motion": "0.2.9",
> "org.apache.cordova.device-orientation": "0.3.8",
> "org.apache.cordova.dialogs": "0.2.9",
> "org.apache.cordova.file": "1.3.0",
> "org.apache.cordova.file-transfer": "0.4.5",
> "org.apache.cordova.geolocation": "0.3.9",
> "org.apache.cordova.globalization": "0.3.0",
> "org.apache.cordova.inappbrowser": "0.5.1",
> "org.apache.cordova.media": "0.2.12",
> "org.apache.cordova.media-capture": "0.3.2",
> "org.apache.cordova.network-information": "0.2.11",
> "org.apache.cordova.splashscreen": "0.3.2",
> "org.apache.cordova.vibration": "0.3.10"
> {code}
> The 3 failing tests:
> {code}
> FileTransfer upload method filetransfer.spec.18 should be able to upload a
> file.
> Expected
> '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/6a061bd51e0c81e4d9c141e3f81d2a37","name":"upload.txt","type":"text/plain","mtime":"2014-08-11T17:52:58.797Z"}}}
> ' to match /fields:\s*{\s*value1.*/.
> FileTransfer upload method filetransfer.spec.19 should be able to upload a
> file with http basic auth.
> Expected
> '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/289b4010394dff9ccf643a309eeb0d07","name":"upload.txt","type":"text/plain","mtime":"2014-08-11T17:52:59.099Z"}}}
> ' to match /fields:\s*{\s*value1.*/.
> FileTransfer Backwards compatibility filetransfer.spec.29 should be able to
> upload a file using local paths.
> Expected
> '{"fields":{"value2":"param","value1":"test"},"files":{"file":{"size":24,"path":"/opt/run/snapshot/.tmp/537cf03d41e4a8e342f7632537b81815","name":"upload.txt","type":"text/plain","mtime":"2014-08-11T17:53:00.758Z"}}}
> ' to match /fields:\s*{\s*value1.*/.
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)