diff -r 000000000000 -r 6474c204b198 browser/components/tabview/test/browser_tabview_bug613541.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/browser/components/tabview/test/browser_tabview_bug613541.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,288 @@ +/* Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ */ + +function test() { + let cw; + let win; + let currentTest; + + let getGroupItem = function (index) { + return cw.GroupItems.groupItems[index]; + } + + let createGroupItem = function (numTabs) { + let bounds = new cw.Rect(20, 20, 200, 200); + let groupItem = new cw.GroupItem([], {bounds: bounds, immediately: true}); + cw.UI.setActive(groupItem); + + for (let i=0; i