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

Commit b29e0f69 authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

WebView: add a note to the doc of WebView.loadDataWithBaseURL

Add a note that the base URL can be sent to servers in
the 'Referer' HTTP header.

Bug: crbug.com/506592
Change-Id: Idf77e898645fe130ad569bd266b61257c4f0e3b3
parent 32cacc3a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -962,6 +962,9 @@ public class WebView extends AbsoluteLayout
     * 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.
     * <p>
     * Note that the baseUrl is sent in the 'Referer' HTTP header when
     * requesting subresources (images, etc.) of the page loaded using this method.
     *
     * @param baseUrl the URL to use as the page's base URL. If null defaults to
     *                'about:blank'.