rem: if (frame.contentWindow == window) 
add: if (getContentWindow(frame) == window) 
context: function getFrameForDOMWindow(window){    var frame;    for (var i = 0; i < client.deck.childNodes.length; i++)    {        frame = client.deck.childNodes[i];        if (frame.contentWindow == window)            return frame;    }    return undefined;} 
meta: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/377dd328ba12f71ca976ba1a877bf8881dae0beb/static.js/buggy/xul/content/static.js