ataranto / CefSharp

.Net binding for the Chromium Embedded Framework
Other
62 stars 34 forks source link

Handling errors in the page load #23

Closed oconnor663 closed 12 years ago

oconnor663 commented 12 years ago

I've been able to build the error handling I wanted using these two interfaces. The HandleResponse part requires that I distinguish between errors from the page URL itself, and errors from the resources URLs it loads. Right now I'm just comparing the error URL to the URL I know I'm navigating to, which is kind of a hack, but it's working.

My C++ fu is really weak, so please correct me if I'm doing any of the memory management wrong, or if there are better idioms I could be using.

oconnor663 commented 12 years ago

Now also including the ExecuteScript dispose fix.