MCPcopy Create free account
hub / github.com/ampproject/amphtml / verifyAndRemoveRequestUrl

Method verifyAndRemoveRequestUrl

testing/helpers/service.js:402–410  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

400 }
401
402 verifyAndRemoveRequestUrl(url) {
403 for (let i = this.imagePixels_.length - 1; i >= 0; i--) {
404 if (this.imagePixels_[i].src == url) {
405 this.imagePixels_.splice(i, 1);
406 return true;
407 }
408 }
409 return false;
410 }
411}
412
413export function measureMutateElementStub(measure, mutate) {

Callers 1

test-vendors.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected