Index: LayoutTests/fast/js/Promise-init.html |
diff --git a/LayoutTests/fast/js/Promise-init.html b/LayoutTests/fast/js/Promise-init.html |
index a2ee6a7c5502751d5523a09e9ba17a3f6a21b24d..c14dd460a909802c2ba69f842a6c0b79d9ba2023 100644 |
--- a/LayoutTests/fast/js/Promise-init.html |
+++ b/LayoutTests/fast/js/Promise-init.html |
@@ -21,7 +21,8 @@ var promise = new Promise(function(newResolve, newReject) { |
shouldBeTrue('promise instanceof Promise'); |
shouldBe('promise.constructor', 'Promise'); |
-shouldBe('thisInInit', 'promise'); |
+shouldBeFalse('thisInInit === promise'); |
+shouldBeTrue('thisInInit === window'); |
shouldBeTrue('resolve instanceof Function'); |
shouldBeTrue('reject instanceof Function'); |