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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: philip.chee, Assigned: philip.chee)

References

Details

Attachments

(1 file)

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.
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
Attached patch Patch v1.0Splinter Review
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?
Attachment #294480 - Flags: review? → review?(db48x)
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+
Attachment #294480 - Flags: superreview?(neil) → superreview+
Keywords: checkin-needed
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
Status: NEW → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: