libraries/v8/runtime.cc
// Return property names from named interceptor.
// args[0]: object
Return property names from named interceptor.
args[0]: object
Return property names from named interceptor . args [ 0 ] : object
RUNTIME_FUNCTION(MaybeObject*, Runtime_GetNamedInterceptorPropertyNames) {
  HandleScope scope(isolate);
  ASSERT(args.length() == 1);
  CONVERT_ARG_HANDLE_CHECKED(JSObject, obj, 0);
  if (obj->HasNamedInterceptor()) {
    v8::Handle<v8::Array> result = GetKeysForNamedInterceptor(obj, obj);
    if (!result.IsEmpty()) return *v8::Utils::OpenHandle(*result);
  }
  return isolate->heap()->undefined_value();
}
RUNTIME_FUNCTION ( MaybeObject * , Runtime_GetNamedInterceptorPropertyNames ) { HandleScope scope ( isolate ) ; ASSERT ( args . length ( ) == 1 ) ; CONVERT_ARG_HANDLE_CHECKED ( JSObject , obj , 0 ) ; if ( obj -> HasNamedInterceptor ( ) ) { v8 :: Handle < v8 :: Array > result = GetKeysForNamedInterceptor ( obj , obj ) ; if ( ! result . IsEmpty ( ) ) return * v8 :: Utils :: OpenHandle ( * result ) ; } return isolate -> heap ( ) -> undefined_value ( ) ; }
Return property names from named interceptor.
Return property names from named interceptor .