Closed Bug 1339154 Opened 8 years ago Closed 8 years ago

Calling setSelectionRange on number input throws InvalidStateError in FF 51.0.1

Categories

(Firefox :: Untriaged, defect)

51 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1333737

People

(Reporter: mick, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Steps to reproduce: HTML: <input type='number' id='number' value='123' /> JS: number.setSelectionRange(1,1); Results in error: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable JSBin: http://jsbin.com/dikizosube/1/edit?html,js,console,output Actual results: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable Expected results: No error
Well, it looks like this might be related to: https://bugzilla.mozilla.org/show_bug.cgi?id=1333737
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.