You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2014/11/07 21:17:36 UTC

[jira] [Created] (CB-7990) Unit-tests should support WKWebView

Shazron Abdullah created CB-7990:
------------------------------------

             Summary: Unit-tests should support WKWebView
                 Key: CB-7990
                 URL: https://issues.apache.org/jira/browse/CB-7990
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
            Reporter: Shazron Abdullah


The tests assume the default UIWebView component is being used.

Part of the tests should install the `wkwebview-engine` plugin and re-run the same tests.

Some tests assume a UIWebView, like the User-Agent tests, and this is ok (there is code in there that checks for this).

Some tests like StartPage should also support WKWebView. Any code that relies on the synchronous `stringByEvaluatingJavaScriptFromString` needs to change to use the async `evaluateJavascript:completionHandler:` of CDVWebViewEngineProtocol.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org