On Wed Apr 16 15:37:15 2025 +0000, QwertyChouskie wrote:
It seems that at least some of the WebView2 source code may be available: https://3rdpartycodeprod.blob.core.windows.net/download/Microsoft%20Edge/136... (from https://thirdpartysource.microsoft.com/, search "microsoft edge"). A quick search shows some results for "webview2": That said, if the full WebView2 source isn't present, I'm not sure it makes sense for Wine to ship a fake one or a partial implementation. Better to let the application see WebView2 is missing and install it as part of the installation process IMHO (just like modern .NET).
That's interesting, I didn't know MS published any of their Chromium source. It looks like all the WebView2 source files are not included (they would be under the `edge_embedded_browser` directory), but all the object files are there (in `src/out/Release/obj/edge_embedded_browser`). There are also generated files, particularly MIDL-generated header/source files for the many COM interfaces (i.e. `out/Release/gen/edge_embedded_browser/client/win/current/WebView2Private.h`).
These could be helpful but it's not clear what license they're under, there's no license file for the overall archive (just individual headers on all the Chromium-originating files).