The reason Chrome or Firefox says that the code is native is that it really is native - the WebKit and Firefox developers have coded up that functionality in C or C++, not JavaScript. However, if you want to see the actual code, you can look at the source repositories for Chromium and Firefox.
Chromium Code Search provides a good way to read javascript native code.
This post addresses a litter bit about how to use it. And in this video, you can see an example.