<!-- Feature Requests: Please read https://github.com/jquery/jquery/wiki/Adding-new-features Most features should start as plugins outside of jQuery. Bug Reports: Note that we only can fix bugs in the latest version of jQuery. Briefly describe the issue you've encountered * What do you expect to happen? * What actually happens? * Which browsers are affected? Provide a *minimal* test case, see https://webkit.org/test-case-reduction/ Use the latest shipping version of jQuery in your test case! We prefer test cases on JS Bin (https://jsbin.com/qawicop/edit?html,css,js,output) or CodePen (https://codepen.io/mgol/pen/wNWJbZ) Frequently Reported Issues: * Selectors with '#' break: See https://github.com/jquery/jquery/issues/2824 --> ### Description ### IE 11 as well as Edge (even 17-18) often crash on the [`traversing: contents() for <frame />`](https://github.com/jquery/jquery/blob/47835965bd100a3661d8299d8b769ceeb8b6ce48/test/unit/traversing.js#L883-L898) test with the "Permission denied" error. IE crashes way often than Edge. This is probably related to my Sizzle removal PR (#4395) but I wasn't able to pinpoint the exact reason so far. The error points to [line `174` in `src/selector.js`](https://github.com/jquery/jquery/blob/47835965bd100a3661d8299d8b769ceeb8b6ce48/src/selector.js#L174). An example failing run: http://swarm.jquery.org/result/3337866. It's hard to debug as it's clearly a race condition. If I run this test in isolation, it always passes. I think I've seen a similar failure on the `3.4-stable` branch as well but it was happening way less often. We should figure this out before the `4.0.0` release. ### Link to test case ### N/A, it's a core test already in the repo.