data: function( elem, name, data ) {
if ( !jQuery.acceptData( elem ) ) {
return;
}
elem = elem == window ? windowData : elem;
C
See here for why checking againts the window object with ===
is unsafe in IE.
I think the root cause is that IE is closely coupled with the Windows OS so you have various OS objects referenced through window
and the equality check just dies. That and it just doesn't handled the global host
object correctly.