It appears something has changed in how $.unique() works and it now fails (or endlessly loops to be precise) with multiple documents. It is filed as a potential bug of jQuery 1.8.
These two lines causes IE8 to hang big time:
try{ pools= $.unique(pool.add(window.top.document)) }
Put aside the in my opinion correct expectation for jQuery to be able to decide whether two document objects are unique or not (afterall jQuery works just fine with document, right?), I'm thinking about making the comparison myself to work around this:
try{ if (pool[0] != top.document) pools= pool.add(top.document) }
It should have the exact same effect without the need for $.unique().
It appears something has changed in how
$.unique()works and it now fails (or endlessly loops to be precise) with multipledocuments. It is filed as a potential bug of jQuery 1.8.These two lines causes IE8 to hang big time:
Put aside the in my opinion correct expectation for jQuery to be able to decide whether two
documentobjects are unique or not (afterall jQuery works just fine withdocument, right?), I'm thinking about making the comparison myself to work around this:It should have the exact same effect without the need for
$.unique().