MCPcopy Index your code
hub / github.com/ampproject/amphtml / getBootstrapBaseUrl

Function getBootstrapBaseUrl

src/3p-frame.js:220–229  ·  view source on GitHub ↗
(
  parentWindow,
  ampdoc,
  opt_strictForUnitTest
)

Source from the content-addressed store, hash-verified

218 * @visibleForTesting
219 */
220export function getBootstrapBaseUrl(
221 parentWindow,
222 ampdoc,
223 opt_strictForUnitTest
224) {
225 return (
226 getCustomBootstrapBaseUrl(parentWindow, ampdoc, opt_strictForUnitTest) ||
227 getDefaultBootstrapBaseUrl(parentWindow)
228 );
229}
230
231/**
232 * @param {string} url

Callers 6

test-3p-frame.jsFile · 0.90
getPreconnectsMethod · 0.90
getPreconnectsMethod · 0.90
getPreconnectsMethod · 0.90
getIframeFunction · 0.85
preloadBootstrapFunction · 0.85

Calls 2

Tested by

no test coverage detected