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

Method getReferrerUrl

src/service/viewer-interface.js:115–115  ·  view source on GitHub ↗

* Returns the promise that will yield the confirmed "referrer" URL. This * URL can be optionally customized by the viewer, but viewer is required * to be a trusted viewer. * @return {!Promise }

()

Source from the content-addressed store, hash-verified

113 * @return {!Promise<string>}
114 */
115 getReferrerUrl() {}
116
117 /**
118 * Whether the viewer has been allowlisted for more sensitive operations

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected