incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwbro...@apache.org
Subject docs commit: CB-815 Update whitelisting for BlackBerry.
Date Wed, 30 May 2012 21:36:42 GMT
Updated Branches:
  refs/heads/master e223dea28 -> 949714e39


CB-815 Update whitelisting for BlackBerry.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/949714e3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/949714e3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/949714e3

Branch: refs/heads/master
Commit: 949714e3932954622a92dd909f650955ee314d98
Parents: e223dea
Author: Michael Brooks <michael@michaelbrooks.ca>
Authored: Wed May 30 14:36:37 2012 -0700
Committer: Michael Brooks <michael@michaelbrooks.ca>
Committed: Wed May 30 14:36:37 2012 -0700

----------------------------------------------------------------------
 docs/en/edge/guide/whitelist/index.md |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/949714e3/docs/en/edge/guide/whitelist/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/whitelist/index.md b/docs/en/edge/guide/whitelist/index.md
index 8d7abd5..b50c564 100644
--- a/docs/en/edge/guide/whitelist/index.md
+++ b/docs/en/edge/guide/whitelist/index.md
@@ -72,6 +72,26 @@ Domain whitelisting is unsupported on Bada. By default, all domains are
accessib
 BlackBerry
 ----------
 
+The whitelisting rules are found in `www/config.xml` and declared with the element `<access
uri="..." />`.
+
+For a complete reference, see the [BlackBerry WebWorks Access Element documentation][8].
+
+Access to [google.com][2]:
+
+    <access uri="http://google.com" subdomains="false" />
+
+Access to  [maps.google.com][4]:
+
+    <access uri="http://maps.google.com" subdomains="false" />
+
+Access to all the subdomains on [google.com][2]:
+
+    <access uri="http://google.com" subdomains="true" />
+
+Access to all domains, including `file://` protocol:
+
+    <access uri="*" subdomains="true" />
+
 iOS
 ---
 
@@ -119,3 +139,4 @@ Domain whitelisting is unsupported on Windows Phone. By default, all domains
are
 [5]: http://mail.google.com
 [6]: http://docs.google.com
 [7]: http://developer.mozilla.org
+[8]: https://developer.blackberry.com/html5/documentation/ww_developing/Access_element_834677_11.html


Mime
View raw message