jasmine.MenuBar updateDefaultMenu marks first visible and enabled menu that has the "defaultMenu" flag set as default menu (from jasmine.specs)