| Index: LayoutTests/fast/js/Promise-resolve-with-then-exception.html
|
| diff --git a/LayoutTests/fast/js/Promise-resolve-with-then-exception.html b/LayoutTests/fast/js/Promise-resolve-with-then-exception.html
|
| index 4b45d495fa8e4b6ffb38aa94f532d04b6dd0f04e..92167e2808bd8339fe4496884b98aa2c1a514649 100644
|
| --- a/LayoutTests/fast/js/Promise-resolve-with-then-exception.html
|
| +++ b/LayoutTests/fast/js/Promise-resolve-with-then-exception.html
|
| @@ -11,8 +11,8 @@ description('Test Promise.');
|
|
|
| window.jsTestIsAsync = true;
|
| var callback;
|
| -var promise = new Promise(function(resolver) {
|
| - resolver.resolve({then: function(fulfillCallback, rejectCallback) {
|
| +var promise = new Promise(function(resolve) {
|
| + resolve({then: function(fulfillCallback, rejectCallback) {
|
| throw 'hello';
|
| }}, true);
|
| });
|
|
|