[webkit-help] Request for help to modify webkit

cosmos.qiu cosmos_qiu at 126.com
Tue Aug 16 19:49:34 PDT 2011

I am a new learner of WebKit. I am very curious about how JS and DOM binding work but I haven't found any entry points to study it.
Is there documents or sampling codes to explain it?




发件人: Nilesh Patil 
发送时间: 2011-08-16  16:53:15 
收件人: ajai narayanan 
抄送: webkit-help 
主题: Re: [webkit-help] Request for help to modify webkit 

This reply is very specific to your query of disabling alert() functionality.

If you have debug envirnment ready then you can try putting breakpoint in JSDomWindow.cpp. Here most of alert type functions are registered as prototypes.
You can put breakpoint at jsDOMWindowPrototypeFunctionAlert() function. You can trace back or forward how alerts are displayed.

But i dont know how you will be understanding this without having little understanding about how JS and DOM binding work.

Good Luck !!! :)

Thanks & Regards

On Tue, Aug 16, 2011 at 6:28 AM, ajai narayanan <ajainarayanan at gmail.com> wrote:

  I am trying to learn webkit and have downloaded the nightlies and built it and have so far looked through the code for a basic understanding.

Now I would like to make modifications to webkit so that I understand it completely (there by get my hands a little dirty).

All I am trying to do is to do minor modifications to a single component of webkit that I could see in evidence when executed.

So as a start I tried blocking certain set of URLs/URL in webkit (added functions as part of KURL class) but could not accomplish it without breaking the application.

I know this modification has very little meaning but all I am trying to do is learn how things work inside (as it has got a lot to do with Threads,pipes,Pointers,resource loads,platform API, etc., and individual components that form the basis of webkit application).

Can anybody provide me the direction as to where I need to concentrate to make this modification?

If its a bad idea to start with can somebody suggest me making "any" modification to any module that would help me learn about that particular component or webkit?

Any small modifications, say ,disabling the "alert()" function call in JS which would help me learn about JavascriptCore in detail would be a great help.

I'm sorry if this mailing list is not the right place to ask such beginners question and I'm sorry for my naivety. 


webkit-help mailing list
webkit-help at lists.webkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20110817/23290562/attachment-0001.html>

More information about the webkit-help mailing list