Index: LayoutTests/fast/js/Promise-resolve.html |
diff --git a/LayoutTests/fast/js/Promise-resolve.html b/LayoutTests/fast/js/Promise-resolve.html |
index 000e7fd9093f3ba6adb2422ebbdfd6da9295712c..a5fbc0a226d2562b8201ef9688f2f2024f5a813d 100644 |
--- a/LayoutTests/fast/js/Promise-resolve.html |
+++ b/LayoutTests/fast/js/Promise-resolve.html |
@@ -17,7 +17,8 @@ var firstPromise = new Promise(function(resolve) { |
var secondPromise = firstPromise.then(function(result) { |
window.thisInFulfillCallback = this; |
- shouldBeTrue('thisInFulfillCallback === secondPromise'); |
+ shouldBeFalse('thisInFulfillCallback === secondPromise'); |
+ shouldBeTrue('thisInFulfillCallback === window'); |
window.result = result; |
shouldBeEqualToString('result', 'hello'); |
finishJSTest(); |