What steps will reproduce the problem?
1. Launch a debug version of cefclient
2. Enter an invalid URL, e.g., http://^/ or http:///
3. Press enter to navigate to the invalid URL
What is the expected output? What do you see instead?
Expect to see the standard page load error. Instead, this triggers a DCHECK in
the debug build of libcef.dll.
What version of the product are you using? On what operating system?
CEF r82 on 32-bit Windows 7.
Please provide any additional information below.
Problem is in BrowserWebViewDelegate::decidePolicyForNavigation. In
particular, it seems that the following piece of code needs to verify that
request_url.is_valid() before calling spec():
GURL request_url = request.url();
req->SetURL(UTF8ToWide(request_url.spec()));
Original issue reported on code.google.com by emerick on 29 Jul 2010 at 8:10
Original issue reported on code.google.com by
emerick
on 29 Jul 2010 at 8:10