rem: if (!window._content.frames.length || !isDocumentFrame(document.commandDispatcher.focusedWindow)) 
add: var focusedWindow = document.commandDispatcher.focusedWindow; if (!_content.frames.length || !isDocumentFrame(focusedWindow)) 
context: function getContentAreaFrameCount(){  var saveFrameItem = document.getElementById("savepage");  if (!window._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/f28378fc95b52edbfb29c89faf2ee1177996c268/navigator.js/clean/xpfe/browser/resources/content/navigator.js