bug 871931 support non-tab browsers in usermedia/camera toolbarbutton, r=dao