Closed
Bug 405104
Opened 17 years ago
Closed 17 years ago
"Error: theDocument is not defined" and other js errors in pageInfo
Categories
(SeaMonkey :: Page Info, defect)
SeaMonkey
Page Info
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: philip.chee, Assigned: philip.chee)
References
Details
Attachments
(1 file)
3.58 KB,
patch
|
db48x
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
Error: theDocument is not defined
Source file: chrome://navigator/content/pageinfo/pageInfo.js
Line: 651
From:
<https://bugzilla.mozilla.org/attachment.cgi?id=281812>
-// mmm, yummy. global variables.
-var theWindow = null;
-var theDocument = null;
[...]
+// mmm, yummy. global variables.
+var gWindow = null;
+var gDocument = null;
Should use gDocument instead.
![]() |
Assignee | |
Comment 2•17 years ago
|
||
Taking bug and morphing it slightly to cover other js errors.
Error: theDocument is not defined
Source file: chrome://navigator/content/pageinfo/pageInfo.js
Line: 648
Error: window.arguments is undefined
Source file: chrome://communicator/content/wallet/SignonViewer.js
Line: 69
Assignee: db48x → philip.chee
Summary: "Error: theDocument is not defined" when the media tab is selected → "Error: theDocument is not defined" and other js errors in pageInfo
![]() |
Assignee | |
Comment 3•17 years ago
|
||
This patch makes the two js errors that crop up in the pageInfo window go away.
Attachment #294480 -
Flags: superreview?(neil)
Attachment #294480 -
Flags: review?
![]() |
Assignee | |
Updated•17 years ago
|
Attachment #294480 -
Flags: review? → review?(db48x)
Comment 4•17 years ago
|
||
Comment on attachment 294480 [details] [diff] [review]
Patch v1.0
Thank you Philip, I really appreciate it
r=db48x
Attachment #294480 -
Flags: review?(db48x) → review+
Updated•17 years ago
|
Attachment #294480 -
Flags: superreview?(neil) → superreview+
![]() |
Assignee | |
Updated•17 years ago
|
Keywords: checkin-needed
Comment 5•17 years ago
|
||
Checking in suite/browser/pageinfo/pageInfo.js;
/cvsroot/mozilla/suite/browser/pageinfo/pageInfo.js,v <-- pageInfo.js
new revision: 1.6; previous revision: 1.5
done
Checking in suite/browser/pageinfo/security.js;
/cvsroot/mozilla/suite/browser/pageinfo/security.js,v <-- security.js
new revision: 1.3; previous revision: 1.2
done
You need to log in
before you can comment on or make changes to this bug.
Description
•