rem: if (!content || !content.frames.length || !isDocumentFrame(document.commandDispatcher.focusedWindow)) 
add: if (!content || !content.frames.length || !isContentFrame(document.commandDispatcher.focusedWindow)) 
context: function getContentAreaFrameCount(){  var saveFrameItem = document.getElementById("menu_saveFrame");  if (!content || !content.frames.length || !isDocumentFrame(document.commandDispatcher.focusedWindow))    saveFrameItem.setAttribute("hidden", "true");  else    saveFrameItem.removeAttribute("hidden");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e2fd099ad63880b3da6ec9291f00102bb71e83a8/browser.js/buggy/browser/base/content/browser.js