winterclouds / geckofx

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

can't navigate to local files and pass params to them #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. call geckobwebbrowser.Navigate() with local path passing parameters,
e.g. file:///c:/temp/file.html?param1=qweqweqwe&param2=...&paramN=dsfsd....

What is the expected output? What do you see instead?
navigating to this page passing parameters in a query string

What version of the product are you using? On what operating system?
any

Please provide any additional information below.
somewhy GeckoFx is making gecko engine's work videlicet: determining if a
resource (this case it is a file) is existing, that is wrong.

Original issue reported on code.google.com by misha.ne...@gmail.com on 28 May 2010 at 6:12

GoogleCodeExporter commented 8 years ago
same problem for me

Original comment by infoscho...@gmail.com on 17 Sep 2010 at 12:58

GoogleCodeExporter commented 8 years ago
I have made a provisional solution, I have rebuiled it removing
these lines (from GeckoWebBrowser.cs)
if (!File.Exists(created.LocalPath) && !Directory.Exists(created.LocalPath)) 
return false;

Original comment by misha.ne...@gmail.com on 17 Sep 2010 at 2:15

GoogleCodeExporter commented 8 years ago
misha: i have tested your provisional solution, but i get an error for this line
 nsIAppShell appShell = (nsIAppShell)Xpcom.GetService(new Guid("2d96b3df-c051-11d1-a827-0040959a28c9"));

Das Objekt des Typs "System.IntPtr" kann nicht in Typ 
"Skybound.Gecko.nsIAppShell" umgewandelt werden.

Original comment by kamera2...@gmail.com on 29 Jun 2011 at 9:02