MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / setXdr

Function setXdr

javascript/webdriver/test/http/corsclient_test.js:69–71  ·  view source on GitHub ↗
(opt_value)

Source from the content-addressed store, hash-verified

67}
68
69function setXdr(opt_value) {
70 stubs.set(goog.global, 'XDomainRequest', opt_value);
71}
72
73function expectRequest(mockXhr) {
74 mockXhr.open('POST', URL + '/xdrpc', true);

Callers 2

setXhrFunction · 0.85

Calls 1

setMethod · 0.65

Tested by

no test coverage detected