Trivial cherry pick from master, see
Id1182537e073a9dd7746e23eec20accacedd9fc8
historyURL must be a valid URL.
Bug:
7907196
Change-Id: I1f32a9bda4ae627f242b2533eca18aef3ba25411
* 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) {