Home
last modified time | relevance | path

Searched refs:onResolve (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/
Dpromise.js57 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/v8/test/mjsunit/es6/
Dpromises.js341 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