-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
docdocumentation issuesdocumentation issuesfeature requestfeature requestfeature requestpriority-lowWe have considered this issue and decided that we will not be able to address it in the near future.We have considered this issue and decided that we will not be able to address it in the near future.trackedWe are tracking this work internally.We are tracking this work internally.
Description
The current webview have
ICoreWebView2DownloadStartingEventHandler.
Theoretically, ICoreWebView2UploadStartingEventHandler should not be required since the webview is in the same computer as user do download. Am i understand this right?
However, we would rather have same consistency of webview deployment and web browser without touching the HTML/JS code.
Otherwise, the upload procedure for webview need to call by different interface Js code.
Does this API already exist in another WebView-like product? (CEF, WebBrowser, etc.)
Yes
virtual CefRefPtr GetDialogHandler() { return nullptr; }
can be used for intercepting before-uploading event. (not to be confused with ClientHandler::OnBeforeDownload)
Details showing the usage/consumption of the proposed new API, and alternatives (e.g. not having this API).
I used ExecuteScript with Blob Base64 string to the Js' DataTransfer object which send to html element.
Metadata
Metadata
Assignees
Labels
docdocumentation issuesdocumentation issuesfeature requestfeature requestfeature requestpriority-lowWe have considered this issue and decided that we will not be able to address it in the near future.We have considered this issue and decided that we will not be able to address it in the near future.trackedWe are tracking this work internally.We are tracking this work internally.