Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Problem/Bug]: CustomScheme after TrySuspend, TrySuspendCompleted can't trigger #4851

Open
Mengdch opened this issue Oct 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Mengdch
Copy link

Mengdch commented Oct 8, 2024

What happened?

When calling CreateWebViewEnvironment with Options Internal, 'gztime' is defined through CustomsSchemeRegistration. Then, the web page of this protocol is loaded in the webview, and the WebResourceRequested callback is processed to load normally. Then, the TrySuspend function is called on the page, but TrySuspendCompleted cannot be triggered. Loading HTTP URL can be triggered

Importance

Moderate. My app's user experience is affected, but still usable.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

129.0.2792.79

SDK Version

1.0.2792.79

Framework

Win32

Operating System

Windows 10

OS Version

19045.4894

Repro steps

step:

  1. calling CreateWebViewEnvironment with Options Internal, 'gztime' is defined through CustomsSchemeRegistration.
  2. the web page of gztime://index is loaded in the webview, and the WebResourceRequested callback is processed to load normally.
  3. TrySuspend function is called on the page
  4. TrySuspendCompleted cannot be triggered.
    excepted:
    TrySuspendCompleted trigger

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

No, this never worked

Last working version (if regression)

No response

@Mengdch Mengdch added the bug Something isn't working label Oct 8, 2024
@Mengdch Mengdch changed the title [Problem/Bug]: Custom Scheme TrySuspend TrySuspendCompleted [Problem/Bug]: CustomScheme after TrySuspend, TrySuspendCompleted can't trigger Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant