Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Side by Side Diff: src/js/promise.js

Issue 2513413002: [promises] Do not export GlobalPromise (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/js/async-await.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 (function(global, utils, extrasUtils) { 5 (function(global, utils, extrasUtils) {
6 6
7 "use strict"; 7 "use strict";
8 8
9 %CheckIsBootstrapping(); 9 %CheckIsBootstrapping();
10 10
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 "resolvePromise", ResolvePromise, 640 "resolvePromise", ResolvePromise,
641 "rejectPromise", DoRejectPromise, 641 "rejectPromise", DoRejectPromise,
642 "markPromiseAsHandled", MarkPromiseAsHandled 642 "markPromiseAsHandled", MarkPromiseAsHandled
643 ]); 643 ]);
644 644
645 utils.Export(function(to) { 645 utils.Export(function(to) {
646 to.IsPromise = IsPromise; 646 to.IsPromise = IsPromise;
647 to.PromiseCreate = PromiseCreate; 647 to.PromiseCreate = PromiseCreate;
648 to.PromiseThen = PromiseThen; 648 to.PromiseThen = PromiseThen;
649 649
650 to.GlobalPromise = GlobalPromise;
651 to.CreateInternalPromiseCapability = CreateInternalPromiseCapability; 650 to.CreateInternalPromiseCapability = CreateInternalPromiseCapability;
652 to.PerformPromiseThen = PerformPromiseThen; 651 to.PerformPromiseThen = PerformPromiseThen;
653 to.ResolvePromise = ResolvePromise; 652 to.ResolvePromise = ResolvePromise;
654 to.RejectPromise = RejectPromise; 653 to.RejectPromise = RejectPromise;
655 }); 654 });
656 655
657 }) 656 })
OLDNEW
« no previous file with comments | « src/js/async-await.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698