| Index: LayoutTests/fast/js/Promise-simple-resolve.html
|
| diff --git a/LayoutTests/fast/js/Promise-simple-fulfill.html b/LayoutTests/fast/js/Promise-simple-resolve.html
|
| similarity index 85%
|
| rename from LayoutTests/fast/js/Promise-simple-fulfill.html
|
| rename to LayoutTests/fast/js/Promise-simple-resolve.html
|
| index 77b8c4c5d916b486a0d02a45164a29331a622e04..d8164e5ec714fcaa3020b5bbb077d78872ce821a 100644
|
| --- a/LayoutTests/fast/js/Promise-simple-fulfill.html
|
| +++ b/LayoutTests/fast/js/Promise-simple-resolve.html
|
| @@ -11,9 +11,9 @@ description('Test Promise.');
|
|
|
| window.jsTestIsAsync = true;
|
|
|
| -var future = new Promise(function(resolver) {
|
| +var future = new Promise(function(resolve) {
|
| setTimeout(function() {
|
| - resolver.fulfill('hello');
|
| + resolve('hello');
|
| }, 0);
|
| }).then(function(result) {
|
| window.result = result;
|
|
|