Skip to content

Hung in IE8 with jQuery 1.8 #140

@pisi

Description

@pisi

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().

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions