Bug 933276 - fix bc1 bustage on a CLOSED TREE; r=test-only

This commit is contained in:
Arpad Borsos 2014-08-24 12:02:11 +02:00
parent 4106c16e12
commit caf4566329

View File

@ -11,7 +11,7 @@ function test() {
let cw = TabView.getContentWindow();
whenAppTabIconAdded(cw.GroupItems.groupItems[0], function() {
let body = cw.document.body;
let [appTabIcon] = cw.iQ(".appTabTray .appTabIcon");
let appTabIcon = cw.iQ(".appTabTray .appTabIcon")[0];
EventUtils.synthesizeMouseAtCenter(appTabIcon, {type: "mousedown"}, cw);
EventUtils.synthesizeMouse(body, 500, 100, {type: "mousemove"}, cw);