Allow filter to use any scheme
This commit is contained in:
parent
e0c021bfef
commit
86215d4300
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ struct Converter<URLPattern> {
|
||||||
std::string pattern;
|
std::string pattern;
|
||||||
if (!ConvertFromV8(isolate, val, &pattern))
|
if (!ConvertFromV8(isolate, val, &pattern))
|
||||||
return false;
|
return false;
|
||||||
|
*out = URLPattern(URLPattern::SCHEME_ALL);
|
||||||
return out->Parse(pattern) == URLPattern::PARSE_SUCCESS;
|
return out->Parse(pattern) == URLPattern::PARSE_SUCCESS;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue