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

Method resetHref

testing/fake-dom.js:521–523  ·  view source on GitHub ↗

* Resets the URL without firing any events or triggering a history * entry. * @param {string} href

(href)

Source from the content-addressed store, hash-verified

519 * @param {string} href
520 */
521 resetHref(href) {
522 this.url_ = parseUrlDeprecated(resolveRelativeUrl(href, this.url_));
523 }
524}
525
526/**

Callers 4

test-chunk.jsFile · 0.80
goMethod · 0.80

Calls 2

parseUrlDeprecatedFunction · 0.90
resolveRelativeUrlFunction · 0.90

Tested by

no test coverage detected