And the #js lesson of the day is: bean.fire(el, 'click')
doesn’t work in Firefox Nightly, but turns out it’s unnecessary, because HTMLElement.click()
does exactly the same thing and already works cross-browser. Always use the browser-native APIs if you can.