Bug 983193 - ui/button: passing a button into button.state() is broken in master
- Fixed regression
- Added tests
Merge pull request #1431 from ZER0/button-state/983193

fix Bug 983193 - ui/button: passing a button into button.state() is broken in master r=@gozala