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

Function resetBootstrapBaseUrlForTesting

src/3p-frame.js:241–243  ·  view source on GitHub ↗
(win)

Source from the content-addressed store, hash-verified

239 * @param {*} win
240 */
241export function resetBootstrapBaseUrlForTesting(win) {
242 win.__AMP_DEFAULT_BOOTSTRAP_SUBDOMAIN = undefined;
243}
244
245/**
246 * Returns the default base URL for 3p bootstrap iframes.

Callers 1

test-3p-frame.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected