michael@0: /* Any copyright is dedicated to the Public Domain. michael@0: * http://creativecommons.org/publicdomain/zero/1.0/ */ michael@0: michael@0: function test() { michael@0: waitForExplicitFinish(); michael@0: michael@0: showTabView(function () { michael@0: let cw = TabView.getContentWindow(); michael@0: let target = cw.GroupItems.groupItems[0].container; michael@0: EventUtils.sendMouseEvent({type: "dblclick", button: 0}, target, cw); michael@0: is(cw.GroupItems.groupItems.length, 1, "one groupItem after double clicking"); michael@0: michael@0: hideTabView(finish); michael@0: }); michael@0: }