OSDN Git Service

Update WebView#loadDataWithBaseURL documentation. DO NOT MERGE
authorBen Murdoch <benm@google.com>
Mon, 25 Feb 2013 19:18:19 +0000 (19:18 +0000)
committerBen Murdoch <benm@google.com>
Fri, 1 Mar 2013 17:12:16 +0000 (17:12 +0000)
Trivial cherry pick from master, see
Id1182537e073a9dd7746e23eec20accacedd9fc8

historyURL must be a valid URL.

Bug: 7907196
Change-Id: I1f32a9bda4ae627f242b2533eca18aef3ba25411

core/java/android/webkit/WebView.java

index f398318..00b00cd 100644 (file)
@@ -856,7 +856,7 @@ public class WebView extends AbsoluteLayout
      *                 defaults to 'text/html'.
      * @param encoding the encoding of the data
      * @param historyUrl the URL to use as the history entry. If null defaults
-     *                   to 'about:blank'.
+     *                   to 'about:blank'. If non-null, this must be a valid URL.
      */
     public void loadDataWithBaseURL(String baseUrl, String data,
             String mimeType, String encoding, String historyUrl) {