assertEquals("after setting active item to third image, third image should be activedescendent", thirdImageId, lbRoot.getAttribute("aaa:activedescendent")); 
assertEquals("after setting active item to third image, third image should be activedescendent", thirdImageId, MochiKit.DOM.getNodeAttribute (lbRoot, "aaa:activedescendent")); 
function testUpdateActiveDescendent() {	var lightbox = createLightbox();	lbRoot = dojo.byId(lightboxRootId);	assertFalse("before first lightbox focus, no item should be activedescendent", lbRoot.hasAttribute("aaa:activedescendent"));	lightbox.domNode.focus();	assertEquals("after first lightbox focus, first image should be activedescendent", firstImageId, lbRoot.getAttribute("aaa:activedescendent"));		lightbox.activeItem = dojo.byId(thirdImageId);	lightbox._updateActiveDescendent();	assertEquals("after setting active item to third image, third image should be activedescendent", thirdImageId, lbRoot.getAttribute("aaa:activedescendent"));	lightbox.domNode.blur();	lightbox._updateActiveDescendent();	assertEquals("after removing focus from lightbox, third image should still be activedescendent", thirdImageId, lbRoot.getAttribute("aaa:activedescendent"));	lightbox.activeItem = null;	lightbox._updateActiveDescendent();	assertFalse("after unsetting active item, no item should be activedescendent", lbRoot.hasAttribute("aaa:activedescendent"));}
6971	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6971/bdf18e0417dd2581e1dda6bc2926fb76e5787fb9/LightboxTests.js/buggy/src/webapp/component-templates/test/tests/LightboxTests.js