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

Method delete

github-actions/browserstack/set-browserstack-env.js:16409–16417  ·  view source on GitHub ↗

* @see https://w3c.github.io/ServiceWorker/#cache-storage-delete * @param {string} cacheName * @returns {Promise }

(_0)

Source from the content-addressed store, hash-verified

16407 for (const fieldValue of fieldValues) {
16408 if (fieldValue === "*") {
16409 return false;
16410 }
16411 const requestValue = request.headersList.get(fieldValue);
16412 const queryValue = requestQuery.headersList.get(fieldValue);
16413 if (requestValue !== queryValue) {
16414 return false;
16415 }
16416 }
16417 return true;
16418 };
16419 _internalMatchAll = new WeakSet();
16420 internalMatchAll_fn = function(request, options, maxResponses = Infinity) {

Callers

nothing calls this directly

Calls 3

__asyncFunction · 0.70
__privateGetFunction · 0.70
deleteMethod · 0.45

Tested by

no test coverage detected