[webkit-help] Request for help to modify webkit
ajai narayanan
ajainarayanan at gmail.com
Wed Aug 17 06:44:45 PDT 2011
Hi,
I am using windows (visual studio 2005) for building as well as walking
through the code.
I just downloaded the nightlies from webkit.org website and I am trying to
learn the code from the MiniBrowser project that comes with webkit.
I am also trying this one simple thing, I am trying to block a set of URLs
that the user gives as input and try to redirect the request to another
website saying that the particular website has been blocked. I am trying to
write a new class to KURL and add it as a rule so that for every URL that
the user enters webkit checks whether the URL has been blocked or not, if
Yes it is going to redirect the user to another default website.
Do you think this might be a starting point to learn deep further in webkit?
Thanks,
A.Ajai
On Wed, Aug 17, 2011 at 3:58 AM, Nilesh Patil <vniles at gmail.com> wrote:
> Hi
>
> Which is port you are using ? Is it Windows?
>
> Thanks & Regards
> Nilesh
>
>
> On Tue, Aug 16, 2011 at 7:44 PM, ajai narayanan <ajainarayanan at gmail.com>wrote:
>
>> Hi,
>> Thank you for your reply. I will try what you have suggested.
>>
>> More on your reply, can you please help me in setting up the environment
>> for debugging? I am not able to debug the entire application but rather just
>> build it. If I am setting up break points inside the code, the step-in
>> action never reaches the destined break point. I get all weird walkthroughs.
>> Can you please suggest a way to debug the code so that I could get to know
>> the source more deeper?
>>
>> Thanks,
>> A.Ajai
>>
>>
>> On Tue, Aug 16, 2011 at 4:53 AM, Nilesh Patil <vniles at gmail.com> wrote:
>>
>>> Hi
>>>
>>> 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
>>> Nilesh
>>>
>>> On Tue, Aug 16, 2011 at 6:28 AM, ajai narayanan <ajainarayanan at gmail.com
>>> > wrote:
>>>
>>>> Hi,
>>>> 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.
>>>>
>>>> Thanks,
>>>> A.Ajai
>>>>
>>>> _______________________________________________
>>>> webkit-help mailing list
>>>> webkit-help at lists.webkit.org
>>>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20110817/1ee96c58/attachment-0001.html>
More information about the webkit-help
mailing list