Monica Chintala

Results 25 comments of Monica Chintala

Thanks for the question. We don't have a way to print from pdf data in WebView2. I'll open a feature request.

@BKSoftCraft Printing the PDF document/data to any printer without showing print dialog is possible using many libraries. I suggest you prefer that approach for your case. However, please note that...

@Tifoso-1979 Do you also see the same issue in Edge browser?

@Tifoso-1979 In WebView2 124.0.2478.51+, downloading files over HTTP is blocked and displays the message “xxx can’t be downloaded securely” . This is by design and aligned to the Chromium ["HTTPS...

@Tifoso-1979 @andrej-w Currently, there is no direct API or setting in WebView2 that allows you to add sites and explicitly allow “insecure content.” Could you please create a feature request...

@Tifoso-1979 @andrej-w @mrn3ff We've reverted the download warning in Edge/Webview2 for HTTP in recent stable patch [see here](https://techcommunity.microsoft.com/t5/enterprise/mixed-mode-content-download-warning/m-p/4118977) and expected to be turn on very soon. Please work on to...

We recommend you to setup automated pipeline to test important features with pre-release channel to figure out this regression way ahead of stable. https://github.com/MicrosoftEdge/WebView2Announcements/issues/93

@Tifoso-1979 I am closing the current issue. Feel free to open a feature request to allow/block Insecure content in WV2.

@codes-shiv Can you see below solutions works for your case? 1. To disable printing using JS window.print - Hacky workaround could be to override window.print method using [AddScriptToExecuteOnDocumentCreated](https://docs.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2?view=webview2-1.0.1264.42#addscripttoexecuteondocumentcreated) with the...

@Urmeli0815 For x86 app, can you ensure that you have [LargeAddressAware](https://learn.microsoft.com/en-us/cpp/build/reference/largeaddressaware-handle-large-addresses?view=msvc-170) set when building the app and see that resolves the issue.