What do you mean by "native JS function"? It is not a native JavaScript function, it is a C++ function that is being called from the JavaScript "world".
There is something called Web IDL which is the definition of the interfaces and objects that are exposed to JavaScript, but those bindings (the exposure of those objects to JavaScript) are automatically generated from the IDL files, written in C++. Not sure if this would help you.
V8 does not know about querySelector specifically because querySelector is a web/HTML/DOM/CSSOM concept, not a JavaScript concept (this is why it does not exist in Node.js or Rhino).