j-ulrich / jquery-simulate-ext

jQuery simulate extended
https://j-ulrich.github.io/jquery-simulate-ext/
Other
146 stars 48 forks source link

TypeError: this._win.getSelection(...) is null -- Firefox 30 #20

Open brian-mann opened 10 years ago

brian-mann commented 10 years ago

I get this error only when I include key-sequence.

It happens in Firefox 30, but does not happen in Chrome.

I get this error using the bundled version of bililiteRange and also the latest version on his repo.

It originates from this line: https://github.com/j-ulrich/jquery-simulate-ext/blob/master/src/jquery.simulate.key-sequence.js#L115

This method appears to be the culprit: https://github.com/dwachss/bililiteRange/blob/master/bililiteRange.js#L515

brian-mann commented 10 years ago

Did you ever have a chance to take a look at this? I'm looking at integrating this into an open source testing framework, and thus far this is the only issue I've encountered.

j-ulrich commented 10 years ago

Sorry, I didn't have time to look into this yet. Did you check whether this happens in other versions of Firefox as well? I have seen bugs appearing in some browser version and disappearing in later versions once in a while.

j-ulrich commented 10 years ago

See also dwachss/bililiteRange#4

yolpsoftware commented 1 year ago

Is there a solution?