| Index: LayoutTests/fast/js/Promise-simple.html
|
| diff --git a/LayoutTests/fast/js/Promise-simple.html b/LayoutTests/fast/js/Promise-simple.html
|
| index a8b53f82982e1d4da6ef065e2357fac7b123bf73..42ed52a39c2c75bb9b1f81bcfeb36a741306756e 100644
|
| --- a/LayoutTests/fast/js/Promise-simple.html
|
| +++ b/LayoutTests/fast/js/Promise-simple.html
|
| @@ -11,11 +11,11 @@ description('Test Promise.');
|
|
|
| window.jsTestIsAsync = true;
|
|
|
| -var resolver;
|
| +var resolve;
|
|
|
| -var firstPromise = new Promise(function(newResolver) {
|
| +var firstPromise = new Promise(function(newResolve) {
|
| window.thisInInit = this;
|
| - resolver = newResolver;
|
| + resolve = newResolve;
|
| });
|
|
|
| var secondPromise = firstPromise.then(function(result) {
|
| @@ -28,7 +28,7 @@ var secondPromise = firstPromise.then(function(result) {
|
|
|
| shouldBeTrue('thisInInit === firstPromise');
|
|
|
| -resolver.fulfill('hello');
|
| +resolve('hello');
|
|
|
| </script>
|
| <script src="resources/js-test-post.js"></script>
|
|
|