browser/components/tabview/test/browser_tabview_bug728887.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:8bfdec7fbf3e
1 /* Any copyright is dedicated to the Public Domain.
2 * http://creativecommons.org/publicdomain/zero/1.0/ */
3
4 function test() {
5 waitForExplicitFinish();
6
7 showTabView(function () {
8 let cw = TabView.getContentWindow();
9 let target = cw.GroupItems.groupItems[0].container;
10 EventUtils.sendMouseEvent({type: "dblclick", button: 0}, target, cw);
11 is(cw.GroupItems.groupItems.length, 1, "one groupItem after double clicking");
12
13 hideTabView(finish);
14 });
15 }

mercurial