Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ampproject/amphtml
/ xhrServiceForTesting
Function
xhrServiceForTesting
src/service/xhr-impl.js:209–212 ·
view source on GitHub ↗
(window)
Source
from the content-addressed store, hash-verified
207
* @
return
{!Xhr}
208
*/
209
export
function
xhrServiceForTesting(window) {
210
installXhrService(window);
211
return
getService(window,
'xhr'
);
212
}
213
214
/**
215
* @param {!Window} window
Callers
5
fetchAdContent
Function · 0.90
test-xhr.js
File · 0.90
test-video-cache.js
File · 0.90
test-amp-video.js
File · 0.90
test-amp-consent.js
File · 0.90
Calls
2
getService
Function · 0.90
installXhrService
Function · 0.85
Tested by
no test coverage detected