| 293 | } |
| 294 | |
| 295 | void URLSearchParamsImpl::ToString(const v8::FunctionCallbackInfo<v8::Value> &args) { |
| 296 | URLSearchParamsImpl *ptr = GetPointer(args.This()); |
| 297 | if (ptr == nullptr) { |
| 298 | args.GetReturnValue().SetEmptyString(); |
| 299 | return; |
| 300 | } |
| 301 | auto isolate = args.GetIsolate(); |
| 302 | |
| 303 | |
| 304 | auto value = ptr->GetURLSearchParams()->to_string(); |
| 305 | |
| 306 | auto ret = ArgConverter::ConvertToV8String(isolate, value); |
| 307 | |
| 308 | args.GetReturnValue().Set(ret); |
| 309 | } |
| 310 | |
| 311 | void URLSearchParamsImpl::Values(const v8::FunctionCallbackInfo<v8::Value> &args) { |
| 312 | URLSearchParamsImpl *ptr = GetPointer(args.This()); |
no test coverage detected