mirror of
https://github.com/electron/electron.git
synced 2026-02-26 03:01:17 -05:00
* fix: pass postData to new-window event * fix type of postBody * fix type of UploadFile and UploadRawData to be discriminated unions * exclude the empty string from additionalFeatures * add a test Co-authored-by: Jeremy Rose <jeremya@chromium.org> Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
313 B
313 B
UploadFile Object
type'file' -file.filePathString - Path of file to be uploaded.offsetInteger - Defaults to0.lengthInteger - Number of bytes to read fromoffset. Defaults to0.modificationTimeDouble - Last Modification time in number of seconds since the UNIX epoch.