cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject android commit: CB-7747 Update default network whitelist to allow for ChromVox scripts
Date Fri, 06 Mar 2015 02:39:07 GMT
Repository: cordova-android
Updated Branches:
  refs/heads/master 489e63f8e -> 55be21259


CB-7747 Update default network whitelist to allow for ChromVox scripts


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/55be2125
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/55be2125
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/55be2125

Branch: refs/heads/master
Commit: 55be21259467dd892d52b8d15019ca3e112d0b7e
Parents: 489e63f
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Thu Mar 5 21:38:21 2015 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Thu Mar 5 21:38:21 2015 -0500

----------------------------------------------------------------------
 framework/src/org/apache/cordova/PluginManager.java | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/55be2125/framework/src/org/apache/cordova/PluginManager.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/PluginManager.java b/framework/src/org/apache/cordova/PluginManager.java
index 7dec813..030436c 100755
--- a/framework/src/org/apache/cordova/PluginManager.java
+++ b/framework/src/org/apache/cordova/PluginManager.java
@@ -328,6 +328,10 @@ public class PluginManager {
         if (url.startsWith("blob:") || url.startsWith("data:") || url.startsWith("about:blank"))
{
             return true;
         }
+        // TalkBack requires this, so allow it by default.
+        if (url.startsWith("https://ssl.gstatic.com/accessibility/javascript/android/"))
{
+            return true;
+        }
         if (url.startsWith("file://")) {
             //This directory on WebKit/Blink based webviews contains SQLite databases!
             //DON'T CHANGE THIS UNLESS YOU KNOW WHAT YOU'RE DOING!


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message