[webkit-help] JavaScript Core Extensions

Alexander Shulgin alexander.shulgin at yessoftware.com
Thu Dec 30 02:55:50 PST 2010

On 30.12.2010 12:52, Nimish Nayak wrote:
> @Alexander Shulgin
>  > There is a function which does exactly the same in the same
> WebLauncher.cpp file
>  > Here is the function definition http://codepad.org/iQpmzkAC
>  > But even if the function gets called properly it still does not
> render anything I am calling this function as
>  > loadURL(SysAllocString(TEXT("C:\\index.html")););
> Ok I guess here i was not really very clear what exactly I did. This
> function (new link since earlier one expired)
> is using an API called PathFileExists in which it checks if the location
> is correct as per MSDN, I sent it C:\\index.html
> It makes a call to UrlCreateFromPath which prepends 'file:///' protocol
> to 'C:\\index.html' and thus you get your correct URL
> in the function itself. but it does not navigate or may be not
> rendering. Dont know for sure. if i go http://URL it works

Oh, that makes a difference.

You may have some luck with implementing methods from 
IWebFrameLoadDelegate to see if it ever starts to load the frame, fails 
with an error or finishes.


More information about the webkit-help mailing list