| 593 | } |
| 594 | |
| 595 | void URLPatternImpl::GetHasRegexpGroups(v8::Local<v8::Name> property, |
| 596 | const v8::PropertyCallbackInfo<v8::Value> &info) { |
| 597 | URLPatternImpl *ptr = GetPointer(info.This()); |
| 598 | if (ptr == nullptr) { |
| 599 | info.GetReturnValue().Set(false); |
| 600 | return; |
| 601 | } |
| 602 | auto isolate = info.GetIsolate(); |
| 603 | |
| 604 | auto value = ptr->GetPattern()->has_regexp_groups(); |
| 605 | |
| 606 | info.GetReturnValue().Set(value); |
| 607 | } |
| 608 | |
| 609 | |
| 610 | void URLPatternImpl::Test(const v8::FunctionCallbackInfo<v8::Value> &args) { |
nothing calls this directly
no test coverage detected