diff --git a/extensions/help/resources/content/help.js b/extensions/help/resources/content/help.js
index d4fd016371e2..c436fb0dad94 100644
--- a/extensions/help/resources/content/help.js
+++ b/extensions/help/resources/content/help.js
@@ -457,7 +457,8 @@ function BrowserReloadWithFlags(reloadFlags)
catch(ex) {
}
}
-
+
+ // doc=null for regular page info, doc=owner document for frame info
function BrowserPageInfo(doc)
{
window.openDialog("chrome://navigator/content/pageInfo.xul",
diff --git a/xpfe/browser/resources/content/navigator.js b/xpfe/browser/resources/content/navigator.js
index e3a321fe7f3b..810d36a69252 100644
--- a/xpfe/browser/resources/content/navigator.js
+++ b/xpfe/browser/resources/content/navigator.js
@@ -1057,7 +1057,7 @@ function BrowserViewSourceOfURL(url, charset)
url, charset);
}
-// doc=owner document.
+// doc=null for regular page info, doc=owner document for frame info.
function BrowserPageInfo(doc)
{
window.openDialog("chrome://navigator/content/pageInfo.xul",
diff --git a/xpfe/browser/resources/content/navigatorOverlay.xul b/xpfe/browser/resources/content/navigatorOverlay.xul
index b3f44be285f5..369c1bf497aa 100644
--- a/xpfe/browser/resources/content/navigatorOverlay.xul
+++ b/xpfe/browser/resources/content/navigatorOverlay.xul
@@ -134,7 +134,7 @@
-
+
diff --git a/xpfe/communicator/resources/content/nsContextMenu.js b/xpfe/communicator/resources/content/nsContextMenu.js
index 631961c1fe43..02d27f829a6c 100644
--- a/xpfe/communicator/resources/content/nsContextMenu.js
+++ b/xpfe/communicator/resources/content/nsContextMenu.js
@@ -473,7 +473,7 @@ nsContextMenu.prototype = {
"charset=" + this.target.ownerDocument.characterSet);
},
viewInfo : function () {
- BrowserPageInfo(this.target.ownerDocument);
+ BrowserPageInfo();
},
viewFrameInfo : function () {
BrowserPageInfo(this.target.ownerDocument);