You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: framework/src/org/apache/cordova/CordovaPlugin.java
+4-4
Original file line number
Diff line number
Diff line change
@@ -244,7 +244,7 @@ public Boolean shouldAllowRequest(String url) {
244
244
245
245
/**
246
246
* Hook for blocking navigation by the Cordova WebView. This applies both to top-level and
247
-
* iframe navigations.
247
+
* iframe navigation.
248
248
*
249
249
* This will be called when the WebView's needs to know whether to navigate
250
250
* to a new page. Return false to block the navigation: if any plugin
@@ -282,7 +282,7 @@ public Boolean shouldOpenExternalUrl(String url) {
282
282
/**
283
283
* Allows plugins to handle a link being clicked. Return true here to cancel the navigation.
284
284
*
285
-
* @param url The URL that is trying to be loaded in the Cordova webview.
285
+
* @param url The URL that is trying to be loaded in the Cordova WebView.
286
286
* @return true to prevent the URL from loading. Default is false.
287
287
*/
288
288
publicbooleanonOverrideUrlLoading(Stringurl) {
@@ -439,11 +439,11 @@ public CordovaPluginPathHandler getPathHandler() {
439
439
}
440
440
441
441
/**
442
-
* Called when the WebView's render process has exited. Can be used to collect information regarding the crash for crashlytics or optionally attempt to gracefully handle/recover the crashed webview by recreating it.
442
+
* Called when the WebView's render process has exited. Can be used to collect information regarding the crash for crashlytics or optionally attempt to gracefully handle/recover the crashed WebView by recreating it.
443
443
*
444
444
* See <a href="https://developer.android.com/reference/android/webkit/WebViewClient#onRenderProcessGone(android.webkit.WebView,%20android.webkit.RenderProcessGoneDetail)">WebViewClient#onRenderProcessGone</a>
445
445
*
446
-
* Note: A plugin must not attempt to recover a webview that it does not own/manage.
446
+
* Note: A plugin must not attempt to recover a WebView that it does not own/manage.
447
447
*
448
448
* @return true if the host application handled the situation that process has exited,
449
449
* otherwise, application will crash if render process crashed, or be killed
0 commit comments