[webkit-dev] Win32 App
Ariya Hidayat
ariya.hidayat at trolltech.com
Mon Sep 29 01:12:31 PDT 2008
> In Cocoa I have made a command line application that init's a WebView, then
> calls, stringByEvaluatingJavaScriptFromString, however, I'm trying to get
> this to work in Windows. I've compiled WebKit and added a new Win32 command
> line project, however, I'm always getting back "null" when calling
> stringByEvaluatingJavaScriptFromString. Below is the source, and I've tried
> a variety of different things to eval ("1 + 1", "var foo = 1", etc.), and
> again, it's always null.
Can't you use the debugger and single-step the function? Perhaps it returns
immediately due to some error or something like that.
--
Ariya Hidayat (ariya.hidayat at trolltech.com)
Software Engineer, Qt Software, Nokia
More information about the webkit-dev
mailing list