wiki: https://wiki.mozilla.org/WebAPI/WidgetAPI