/external/v8/test/mjsunit/harmony/ |
async-arrow-lexical-arguments.js | 11 var promise = run(); 13 if (typeof promise !== "object" || typeof promise.then !== "function") { 16 " to return a Promise, but it returned " + PrettyPrint(promise)); 19 promise.then(function(value) { hadValue = true; actual = value; },
|
async-arrow-lexical-new.target.js | 11 var promise = run(); 13 if (typeof promise !== "object" || typeof promise.then !== "function") { 16 " to return a Promise, but it returned " + PrettyPrint(promise)); 19 promise.then(function(value) { hadValue = true; actual = value; },
|
async-arrow-lexical-super.js | 11 var promise = run(); 13 if (typeof promise !== "object" || typeof promise.then !== "function") { 16 " to return a Promise, but it returned " + PrettyPrint(promise)); 19 promise.then(function(value) { hadValue = true; actual = value; },
|
async-arrow-lexical-this.js | 11 var promise = run(); 13 if (typeof promise !== "object" || typeof promise.then !== "function") { 16 " to return a Promise, but it returned " + PrettyPrint(promise)); 19 promise.then(function(value) { hadValue = true; actual = value; },
|
async-debug-step-abort-at-break.js | 29 return new Promise( // B3 StepOut
|
async-debug-step-continue-at-break.js | 29 return new Promise( // B3 StepOut
|
async-debug-step-in-and-out.js | 29 return new Promise( // B3 StepOut
|
async-debug-step-in-out-out.js | 29 return new Promise( // B3 StepOut
|
async-debug-step-in.js | 29 return new Promise( // B3 StepIn
|
async-debug-step-nested.js | 29 return new Promise( // B4 StepOut
|
async-debug-step-next.js | 29 return new Promise(
|
async-debug-step-out.js | 29 return new Promise(
|
debug-async-break-on-stack.js | 14 var promise = run(); 16 if (typeof promise !== "object" || typeof promise.then !== "function") { 19 " to return a Promise, but it returned " + promise); 22 promise.then(function(value) { hadValue = true; actual = value; },
|
debug-async-break.js | 14 var promise = run(); 16 if (typeof promise !== "object" || typeof promise.then !== "function") { 19 " to return a Promise, but it returned " + promise); 22 promise.then(function(value) { hadValue = true; actual = value; },
|
/external/v8/test/mjsunit/regress/ |
regress-crbug-568477-1.js | 34 Promise.resolve().then(f).catch(call_f_with_deeper_stack);
|
regress-crbug-568477-3.js | 34 var p = Promise.resolve();
|
/external/v8/test/mjsunit/es6/regress/ |
regress-cr372788.js | 28 // Flags: --allow-natives-syntax --promise-extra 36 Promise.resolve(thenable).then(function() { x++; y++; }); 41 Promise.resolve().chain(function() {
|
/external/v8/test/webkit/fast/js/ |
Promise-chained-then.js | 25 description('Test chained Promise.prototype.then.'); 28 var promise = new Promise(function (r) {resolve = r;}); 31 promise.then(function(localResult) { // fulfilled - continue
|
Promise-resolve-state.js | 26 description('Test whether Promise processes microtasks in the correct order.'); 29 var promise = new Promise(function(r) { resolve = r; }); 32 promise.then(function(result) { 46 promise.then(function() { 51 testFailed('promise is rejected.');
|
Promise-resolve-with-then-fulfill.js | 26 description('Test whether Promise treats thenable correctly.'); 39 new Promise(function(resolve) { 51 debug('The promise is not fulfilled now.');
|
Promise-resolve-with-then-reject.js | 26 description('Test whether Promise treats thenable correctly.'); 39 new Promise(function(resolve) { 51 debug('The promise is not rejected now.');
|
/external/clang/lib/Sema/ |
SemaCoroutine.cpp | 78 auto *Promise = R.getAsSingle<TypeDecl>(); 79 if (!Promise) { 85 // The promise type is required to be a class type. 86 QualType PromiseType = S.Context.getTypeDeclType(Promise); 134 // If we don't have a promise variable, build one now. 144 // Create and default-initialize the promise. 263 assert(Coroutine->CoroutinePromise && "no promise for coroutine"); 265 // Form a reference to the promise. 266 auto *Promise = Coroutine->CoroutinePromise; 268 Promise, Promise->getType().getNonReferenceType(), VK_LValue, Loc) [all...] |
/external/owasp/sanitizer/empiricism/ |
html-containment.js | 255 function Promise() { 256 if (!(this instanceof Promise)) { return new Promise(); } 267 Promise.prototype.toString = function () { return "Promise"; }; 272 if (argument instanceof Promise) {
|
/hardware/bsp/intel/peripheral/libupm/doxy/node/ |
xml2js.js | 29 , Promise = require('bluebird') 34 // use promise-style programming rather than spaghetti callbacks 35 Promise.promisifyAll(fs); 146 return Promise.join(createXmlParser(XML_GRAMMAR_SPEC), 147 xml2js.opts.typemaps ? initCustomPointerTypemaps(xml2js.opts.typemaps) : Promise.resolve(), 149 fs.existsSync(TYPES_SPEC) ? fs.readFileAsync(TYPES_SPEC, 'utf8') : Promise.resolve(null), 182 return Promise.all(_.map(groupxmlfiles, function(fn) { 203 return Promise.all(parseClasses.concat(parseGroups)); 262 return Promise.all(_.map(dirs, function(dir) { 303 return Promise.all(_.map(directivesFiles, function(directivesFn, className) [all...] |
/external/v8/test/mjsunit/es6/debug-promises/ |
stepin-handler.js | 41 Promise.resolve(42)
|