GoogleCodeArchive / 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

Bug in javascript:: navigation bug and fix #110

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In the Navigate method in WebKitBrowser.cs there is the line...

GetScriptManager.EvaluateScript(url.Split(Convert.ToChar("::"))[1]);

Convert.ToChar("::")) is not valid and a suggested fix since we are only 
checking for url starting with javascript::

GetScriptManager.EvaluateScript(url.Substring(12));

Original issue reported on code.google.com by Peter.Tr...@gmail.com on 25 May 2012 at 11:31