| Index: LayoutTests/fast/js/Promise-chain.html
|
| diff --git a/LayoutTests/fast/js/Promise-chain.html b/LayoutTests/fast/js/Promise-chain.html
|
| index bc11054687362ef4a28908c121ad003f17601122..8995c847a68d167f30556b56d58f78e88c7da77e 100644
|
| --- a/LayoutTests/fast/js/Promise-chain.html
|
| +++ b/LayoutTests/fast/js/Promise-chain.html
|
| @@ -11,8 +11,8 @@ description('Test Promise.');
|
|
|
| window.jsTestIsAsync = true;
|
|
|
| -var resolver;
|
| -var promise = new Promise(function (r) {resolver = r;});
|
| +var resolve;
|
| +var promise = new Promise(function (r) {resolve = r;});
|
| var operation;
|
|
|
| promise.then(function(result) { // fulfilled - continue
|
| @@ -57,7 +57,7 @@ promise.then(function(result) { // fulfilled - continue
|
| });
|
|
|
| operation = 'synchronous';
|
| -resolver.fulfill('hello');
|
| +resolve('hello');
|
|
|
| // The chain should be executed asynchronously.
|
| operation = 'asynchronous';
|
|
|