[webkit-dev] Accessing WebKit JS binding classes from non-WebKit JavaScript Core applications?

2010-04-27 Thread Josh Shagam
Hi, I'm working on a project which makes use of JavaScriptCore as a scripting engine outside of WebKit. It would be very helpful to us if we could get access to the DOMParser and XMLSerializer classes which are in WebKit's DerivedSources area. However, it seems that those libraries are using

Re: [webkit-dev] Accessing WebKit JS binding classes from non-WebKit JavaScript Core applications?

2010-04-27 Thread Eric Seidel
DerivedSources are generated from here: http://trac.webkit.org/browser/trunk/WebCore/DerivedSources.make I think what your'e thinking of as DerivedSources is actually just the javascript bindings, which will be useless to you w/o the actual implementations in WebCore. If for some reason you

Re: [webkit-dev] Accessing WebKit JS binding classes from non-WebKit JavaScript Core applications?

2010-04-27 Thread Josh Shagam
Thanks. I apologize for mincing terminology - I'm not particularly versed in how WebKit is put together, where WebKit ends and JavaScriptCore begins, etc., and I've mostly been banging my head against this based on looking at work that some of my coworkers have done. :) I should be more

Re: [webkit-dev] Accessing WebKit JS binding classes from non-WebKit JavaScript Core applications?

2010-04-27 Thread Eric Seidel
Various WebKit ports expose different bindings. The JS bindings are only exposed to scripts on pages run inside WebKit. If you have your own separate javascript environment, you would need to set up your own custom bindings for that environment. We don't really provide clean APIs for that,

Re: [webkit-dev] Accessing WebKit JS binding classes from non-WebKit JavaScript Core applications?

2010-04-27 Thread Josh Shagam
Okay, that's what I was afraid of. For now I think I'll just write bindings against libxml, then. Thanks. Eric Seidel wrote: Various WebKit ports expose different bindings. The JS bindings are only exposed to scripts on pages run inside WebKit. If you have your own separate javascript