mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-07 23:03:11 +08:00
CB-7747 Update default network whitelist to allow for ChromVox scripts
This commit is contained in:
parent
489e63f8e7
commit
55be212594
@ -328,6 +328,10 @@ public class PluginManager {
|
|||||||
if (url.startsWith("blob:") || url.startsWith("data:") || url.startsWith("about:blank")) {
|
if (url.startsWith("blob:") || url.startsWith("data:") || url.startsWith("about:blank")) {
|
||||||
return true;
|
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://")) {
|
if (url.startsWith("file://")) {
|
||||||
//This directory on WebKit/Blink based webviews contains SQLite databases!
|
//This directory on WebKit/Blink based webviews contains SQLite databases!
|
||||||
//DON'T CHANGE THIS UNLESS YOU KNOW WHAT YOU'RE DOING!
|
//DON'T CHANGE THIS UNLESS YOU KNOW WHAT YOU'RE DOING!
|
||||||
|
Loading…
Reference in New Issue
Block a user