[wxWebViewEdge] Disable data collection by default (Issue #23978)

92 views
Skip to first unread message

Ronny Krüger

unread,
Oct 20, 2023, 5:09:01 AM10/20/23
to wx-...@googlegroups.com, Subscribed

After reading the license of the fixed version WebView2 runtime and this document I realized that WebView2 is sending data to Microsoft by default. This is bad because it means that any application using WebView2 as-is must make its users aware of this data collection and request consent.

There are three kinds of data WebView2 collects and sends to MS:

  • diagnostic data
  • URLs are sent to MS to block malicious websites (SmartScreen)
  • crash reports

The sending of the diagnostic data can be controlled by a global Windows setting. But the other two can only be set programmatically using the ICoreWebView2Settings and ICoreWebView2EnvironmentOptions3 interfaces.
Since there is no easy way to access those interfaces from client code I propose to disable the SmartScreen and crash reporting options by default and optionally allow client code to enable them again after asking the user.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/23978@github.com>

VZ

unread,
Oct 22, 2023, 10:21:24 AM10/22/23
to wx-...@googlegroups.com, Subscribed

I agree with disabling them by default, please consider making a PR doing this after testing that it actually works. TIA!


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/23978/1774108158@github.com>

VZ

unread,
Mar 15, 2024, 1:52:30 PM3/15/24
to wx-...@googlegroups.com, Subscribed

Closed #23978 as completed via cd350c7.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issue/23978/issue_event/12134998958@github.com>

mattfeest

unread,
Jun 26, 2025, 10:48:23 AMJun 26
to wx-...@googlegroups.com, Subscribed
mattfeest left a comment (wxWidgets/wxWidgets#23978)

According to the documentation, "When IsCustomCrashReportingEnabled is set to true, Windows won't send crash data to Microsoft endpoint." This bugfix is setting it to false by default.

https://learn.microsoft.com/en-us/dotnet/api/microsoft.web.webview2.core.corewebview2environmentoptions.iscustomcrashreportingenabled?view=webview2-dotnet-1.0.3296.44


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/23978/3008762938@github.com>

VZ

unread,
Jun 26, 2025, 7:15:19 PMJun 26
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#23978)

This is very counterintuitive but the documentation indeed seems to indicate that the meaning of this field is contrary to what could be expected. @TcT2k Should we set it to true instead?


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/23978/3010544093@github.com>

Tobias Taschner

unread,
Jun 27, 2025, 4:49:38 AMJun 27
to wx-...@googlegroups.com, Subscribed
TcT2k left a comment (wxWidgets/wxWidgets#23978)

Well the documentation seems very clear. But I agree that its very counterintuitive.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/23978/3012234777@github.com>

VZ

unread,
Jun 27, 2025, 9:32:24 AMJun 27
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#23978)

I hoped that you might have some experience with how it actually works, but if not, let's indeed change this, thanks @mattfeest.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/23978/3013105631@github.com>

Reply all
Reply to author
Forward
0 new messages