aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/unit/widget/widget_core.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/unit/widget/widget_core.js b/tests/unit/widget/widget_core.js
index 6b5cdeaa3..feafca942 100644
--- a/tests/unit/widget/widget_core.js
+++ b/tests/unit/widget/widget_core.js
@@ -268,7 +268,10 @@ test( "._getCreateOptions()", function() {
option3: "value3"
},
_getCreateOptions: function() {
- strictEqual( this.window[ 0 ], window, "this.window is properly defined" );
+
+ // Support: IE8
+ // Strict equality fails when comparing this.window in ie8
+ equal( this.window[ 0 ], window, "this.window is properly defined" );
strictEqual( this.document[ 0 ], document, "this.document is properly defined" );
return {