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

Function getDefaultResponseOptions

test/unit/test-xhr.js:627–631  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

625 let optedInDoc;
626 let sendMessageStub;
627 function getDefaultResponseOptions() {
628 return {
629 headers: [],
630 };
631 }
632
633 function getDefaultResponsePromise() {
634 return Promise.resolve({init: getDefaultResponseOptions()});

Callers 2

test-xhr.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected