Index: LayoutTests/fast/js/resources/Promise-init-in-workers.js |
diff --git a/LayoutTests/fast/js/resources/Promise-init-in-workers.js b/LayoutTests/fast/js/resources/Promise-init-in-workers.js |
index e5962790255dd767dc5e184ece1f5ef469910335..3b8c94313e23e3739dd1b3e71938c9d26e3cf321 100644 |
--- a/LayoutTests/fast/js/resources/Promise-init-in-workers.js |
+++ b/LayoutTests/fast/js/resources/Promise-init-in-workers.js |
@@ -15,7 +15,8 @@ var promise = new Promise(function(newResolve, newReject) { |
shouldBeTrue('promise instanceof Promise'); |
shouldBe('promise.constructor', 'Promise'); |
-shouldBe('thisInInit', 'promise'); |
+shouldBeFalse('thisInInit === promise'); |
+shouldBeTrue('thisInInit === global'); |
shouldBeTrue('resolve instanceof Function'); |
shouldBeTrue('reject instanceof Function'); |