Index: LayoutTests/fast/js/Promise-exception.html |
diff --git a/LayoutTests/fast/js/Promise-exception.html b/LayoutTests/fast/js/Promise-exception.html |
index 13409cf987b5bb6cbf6b87f42dee7bf327d39033..aff3f6acdb8265944c19ab27cce293c95516e3e8 100644 |
--- a/LayoutTests/fast/js/Promise-exception.html |
+++ b/LayoutTests/fast/js/Promise-exception.html |
@@ -24,7 +24,8 @@ var thirdPromise = secondPromise.then(function(result) { |
fail('Unexpected invocation of fulfillCallback'); |
}, function(result) { |
window.thisInThenCallback = this; |
- shouldBeTrue('thisInThenCallback === thirdPromise'); |
+ shouldBeFalse('thisInThenCallback === thirdPromise'); |
+ shouldBeTrue('thisInThenCallback === window'); |
window.result = result; |
shouldBeEqualToString('result', 'foobar'); |
finishJSTest(); |