MCPcopy Create free account
hub / github.com/NativeScript/android / GetPassword

Method GetPassword

test-app/runtime/src/main/cpp/URLPatternImpl.cpp:500–513  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

498
499
500void URLPatternImpl::GetPassword(v8::Local<v8::Name> property,
501 const v8::PropertyCallbackInfo<v8::Value> &info) {
502 URLPatternImpl *ptr = GetPointer(info.This());
503 if (ptr == nullptr) {
504 info.GetReturnValue().SetEmptyString();
505 return;
506 }
507 auto isolate = info.GetIsolate();
508
509 auto value = ptr->GetPattern()->get_password();
510
511 info.GetReturnValue().Set(
512 ArgConverter::ConvertToV8String(isolate, value.data(), value.length()));
513}
514
515
516void URLPatternImpl::GetPathName(v8::Local<v8::Name> property,

Callers

nothing calls this directly

Calls 9

ThisMethod · 0.80
SetEmptyStringMethod · 0.80
GetReturnValueMethod · 0.80
GetPatternMethod · 0.80
get_passwordMethod · 0.60
GetIsolateMethod · 0.45
SetMethod · 0.45
dataMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected