| 272 | } |
| 273 | |
| 274 | void URLSearchParamsImpl::GetSize(v8::Local<v8::String> property, |
| 275 | const v8::PropertyCallbackInfo<v8::Value> &info) { |
| 276 | URLSearchParamsImpl *ptr = GetPointer(info.This()); |
| 277 | if (ptr == nullptr) { |
| 278 | info.GetReturnValue().Set(0); |
| 279 | return; |
| 280 | } |
| 281 | |
| 282 | auto value = ptr->GetURLSearchParams()->size(); |
| 283 | info.GetReturnValue().Set((int) value); |
| 284 | |
| 285 | } |
| 286 | |
| 287 | void URLSearchParamsImpl::Sort(const v8::FunctionCallbackInfo<v8::Value> &args) { |
| 288 | URLSearchParamsImpl *ptr = GetPointer(args.This()); |
nothing calls this directly
no test coverage detected