native code in firefox dom inspector

T

tweety

wat does "native code" in firefox dom inspector mean?

function hasAttribute() {
[native code]
}


can anyone help me with this?

Thanks in advance,
Priya
 
M

Martin Honnen

tweety said:
wat does "native code" in firefox dom inspector mean?

function hasAttribute() {
[native code]
}

For Mozilla/Firefox that usually means a DOM method is implemented in
C++/XPCOM and exposed to script with XPConnect.
In general if a script engine says something is native code then that
means implemented in e.g. C/C++ (with a script engine implemented in
C/C++) or e.g. Java (with a script engine implemented in Java).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top