|
@@ -541,7 +541,7 @@ that can't be set via `<webview>` attributes.
|
|
|
* `userAgent` String (optional) - A user agent originating the request.
|
|
|
* `extraHeaders` String (optional) - Extra headers separated by "\n"
|
|
|
* `postData` ([UploadRawData](structures/upload-raw-data.md) | [UploadFile](structures/upload-file.md) | [UploadFileSystem](structures/upload-file-system.md) | [UploadBlob](structures/upload-blob.md))[] - (optional)
|
|
|
- * `baseURLForDataURL` String (optional) - Base url (with trailing path separator) for files to be loaded by the data url. This is needed only if the specified `url` is a data url and needs to load other files.
|
|
|
+ * `baseURLForDataURL` String (optional) - Base url (with trailing path separator) for files to be loaded by the data url. This is needed only if the specified `url` is a data url and needs to load other files.
|
|
|
|
|
|
Loads the `url` in the window. The `url` must contain the protocol prefix,
|
|
|
e.g. the `http://` or `file://`. If the load should bypass http cache then
|
|
@@ -672,7 +672,7 @@ Injects CSS into the current web page.
|
|
|
#### `contents.executeJavaScript(code[, userGesture, callback])`
|
|
|
|
|
|
* `code` String
|
|
|
-* `userGesture` Boolean (optional)
|
|
|
+* `userGesture` Boolean (optional) - Default is `false`.
|
|
|
* `callback` Function (optional) - Called after script has been executed.
|
|
|
* `result` Any
|
|
|
|