[webkit-help] Request for help to modify webkit
vniles at gmail.com
Tue Aug 16 01:53:04 PDT 2011
This reply is very specific to your query of disabling alert()
If you have debug envirnment ready then you can try putting breakpoint in
JSDomWindow.cpp. Here most of alert type functions are registered as
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
> 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...
More information about the webkit-help