Adding header to test cordova.xml
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/commit/c11c4bea Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/c11c4bea Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/c11c4bea Branch: refs/heads/master Commit: c11c4bea94d75b8f0736d148189cdce6aa1b6e42 Parents: 7de6608 Author: Joe Bowser <bows...@apache.org> Authored: Mon May 7 14:46:34 2012 -0700 Committer: Joe Bowser <bows...@apache.org> Committed: Mon May 7 14:46:34 2012 -0700 ---------------------------------------------------------------------- test/res/xml/cordova.xml | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/c11c4bea/test/res/xml/cordova.xml ---------------------------------------------------------------------- diff --git a/test/res/xml/cordova.xml b/test/res/xml/cordova.xml index e2bc124..8f347e7 100755 --- a/test/res/xml/cordova.xml +++ b/test/res/xml/cordova.xml @@ -18,6 +18,20 @@ under the License. --> <cordova> - <access origin="http://127.0.0.1*"/> + <!-- + access elements control the Android whitelist. + Domains are assumed blocked unless set otherwise + --> + + <access origin="http://127.0.0.1*"/> <!-- allow local pages --> + + <!-- <access origin="https://example.com" /> allow any secure requests to example.com --> + <!-- <access origin="https://example.com" subdomains="true" /> such as above, but including subdomains, such as www --> + <!-- <access origin=".*"/> Allow all domains, suggested development use only --> + <log level="DEBUG"/> + <preference name="classicRender" value="true" /> </cordova> + + +