As of the official mozilla docs, a toolbarbutton only needs a type, if it's a checkbox, menu or radio button.There isn't even a value x
 It shouldn't be able to get the checked attribute, without being a checkbox-type button, however it doesn't seem to care"button" for the type attribute.