GitHub user anandvnath opened a pull request:
https://github.com/apache/cordova-plugin-wkwebview-engine/pull/27
CB-12297 Support WKProcessPool for cookie sharing
### Platforms affected
iOS
### What does this PR do?
Adds a shared WKProcessPool via static factory and use it in the WKWebView
created by this plugin. Any WKWebView created by cordova apps can utilize this
shared WKProcessPool for enabling cookie sharing.
### What testing has been done on this change?
Added a unit test to check if the shared instance is correctly created.
Testing the cookie sharing functionality is hard to do via unit test.
### Checklist
- [/] [Reported an issue](http://cordova.apache.org/contribute/issues.html)
in the JIRA database
- [/] Commit message follows the format: "CB-3232: (android) Fix bug with
resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform
affected.
- [/] Added automated test coverage as appropriate for this change.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/anandvnath/cordova-plugin-wkwebview-engine
master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-wkwebview-engine/pull/27.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #27
----
commit 012afe0359bcb66b0221124b82e9f290dc60317e
Author: [email protected] <[email protected]>
Date: 2016-12-23T08:43:22Z
Added shared WKProcessPool support.
commit 8d96f76ed56771726342a455136c3d387f4d6f04
Author: [email protected] <[email protected]>
Date: 2016-12-23T09:18:52Z
README changes and minor correction in where WKProcessPool is added.
commit 7dbfc32beb749f2d9d5ef6ab922c5dec27c8a2f5
Author: [email protected] <[email protected]>
Date: 2016-12-23T10:04:59Z
Correct license headers.
commit b536d8815dc738096d3c58a95d8d1722946cc112
Author: [email protected] <[email protected]>
Date: 2016-12-26T04:41:21Z
Test case modified.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]