Fixed failing test after the name change to GroupItem(s) (Bug 583414)
authorRaymond Lee <raymond@raysquare.com>
Mon, 09 Aug 2010 15:29:42 +0800
changeset 50278 8a69ff3bd19efd45f8eb4aecfbf1dbb4009d26aa
parent 50277 1b5fa5f60ac505a207600ea544621b93134cbd41
child 50279 8eecd00b77beee0d66c7ff0bdd55d7ab16094d81
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs583414
milestone2.0b4pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Fixed failing test after the name change to GroupItem(s) (Bug 583414)
browser/base/content/test/browser_tabview_dragdrop.js
--- a/browser/base/content/test/browser_tabview_dragdrop.js
+++ b/browser/base/content/test/browser_tabview_dragdrop.js
@@ -41,18 +41,18 @@ function test() {
   window.addEventListener("tabviewhidden", onTabViewHidden, false);
 
   // open tab in group
   groupOne.newTab("");
 }
 
 
 function addTest(contentWindow, groupOneId, groupTwoId) {
-  let groupOne = contentWindow.GroupItems.group(groupOneId);
-  let groupTwo = contentWindow.GroupItems.group(groupTwoId);
+  let groupOne = contentWindow.GroupItems.groupItem(groupOneId);
+  let groupTwo = contentWindow.GroupItems.groupItem(groupTwoId);
   let groupOneTabItemCount = groupOne.getChildren().length;
   let groupTwoTabItemCount = groupTwo.getChildren().length;
   is(groupOneTabItemCount, 1, "GroupItem one has a tab"); 
   is(groupTwoTabItemCount, 1, "GroupItem two has two tabs"); 
   
   let srcElement = groupOne.getChild(0).container;
   ok(srcElement, "The source element exists");