rem: var focusedWindow = document.commandDispatcher.focusedWindow; if (isContentFrame(focusedWindow)) { gFocusedURL = Components.lookupMethod(focusedWindow, 'location').call(focusedWindow).href; 
add: var focusedWindow = new XPCNativeWrapper(document.commandDispatcher.focusedWindow, "top", "document", "location"); if (focusedWindow.top == window.content) { gFocusedURL = focusedWindow.location.href; 
context: function contentAreaFrameFocus(){  var focusedWindow = document.commandDispatcher.focusedWindow;  if (isContentFrame(focusedWindow)) {    gFocusedURL = Components.lookupMethod(focusedWindow, 'location').call(focusedWindow).href;    gFocusedDocument = focusedWindow.document;  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/b560561599dd9201667ca4051fdbc733279ff95d/navigator.js/clean/xpfe/browser/resources/content/navigator.js