-
Notifications
You must be signed in to change notification settings - Fork 468
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
OnProtocolExecution Page goes blank after link click #2715
Comments
Original comment by Alex Maitland (Bitbucket: a-maitland). It’s possible that Spotify links also trigger the problem, I just didn’t have an example. Happy to submit a PR that enables mailto in addition to spotify for testing purposes, allowing mailto seems reasonable for cefclient. Let me know. |
Allowing mailto support in cefclient seems reasonable, but lets do that at the same time this issue is fixed. |
|
Original comment by Thomas Treutlein (Bitbucket: Thomas Treutlein). This problem still occurs with the latest version (CEF 80.1.2+g9d2a31e+chromium-80.0.3987.149) and is a bit painful for end users in feedback forms or in business scenarios (stateful applications).
Since version 77.1.4+gf3890be+chromium-77.0.3865.90 this workaround does not help anymore and I got the same blank page as described initially. |
Navigation to a “mailto:” URI can currently be blocked in OnBeforeBrowse (check the I’m not sure what we can do about the navigation in Chromium if you allow the request to proceed. By the point that OnProtocolExecution is called the navigation has already been initiated and the request has already failed with ERR_UNKNOWN_URL_SCHEME. |
Original comment by Anil Achary (Bitbucket: acharyanil, GitHub: acharyanil). @{5d1a096cb3e96d0d1b9a1596} We have a similar problem. We made a change like below code snippet.
making |
Original comment by Anil Achary (Bitbucket: acharyanil, GitHub: acharyanil). We have tried below code in OnBeforeBrowse for versions >v77, it is working for us.
|
Original comment by Alex Maitland (Bitbucket: a-maitland).
Do we need to proceed with the request? Can we move this into Alternatively remove OnProtocolExecution and add a CefIsExternalScheme(url) method to and leave it up to users to validate and handle the urls themselves. Other suggestions/possibilities? |
Original report by Alex Maitland (Bitbucket: a-maitland).
What steps will reproduce the problem?
Change the following two lines
https://bitbucket.org/chromiumembedded/cef/src/2c92fcd3cdf1983adc25bd7806886c9e07a7375b/tests/cefclient/browser/client_handler.cc#lines-652
https://bitbucket.org/chromiumembedded/cef/src/2c92fcd3cdf1983adc25bd7806886c9e07a7375b/tests/cefclient/browser/client_handler.cc#lines-850
What is the expected output? What do you see instead?
Default mail application should load and the page should stay visible
Mail application loads, then the page goes blank. No errors in the Log, disabling network service doesn’t appear to make any difference.
What version of the product are you using? On what operating system?
75.0.13+g2c92fcd+chromium-75.0.3770.100
Windows 10 x64 Pro
Does the problem reproduce with the cefclient or cefsimple sample application at the same version? How about with a newer or older version?
Yes, tested using modified version of 75.0.13+g2c92fcd+chromium-75.0.3770.100
Does the problem reproduce with Google Chrome at the same version? How about with a newer or older version?
Chrome works as expected
The text was updated successfully, but these errors were encountered: