Lines Matching refs:GlobalPromise
62 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);
436 %AddNamedProperty(GlobalPromise.prototype, toStringTagSymbol, "Promise",
439 utils.InstallFunctions(GlobalPromise, DONT_ENUM, [
446 utils.InstallFunctions(GlobalPromise.prototype, DONT_ENUM, [