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

Function reject

javascript/selenium-webdriver/http/util.js:65–68  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

63 onResolve(status)
64 }
65 let reject = (err) => {
66 done = true
67 onReject(err)
68 }
69
70 if (opt_cancelToken) {
71 opt_cancelToken.then((_) => reject(new CancellationError()))

Callers 15

startMethod · 0.85
_failPendingMethod · 0.85
waitForConnectionMethod · 0.85
sendMethod · 0.85
waitForServerFunction · 0.85
onErrorFunction · 0.85
waitForUrlFunction · 0.85
checkedNodeCallFunction · 0.85
waitMethod · 0.85
evaluateConditionMethod · 0.85
pollConditionMethod · 0.85
createCDPConnectionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected