mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-07 23:03:11 +08:00
Log a warning when a navigation is blocked by the whitelist
This commit is contained in:
parent
f1d093548e
commit
c237a1c0d2
@ -608,6 +608,7 @@ public class CordovaWebViewImpl implements CordovaWebView {
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
LOG.w(TAG, "Blocked navigation because URL was not whitelisted: " + url);
|
||||||
// Block by default
|
// Block by default
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user