MCPcopy Index your code
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

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

Calls 1

onRejectFunction · 0.85

Tested by

no test coverage detected