Bug 725529. (Av1a) browser_library_infoBox.js: Add a missing |var|. r=(Callek + InvisibleSmiley).
authorSerge Gautherie <sgautherie.bz@free.fr>
Mon, 13 Feb 2012 01:35:32 +0100
changeset 10805 efc0e0fae87cccae54754b741aa11f6c400be95c
parent 10804 3f4c84c0fd6bac952ad9f94aee94fa4f9ef0320f
child 10806 0bba3a536d6ead85c8e8cd2fc998a918d6a8b0c6
push id463
push userbugzilla@standard8.plus.com
push dateTue, 24 Apr 2012 17:34:51 +0000
treeherdercomm-beta@e53588e8f7b0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs725529
Bug 725529. (Av1a) browser_library_infoBox.js: Add a missing |var|. r=(Callek + InvisibleSmiley).
suite/common/places/tests/browser/browser_library_infoBox.js
--- a/suite/common/places/tests/browser/browser_library_infoBox.js
+++ b/suite/common/places/tests/browser/browser_library_infoBox.js
@@ -76,17 +76,17 @@ gTests.push({
     ok(infoBoxExpanderWrapper.hidden,
        "Expander button is hidden for bookmarks menu node.");
     checkAddInfoFieldsCollapsed(PO);
 
     // open recently bookmarked node
     var menuNode = PO._places.selectedNode.
                    QueryInterface(Ci.nsINavHistoryContainerResultNode);
     menuNode.containerOpen = true;
-    childNode = menuNode.getChild(0);
+    var childNode = menuNode.getChild(0);
     isnot(childNode, null, "Bookmarks menu child node exists.");
     var recentlyBookmarkedTitle = PlacesUIUtils.
                                   getString("recentlyBookmarkedTitle");
     isnot(recentlyBookmarkedTitle, null,
           "Correctly got the recently bookmarked title locale string.");
     is(childNode.title, recentlyBookmarkedTitle,
        "Correctly selected recently bookmarked node.");
     PO._places.selectNode(childNode);