MozillaZine

Exception... "Security Manager vetoed action" nsresult: "0x

Discuss how to use and promote Web standards with the Mozilla Gecko engine.
Bob Brunius
 
Posts: 20
Joined: August 19th, 2009, 1:23 pm

Post Posted August 22nd, 2009, 8:32 pm

Error: uncaught exception: [Exception... "Security Manager vetoed action" nsresult: "0x80570027 (NS_ERROR_XPC_SECURITY_MANAGER_VETO)" location: "JS frame :: http://www.esinstrument.com/eventcode.html :: helloWorld :: line 223" data: no]

Firefox 3.5.2 is throwing this error. I haven't been getting any errors in Opera, Safari, or Chrome on this code. There were bugs reported with past versions of Firefox resulting in this error but nothing with this recent version that I can find. The error is non-fatal in that the page functions just fine and the error shows up only now and then as the mouse is moved over the document. Any ideas?

Image

the section of code that it is flagging is:
Code: Select all
   
/* e is the event object */    
for(x in e){
    if(((x.charAt(0) > 'Z')&&(!capsOn)) || ((x.charAt(0) < 'a') && (capsOn))){
       if((e[x] != null) && (typeof e[x] != 'undefinded'))
          temp[y++] = '<span class="Bolding Class" id="spanBlock" style="font-weight:bold">' + x + ':</span> ' + e[x] + '<br>';
     }                    
}


The offending line is:
Code: Select all
temp[y++] = '<span class="Bolding Class" id="spanBlock" style="font-weight:bold">' + x + ':</span> ' + e[x] + '<br>';


I've prequalified the heck out of e[x] in the previous line and the error didn't show up on those references.

Bob Brunius
 
Posts: 20
Joined: August 19th, 2009, 1:23 pm

Post Posted August 24th, 2009, 11:38 pm

Bumpity bump bump

Oh, I have learned that the error occurs when the mouse is drug off screen and back on screen or when the mouse passes over a form input or textarea. Surely someone knows what this is about.

Bob Brunius
 
Posts: 20
Joined: August 19th, 2009, 1:23 pm

Post Posted August 28th, 2009, 3:41 pm

I am still interested about why this error is occurring. I haven't been able to figure it out myself. It does not occur in Safari, Opera or Google Chrome. Only Firefox. I have the latest version. When the error occurs there is a missing mouseover event. It happens every time when mousing over an <input> or <textbox> tag.

phantom22
 
Posts: 1
Joined: February 11th, 2010, 11:51 pm

Post Posted February 11th, 2010, 11:54 pm

if your x and y values are the cursor position, the problem is likely the (y++), which is not only (y+1), but (y=1+1). You can't change cursor coordinates, it's a no-no. try to parseint or similar from the y value into a new variable.

- Jordan

david835
 
Posts: 16
Joined: May 5th, 2014, 6:06 am

Post Posted September 8th, 2019, 1:31 pm

It's 2019 and suddenly I'm getting this on a small JavaScript application. What does it mean? A web search turns up nothing. :-"

LIMPET235
Moderator

User avatar
 
Posts: 38786
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Post Posted September 12th, 2019, 3:23 am

Hi,
Why bump such an old thread?
If you have a problem, please start a new one, stating the problem.
Thank you.

Locking this oldie.
Ancient Amateur Astronomer
Win-7-HP/IntelĀ® DualCore-2.0GHz/500G HDD/4 Gig Ram/550Watt PSU/350WattUPS/Firefox-20.0-62.0/T-bird-2.0.0.24/SnagIt-v10.0.1/MWP-7.12.
(Always choose the "Custom" Install.)

Return to Web Development / Standards Evangelism


Who is online

Users browsing this forum: No registered users and 1 guest