| 319 | } |
| 320 | |
| 321 | void 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 | |
| 334 | void URLImpl::GetPathName(v8::Local<v8::String> property, |
| 335 | const v8::PropertyCallbackInfo<v8::Value> &info) { |
nothing calls this directly
no test coverage detected