#11539 closed bug (fixed)
Core: safeBlur breaks in IE11
Reported by: | Jörn Zaefferer | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | git |
Component: | ui.core | Version: | git (not yet released) |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
This is a regression from a recent change ( https://github.com/jquery/jquery-ui/commit/f33027840cdac5152599da66635981bbe68c6bda ), causing three test suites to fail in IE11. From a recent build:
- Dialog: http://swarm.jquery.org/result/81652
- Draggable: http://swarm.jquery.org/result/80673
- Droppable: http://swarm.jquery.org/result/80668
The error is the same for each:
Unable to get property 'toLowerCase' of undefined or null reference
Source: https://github.com/jquery/jquery-ui/blob/8bcd363ae640bbefc28b720c1ab58b7992ea7044/ui/core.js#L74
Only dialog and draggable use safeBlur. Can't yet tell why element
is defined, but element.nodeName
isn't.
Change History (10)
comment:1 Changed 6 years ago by
comment:2 Changed 6 years ago by
Probably related to the iframe TestSwarm uses. There the error is showing up pretty consistently over multiple builds.
comment:3 Changed 6 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Core: Handle IE11 bug with document.activeElement in iframes
Fixes #11539 Closes gh-1518
Changeset: 76c27556f48bea48d3787c241d35e190d46c3245
comment:4 Changed 6 years ago by
Milestone: | none → git |
---|
comment:5 Changed 6 years ago by
I spent a while trying to reduce this as much as I could, but I gave up after a while. Here's what I came up with: http://jsbin.com/fejituname/1/. It still has a dependency on jQuery Core, but it reliably reproduces the bug.
comment:8 Changed 6 years ago by
I don't see an alert in either real Win8.1+IE11 on Windows or on Win7+IE11 Browserstack.
Did I mention I hate focus?
comment:9 Changed 6 years ago by
That's because of the new live preview time limit in jsbin :-/ It loads the editor instead of the actual page now.
comment:10 Changed 6 years ago by
http://jsbin.com/towote/1 is a new clone of the bin with a registered account, so it should work forever.
I can't reproduce the failures even when using the TestSwarm URLs.