You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I register an ICoreWebView2NavigationStartingEventHandler event and can work well, if I put_cancal true, the navigation will cancel. But one scene is weired, while the target site contains an invalid ssl certification, like "https://12306.cn", this navgation cannot be canceld, an will go to this page below.
Importance
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
120.0.2210.91
SDK Version
1.0.1907.177
Framework
Win32
Operating System
Windows 10, Windows 11
OS Version
Win11 pro 23H2
Repro steps
1.register an ICoreWebView2NavigationStartingEventHandler event
2. add args->put_Cancel(true); in the callback
3. open devtool and type in console : window.location.href="https://12306.cn"
4. will see the error page
Repros in Edge Browser
No
Regression
No, this never worked
Last working version (if regression)
always work like this
The text was updated successfully, but these errors were encountered:
@dfghj44444 For SSL interstitial pages you need you listen to add_servercertificateerrordetected event to cancel the request if the Navigation is not successful and failed with ConnectionAborted
What happened?
I register an ICoreWebView2NavigationStartingEventHandler event and can work well, if I put_cancal true, the navigation will cancel. But one scene is weired, while the target site contains an invalid ssl certification, like "https://12306.cn", this navgation cannot be canceld, an will go to this page below.
Importance
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
120.0.2210.91
SDK Version
1.0.1907.177
Framework
Win32
Operating System
Windows 10, Windows 11
OS Version
Win11 pro 23H2
Repro steps
1.register an ICoreWebView2NavigationStartingEventHandler event
2. add args->put_Cancel(true); in the callback
3. open devtool and type in console : window.location.href="https://12306.cn"
4. will see the error page
Repros in Edge Browser
No
Regression
No, this never worked
Last working version (if regression)
always work like this
The text was updated successfully, but these errors were encountered: