mrowe at apple.com
Sun Jan 18 21:00:54 PST 2009
On 2009-01-18, at 20:43, Nilesh Patil wrote:
> I am not really sure which example/reference you are following.
> interpreter should be aware of that functions/native component you are
> trying to access.
> objects and
> their properties.
undesirable to do so.
> You will find corresponding source in WebCore/bindings ,
These directories are not at all relevant to the question that the
original poster asked.
> 2009/1/17 <webkitdev at aol.com>:
>> Basically my requirement is to load a webpage that contains the UI
>> built in
>> Java script and on some user actions, I need to call C library
>> functions on
>> Linux. I looked at the testapi.c in API directory and added similar
>> functions in GtkLauncher program(main.c) to add "MyObject". But
>> when a I
>> load a webpage containing "MyObject" I am getting error
>> Can't find variable: MyObject". Then I copied the entire testapi.c
>> GtkLauncher main.c, replaced main() with test_main() and invoked the
>> test_api() (along with a few tweaks for the header files .). This
>> way I am
>> able to get all the tests (testapi.js) succeed, but I am still
>> getting the
>> "ReferenceError". Looking at the code, I see that there is a
>> context that is
>> passed, which I believe is not passed to the webview. Is there a
>> way in
>> which I can use the same context as the webview and add my object?
>> Which stars will make the biggest headlines in 2009? Get Hollywood
>> predictions, celebrity holiday photos and more with the PopEater
>> webkit-dev mailing list
>> webkit-dev at lists.webkit.org
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2413 bytes
Desc: not available
More information about the webkit-dev