zhangqd / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

OnLoadingStateChange is called a single time in the browser process for navigations canceled by OnBeforeNavigate #1247

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Modify ClientApp::OnBeforeNavigation in the cefclient application to return 
true when navigation_type == NAVIGATION_BACK_FORWARD.
2. Click a link in a website.
3. Set a breakpoint in ClientHandler::OnLoadingStateChange.
4. Click the back button.

What is the expected output? What do you see instead?
OnLoadingStateChange should either be called twice, or not at all, when 
OnBeforeNavigate cancels a navigation. Instead, it's being called a single time 
with |isLoading| set to true.

Please use labels and text to provide additional information.
Tested using 1750 branch on Windows 7 64-bit.

Original issue reported on code.google.com by magreenb...@gmail.com on 4 Apr 2014 at 6:40

GoogleCodeExporter commented 9 years ago
CEF is transitioning from Google Code to Bitbucket project hosting. If you 
would like to continue receiving notifications on this issue please add 
yourself as a Watcher at the new location: 
https://bitbucket.org/chromiumembedded/cef/issue/1247

Original comment by magreenb...@gmail.com on 14 Mar 2015 at 3:31