- Notifications
You must be signed in to change notification settings - Fork20.6k
Commit15750b0
authored
Selector: Use shallow document comparisons in uniqueSort
IE/Edge sometimes crash when comparing documents between frames using the strictequality operator (`===` & `!==`). Funnily enough, shallow comparisons(`==` & `!=`) work without crashing.The change to shallow comparisons in `src/selector.js` was done ingh-4471 butrelevant changes in `src/selector/uniqueSort.js` were missed. Those changeshave landed in Sizzle injquery/sizzle#459.Fixesgh-4441Closesgh-4512Refgh-4471Refjquery/sizzle#4591 parentf09d921 commit15750b0
1 file changed
+16
-3
lines changedLines changed: 16 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 |
| - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
28 | 32 |
| |
29 | 33 |
| |
30 | 34 |
| |
| |||
34 | 38 |
| |
35 | 39 |
| |
36 | 40 |
| |
37 |
| - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
38 | 46 |
| |
39 | 47 |
| |
40 | 48 |
| |
41 |
| - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
42 | 55 |
| |
43 | 56 |
| |
44 | 57 |
| |
|
0 commit comments
Comments
(0)