| OLD | NEW |
| 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 Loading... |
| 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 }) |
| OLD | NEW |