How mapping of JS objects methods with native function name is done

View: New views
1 Messages — Rating Filter:   Alert me  

How mapping of JS objects methods with native function name is done

by Kailas-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I am new to Firefox.
I want to know how the JS engine after executing the Javascript make the
call to appropriate function.  For example, if javascript code is
document.write "hello"
then how JS engine calls the function nsHTMLDocument::Write(const
nsAString& aText) in Firefox.

I want to know how or where the mapping of  JS object method with
Firefox native function name is done, such as mapping of document.write
to nsHTMLDocument::Write.


regards,
Kailas


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4489 (20091008) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


_______________________________________________
dev-tech-js-engine mailing list
dev-tech-js-engine@...
https://lists.mozilla.org/listinfo/dev-tech-js-engine