Skip to content

ICoreWebView2UploadStartingEventHandler #2667

Open
@Apivan

Description

@Apivan

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.

AB#40880038

Metadata

Metadata

Assignees

Labels

docdocumentation issuesfeature requestfeature requestpriority-lowWe 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.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions