Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 597256e1 authored by Ben Murdoch's avatar Ben Murdoch
Browse files

Update WebView.loadDataWithBaseURL documentation.

Clarify behavior around base URLs with data: vs. non-data: schemes.

Bug: 9894754
Change-Id: I335253c07a13f3d4a5485b6ff11e53bd1580a890
parent d1233575
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -832,7 +832,10 @@ public class WebView extends AbsoluteLayout
     * <p>
     * If the base URL uses the data scheme, this method is equivalent to
     * calling {@link #loadData(String,String,String) loadData()} and the
     * historyUrl is ignored.
     * historyUrl is ignored, and the data will be treated as part of a data: URL.
     * If the base URL uses any other scheme, then the data will be loaded into
     * the WebView as a plain string (i.e. not part of a data URL) and any URL-encoded
     * entities in the string will not be decoded.
     *
     * @param baseUrl the URL to use as the page's base URL. If null defaults to
     *                'about:blank'.