Index: LayoutTests/fast/js/resources/Promise-resolve-in-workers.js |
diff --git a/LayoutTests/fast/js/resources/Promise-resolve-in-workers.js b/LayoutTests/fast/js/resources/Promise-resolve-in-workers.js |
index a0694343cf05eb60f4d65af09396d74fdf88b826..ba75c2ab3d46a509e0615ac4ab44e8932a24d3d1 100644 |
--- a/LayoutTests/fast/js/resources/Promise-resolve-in-workers.js |
+++ b/LayoutTests/fast/js/resources/Promise-resolve-in-workers.js |
@@ -11,7 +11,8 @@ var firstPromise = new Promise(function(resolve) { |
var secondPromise = firstPromise.then(function(result) { |
global.thisInFulfillCallback = this; |
- shouldBeTrue('thisInFulfillCallback === secondPromise'); |
+ shouldBeFalse('thisInFulfillCallback === secondPromise'); |
+ shouldBeTrue('thisInFulfillCallback === global'); |
global.result = result; |
shouldBeEqualToString('result', 'hello'); |
finishJSTest(); |