cordova-plugin-inappbrowser/tests
Dave Alden c54d10052a (iOS & Android) Add postMessage API support (#362)
<!--
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
Android
iOS (both UIWebView & WKWebView implementations)

### What does this PR do?
Adds support for [postMessage API](https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage) enabling pages loaded into the InappBrowser to post messages back to the parent Webview of the Cordova app.

For example, sending event messages associated with UI interactions such as button clicks from the wrapped page back to the parent app Webview.

### What testing has been done on this change?
Automated tests have been extended to cover the `message` event.

### Checklist
- [x ] Commit message follows the format: "GH-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
- [ x] Added automated test coverage as appropriate for this change.
2018-12-13 17:21:45 +01:00
..
resources CB-12895 : added eslint and removed jshint 2017-08-29 15:13:21 -07:00
.eslintrc.yml CB-12895 : added eslint and removed jshint 2017-08-29 15:13:21 -07:00
package.json CB-12685: added package.json to tests folder 2017-04-21 19:21:11 -07:00
plugin.xml Add plugin to fix reporting of cordova-paramedic results when using WKWebView plugin. 2018-10-09 10:51:06 +01:00
tests.js (iOS & Android) Add postMessage API support (#362) 2018-12-13 17:21:45 +01:00