GitHub user albertolalama opened a pull request:
https://github.com/apache/cordova-osx/pull/42
CB-13304: expose preference to control WebView navigation
<!--
Please make sure the checklist boxes are all checked before submitting the
PR. The checklist
is intended as a quick reference, for complete details please see our
Contributor Guidelines:
http://cordova.apache.org/contribute/contribute_guidelines.html
Thanks!
-->
### Platforms affected
OSX
### What does this PR do?
Exposes a preference in config.xml, `AllowWebViewNavigation`, to control
navigation in the application's main WebView. If set to true (default), all URL
requests are handled in-app; otherwise, forwards non file:// URL requests to
the system instead of opening them inside the application.
This is a follow-up to #41.
### What testing has been done on this change?
Tested locally.
### Checklist
- [x] [Reported an issue](http://cordova.apache.org/contribute/issues.html)
in the JIRA database
- [x] 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/uProxy/cordova-osx alalama-allow-navigation
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-osx/pull/42.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 #42
----
commit 0563f0d9ef03944f93fb7a52e80dcc3eed00adcf
Author: alberto lalama <[email protected]>
Date: 2017-09-21T19:24:40Z
CB-13304: expose preference to control WebView navigation
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]