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
I would think that I just need WebKit to look at relative paths for
WebKit into my application bundle as a private framework (with my
But it appears I have to recompile WebKit to remove the absolute path
link to /System/Library/.../WebCore
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
without modifying WebCore. Until then, this is not really possible with
the Web Kit.
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