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

Method SetPassword

test-app/runtime/src/main/cpp/URLImpl.cpp:321–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319}
320
321void URLImpl::SetPassword(v8::Local<v8::String> property,
322 v8::Local<v8::Value> value,
323 const v8::PropertyCallbackInfo<void> &info) {
324 URLImpl *ptr = GetPointer(info.This());
325 if (ptr == nullptr) {
326 return;
327 }
328 auto isolate = info.GetIsolate();
329 auto context = isolate->GetCurrentContext();
330 auto val = ArgConverter::ConvertToString(value->ToString(context).ToLocalChecked());
331 ptr->GetURL()->set_password(val.c_str());
332}
333
334void URLImpl::GetPathName(v8::Local<v8::String> property,
335 const v8::PropertyCallbackInfo<v8::Value> &info) {

Callers

nothing calls this directly

Calls 6

ThisMethod · 0.80
ToLocalCheckedMethod · 0.80
set_passwordMethod · 0.80
GetURLMethod · 0.80
GetIsolateMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected