W3C home > Mailing lists > Public > www-dom-ts@w3.org > April 2002

Re: jsUnit 1.3.0 alpha

From: Robert Clary <bclary@netscape.com>
Date: Wed, 24 Apr 2002 15:47:14 -0400
Message-ID: <3CC70BC2.4030202@netscape.com>
To: Philippe Le Hegaret <plh@w3.org>
CC: www-dom-ts@w3.org, edward@jsunit.net


Philippe Le Hegaret wrote:

> 
> I tried jsUnit 1.3.0 alpha with Mozilla RC1 and it reports an error
> unless I comment the following line in my prefs.js:
> 
> user_pref("capability.policy.default.Window.status", "noAccess");
> 
> "Error: uncaught exception: Permission denied to set property
> Window.status"

You have set some of the privacy preferences which prevent web sites 
from doing things you do not like. That particular preference prevents a 
script from setting the window.status which jsUnit uses at least in the 
preTest completion polling.

If this is a problem we could potentially remove attempting to set the 
status bar text. However note that Mozilla will also allow you to set 
other preferences which would likely cause the jsUnit or other tests to 
fail. In particular, the preference for blocking opening windows by 
onload handlers might cause problems. I believe the best approach is 
just to make sure that Mozilla users know how these preferences might 
affect their ability to run the tests.

Bob
Received on Wednesday, 24 April 2002 16:16:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:58:46 GMT