Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7991 WKWebView integration
  3. CB-7990

Unit-tests should support WKWebView

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • cordova-ios
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              shazron Shazron Abdullah
              shazron Shazron Abdullah
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: