Searched refs:onResolve (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/v8/src/ |
D | promise.js | 57 function PromiseSet(promise, status, value, onResolve, onReject) { argument 60 SET_PRIVATE(promise, promiseOnResolve, onResolve); 212 PromiseChain = function PromiseChain(onResolve, onReject) { // a.k.a. argument 214 onResolve = IS_UNDEFINED(onResolve) ? PromiseIdResolveHandler : onResolve; 221 GET_PRIVATE(this, promiseOnResolve).push(onResolve, deferred); 226 [onResolve, deferred], 247 PromiseThen = function PromiseThen(onResolve, onReject) { argument 248 onResolve = IS_SPEC_FUNCTION(onResolve) ? onResolve 259 IsPromise(x) ? x.then(onResolve, onReject) : onResolve(x);
|
/external/chromium_org/v8/test/mjsunit/es6/ |
D | promises.js | 341 var p2 = {then: function(onResolve, onReject) { onResolve(p1) }} argument 352 var p2 = {then: function(onResolve, onReject) { onResolve(p1) }} argument 363 var p2 = {then: function(onResolve, onReject) { onResolve(p1) }} argument 374 var p2 = {then: function(onResolve, onReject) { onResolve(p1) }} argument 462 var p2 = {then: function(onResolve, onReject) { onResolve(p1) }} argument 475 var p2 = {then: function(onResolve, onReject) { onResolve(p1) }} argument 488 var p2 = {then: function(onResolve, onReject) { onResolve(p1) }} argument 501 var p2 = {then: function(onResolve, onReject) { onResolve(p1) }} argument 565 var p2 = {then: function(onResolve, onReject) { onResolve(p1) }} argument 578 var p2 = {then: function(onResolve, onReject) { onResolve(p1) }} argument
|
/external/chromium_org/chrome/browser/resources/google_now/ |
D | common_test_util.js | 109 function then(onResolve, onReject) { argument 111 isCallable(onResolve) ? onResolve : function() { return result; };
|
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/ |
D | CacheTest.cpp | 190 ScriptValue onResolve; in getResolveValue() local 191 …promise.then(TestFunction::create(scriptState(), &onResolve), UnreachableFunction::create(scriptSt… in getResolveValue() 193 return onResolve; in getResolveValue() 198 ScriptValue onResolve = getResolveValue(promise); in getResolveString() local 199 return toCoreString(onResolve.v8Value()->ToString()).ascii().data(); in getResolveString()
|