Closed Bug 305826 Opened 19 years ago Closed 19 years ago

error in JS console: "aWindow has no properties"

Categories

(SeaMonkey :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: david.hagood, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20050817 MultiZilla/1.8.1.0f SeaMonkey/1.0a
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20050817 MultiZilla/1.8.1.0f SeaMonkey/1.0a

On pretty much any pageload, I am getting the following error written to the
Javascript console:

Error: [JavaScript Error: "aWindow has no properties" {file:
"file:///opt/mozilla/components/mzContentBlocker.js" line: 336}]
Source File: file:///opt/mozilla/components/mzContentBlocker.js
Line: 336

The offending lines of the file are:

          policy.retValue = (behavior & BEHAVIOR_ALLOW || (behavior &
BEHAVIOR_ALLOW_SAME_DOMAIN)) ? true : false;
        }
      }
      // dump("\n" + contentId + " policy.retValue: " + policy.retValue);
->>>  var aEvent = aWindow.document.createEvent('Events');
      aEvent.initEvent("DOMModalDialogClosed", false, false);
      aWindow.dispatchEvent(aEvent);


Reproducible: Always

Steps to Reproduce:
1. Open the JS console window
2. Visit a web page.


Actual Results:  
The stated error is written to the error log.

Expected Results:  
No error should be generated.
mzContentBlocker.js is a file from Multizilla, report this to the Multizilla
devs and/or make sure you have a current Multizilla version installed.
==>invalid
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.