Fixed issue #4390 for FF

Fixed issue #4390 for FF. Test case input is updated to cover FF fix.
Merge branch 'upstream4' of https://github.com/alex-savchuk/selenium into upstream4