mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Widget: modify this.window test to support IE8 window equality quirk
Comparing this.window with strict equality fails in IE8
This commit is contained in:
parent
392d402d6f
commit
304c00d0e8
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user