lovely0493 / open-webkit-sharp

Automatically exported from code.google.com/p/open-webkit-sharp
GNU Lesser General Public License v3.0
1 stars 0 forks source link

No error handling (repost) #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If it can't find a web address, it'll crash.

Original issue reported on code.google.com by Knuckles...@gmail.com on 7 Oct 2011 at 10:11

GoogleCodeExporter commented 8 years ago
Can you provide me with an example?

Original comment by tsumalis96@gmail.com on 8 Oct 2011 at 12:39

GoogleCodeExporter commented 8 years ago
Let's say the your Internet connection isn't working. I navigate to a webpage, 
and instead of it bringing me a "Page not found" message, it crashes the web 
browser.
Another example is if you type a wrong address (e.g no .com or .net or whatever 
at the end)
I'll provide an image.

Original comment by Knuckles...@gmail.com on 8 Oct 2011 at 1:43

Attachments:

GoogleCodeExporter commented 8 years ago
Does this also happen when not debugging? I mean, when you just run the exe 
without debugging in VS. If clicking Continue does not solve your problem then 
I will fix it for 1.8. Thanks for reporting this issue.

Original comment by tsumalis96@gmail.com on 8 Oct 2011 at 5:10

GoogleCodeExporter commented 8 years ago
When just running the executable, it doesn't do anything, but it's annoying 
when I'm coding. Also, a "Page not found" error would still be nice.

Original comment by Knuckles...@gmail.com on 8 Oct 2011 at 6:25

GoogleCodeExporter commented 8 years ago
OK I will try to fix this in Version 1.8 but I am not sure if I manage to do 
so...

Original comment by tsumalis96@gmail.com on 10 Oct 2011 at 3:02

GoogleCodeExporter commented 8 years ago
Check if it is fixed in 1.9 if you want.

Original comment by tsumalis96@gmail.com on 15 Oct 2011 at 6:36

GoogleCodeExporter commented 8 years ago
You can add a try catch loop to detect if an exception is thrown and at catch 
you can use a messagebox or anything else that you do when an error occurs.

Original comment by tsumalis96@gmail.com on 25 Nov 2011 at 7:28