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

Method getLastRequestUrl

testing/helpers/service.js:395–400  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

393 }
394
395 getLastRequestUrl() {
396 if (!this.hasRequestSent()) {
397 return null;
398 }
399 return this.imagePixels_[this.imagePixels_.length - 1].src;
400 }
401
402 verifyAndRemoveRequestUrl(url) {
403 for (let i = this.imagePixels_.length - 1; i >= 0; i--) {

Callers 1

test-vendors.jsFile · 0.80

Calls 1

hasRequestSentMethod · 0.95

Tested by

no test coverage detected