Home
last modified time | relevance | path

Searched refs:GlobalPromise (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/js/
Dpromise.js62 var GlobalPromise = function Promise(resolver) { class
64 return %NewObject(GlobalPromise, new.target);
70 var promise = PromiseInit(%NewObject(GlobalPromise, new.target));
99 var promise = new GlobalPromise(promiseRawSymbol);
165 return new GlobalPromise(PromiseNopResolver)
223 if (C === GlobalPromise) {
225 var promise = PromiseInit(new GlobalPromise(promiseRawSymbol));
259 if (this === GlobalPromise) {
281 var constructor = SpeciesConstructor(this, GlobalPromise);
435 %AddNamedProperty(global, 'Promise', GlobalPromise, DONT_ENUM);
[all …]
Dpromise-extra.js11 var GlobalPromise = global.Promise;
17 utils.InstallFunctions(GlobalPromise.prototype, DONT_ENUM, [
21 utils.InstallFunctions(GlobalPromise, DONT_ENUM, [
Dharmony-species.js19 var GlobalPromise = global.Promise;
57 utils.InstallGetter(GlobalPromise, speciesSymbol, PromiseSpecies, DONT_ENUM);