I have been successful at compiling WebCore with my small
modifications needed for some custom JS handling.
However, my application doesn't link directly with WebCore, but rather
links with the WebKit framework to embed a browser. It appears that
the public /System/library.../WebKit always attempts to load the
WebCore in its Frameworks folder (because it was built that way?) If I
replace the public WebCore in /System/Library/... with my built
version, I can see my mods being executed. But this is undesirable,
as any apps linking with WebKit will be subject to my customized
WebCore. I wish to have only my app use my customized WebCore (via
WebKit)
I would think that I just need WebKit to look at relative paths for
its private frameworks (WebCore/JavaScriptCore) and then I can copy
WebKit into my application bundle as a private framework (with my
modified WebCore).
But it appears I have to recompile WebKit to remove the absolute path
link to /System/Library/.../WebCore
Any ideas?
Unfortunately, making changes to WebCore and then having the Web Kit
use a modified WebCore is not supported.
If you shipped an application with a modified WebCore and tried to get
the Web Kit to use it, that would stop working as soon as a software
update from Apple changed the programming interface between the two.
This is something we do all the time.
You can do anything the license allows with WebCore, but WebKit doesn't
offer the feature of connecting to a customized WebCore.
You may find that with newer versions of the Web Kit framework, you can
accomplish the "custom JavaScript handling" you are talking about
without modifying WebCore. Until then, this is not really possible with
the Web Kit.
-- Darin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webcore-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden