]> source.dussan.org Git - jquery.git/commit
Selector: Use shallow document comparisons to avoid IE/Edge crashes
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Tue, 24 Sep 2019 22:41:07 +0000 (00:41 +0200)
committerGitHub <noreply@github.com>
Tue, 24 Sep 2019 22:41:07 +0000 (00:41 +0200)
commitaa6344baf87145ffc807a527d9c1fb03c96b1948
tree6f00b1b8eb70567f7c97f971fe3e4107660897f1
parentb59107f5d7451ac16a7c8755128719be6ec8bf12
Selector: Use shallow document comparisons to avoid IE/Edge crashes

IE/Edge sometimes crash when comparing documents between frames using the strict
equality operator (`===` & `!==`). Funnily enough, shallow comparisons
(`==` & `!=`) work without crashing.

Fixes gh-4441
Closes gh-4471
src/selector.js