Skip to content

Conversation

@mgol
Copy link
Member

@mgol mgol commented Oct 14, 2019

Summary

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

The change to shallow comparisons in src/selector.js was done in gh-4471 but
relevant changes in src/selector/uniqueSort.js were missed. Those changes
have landed in Sizzle in jquery/sizzle#459.

+1 byte

Fixes gh-4441
Ref gh-4471
Ref jquery/sizzle#459

Checklist

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

The change to shallow comparisons in `src/selector.js` was done in jquerygh-4471 but
relevant changes in `src/selector/uniqueSort.js` were missed. Those changes
have landed in Sizzle in jquery/sizzle#459.

Fixes jquerygh-4441
Closes jquerygh-4471
Ref jquery/sizzle#459
@mgol mgol added this to the 4.0.0 milestone Oct 14, 2019
@mgol mgol self-assigned this Oct 14, 2019
@mgol mgol merged commit 15750b0 into jquery:master Oct 21, 2019
@mgol mgol deleted the doc-shallow-compare-followup branch October 21, 2019 17:04
@mgol mgol removed the Needs review label Oct 21, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Apr 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

IE & Edge crash with "Permission denied" on the contents() for <frame /> test

2 participants