From 16687cc956af678032f03e1c9ec5ee51736bc763 Mon Sep 17 00:00:00 2001 From: Marcin Kosiba Date: Tue, 27 Jan 2015 17:35:49 +0000 Subject: Update docs to say onPageStarted is not called for fragment navigations. BUG: 5014122 Change-Id: I264f99cb01496895f5ed77bfb3a5a45329bca53e --- core/java/android/webkit/WebViewClient.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core/java/android/webkit/WebViewClient.java') diff --git a/core/java/android/webkit/WebViewClient.java b/core/java/android/webkit/WebViewClient.java index d52dd60..1cc899d 100644 --- a/core/java/android/webkit/WebViewClient.java +++ b/core/java/android/webkit/WebViewClient.java @@ -50,7 +50,9 @@ public class WebViewClient { * is called once for each main frame load so a page with iframes or * framesets will call onPageStarted one time for the main frame. This also * means that onPageStarted will not be called when the contents of an - * embedded frame changes, i.e. clicking a link whose target is an iframe. + * embedded frame changes, i.e. clicking a link whose target is an iframe, + * it will also not be called for fragment navigations (navigations to + * #fragment_id). * * @param view The WebView that is initiating the callback. * @param url The url to be loaded. -- cgit v1.1