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

Method getXMLHttpRequest

src/core/window/interface.js:89–91  ·  view source on GitHub ↗

* @static * @param {Window} win * @return {typeof XMLHttpRequest}

(win)

Source from the content-addressed store, hash-verified

87 * @return {typeof XMLHttpRequest}
88 */
89 static getXMLHttpRequest(win) {
90 return /** @type {*} */ (win).XMLHttpRequest;
91 }
92
93 /**
94 * @static

Callers 1

sendRequestUsingXhrMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected