MCPcopy Create free account
hub / github.com/angular/dev-infra / validateCookiePath

Function validateCookiePath

github-actions/browserstack/set-browserstack-env.js:16523–16532  ·  view source on GitHub ↗
(path4)

Source from the content-addressed store, hash-verified

16521 webidl.util.markAsUncloneable(this);
16522 }
16523 match(_0) {
16524 return __async(this, arguments, function* (request, options = {}) {
16525 webidl.brandCheck(this, _CacheStorage);
16526 webidl.argumentLengthCheck(arguments, 1, "CacheStorage.match");
16527 request = webidl.converters.RequestInfo(request);
16528 options = webidl.converters.MultiCacheQueryOptions(options);
16529 if (options.cacheName != null) {
16530 if (__privateGet(this, _caches).has(options.cacheName)) {
16531 const cacheList = __privateGet(this, _caches).get(options.cacheName);
16532 const cache = new Cache(kConstruct, cacheList);
16533 return yield cache.match(request, options);
16534 }
16535 } else {

Callers 1

stringifyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected