Index: LayoutTests/fast/js/Promise-native-then.html |
diff --git a/LayoutTests/fast/js/Promise-native-then.html b/LayoutTests/fast/js/Promise-native-then.html |
index c1426de5648739ab70c65867188bc3f3d296914e..c3e9789c3468eae560b142a1401e1c85505c068c 100644 |
--- a/LayoutTests/fast/js/Promise-native-then.html |
+++ b/LayoutTests/fast/js/Promise-native-then.html |
@@ -28,7 +28,7 @@ newPromise.then(function(result) { |
testFailed("rejected"); |
}).then(finishJSTest, finishJSTest); |
-resolve(10); |
+resolve(new Promise(function(resolve) { resolve(10); })); |
</script> |
</body> |