Permission denied for <> to call method XULControllers.getControllerForCommand




10 years ago
8 years ago


(Reporter: polonus, Unassigned)


Firefox Tracking Flags

(Not tracked)


(Whiteboard: [CLOSEME 2010-11-01], URL)



10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1a2pre) Gecko/2008080403 Minefield/3.1a2pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1a2pre) Gecko/2008080403 Minefield/3.1a2pre ID:2008080403

Happening in XPCSafeJSObjectWrapper.cpp as a re-occuring click event

Reproducible: Always

Steps to Reproduce:
1.Go to for instance: 
2.Open the error console
Actual Results:  
Just perform a search, open up, no exempts.

Expected Results:  
Not give the error, it could be extension/add-on dependant - I have the following extensions running inside Minefield (some enforced) Adblock Plus
Adblock Plus: Element Hiding Helper 1.0.5
Content Preferences 0.1
Crash Me Now! 0.1
Distrust 0.7.1
Dr.Web anti-virus link checker 1.0.15
Finjan Secure Browsing 1.314
Firekeeper 0.3.1
gTranslate 0.3.1
Header Spy 1.2.2
Java Quick Starter 1.0
Live HTTP headers 0.14
Locationbar² 1.0.3
Nightly Tester Tools 2.0.2
NoScript 1.7.7
Redirect Remover 2.5.5
Thinger 1.0
VeriSign EV Green Bar Extension
Web Developer 1.1.5

Found this error also mentioned in MozillaZine - no bug info there,
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1a2pre) Gecko/2008080403 Minefield/3.1a2pre

Works for me.

Comment 3

10 years ago
It is a minor bug, because it is only concerning the errors appearing in the error console, and does not affect the workings of the browser as far as I can establish, could be a security feature as well because it prevents cross domain regression. I have Redirect Remover add-on installed (enforced through the Nightly Tester Tools) on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1a2pre) Gecko/2008080504 Minefield/3.1a2pre ID:2008080504 now. 
But it is intriguing to come to know the cause of the error messages. Can anyone shed any light or point me in the right direction? Thanks.

Permission denied to for <> to call method XULControllers.getControllerForCommand 

It must be calling to something non-existent there, or tackling the bug may
smooth the code out further,

Line: 445 

Comment 4

10 years ago
Meant to say that the error is in XPCSafeJSObjectWrapper.cpp on Line: 445


Comment 5

10 years ago
Condider from JProf Profile Report (experimental):
98970   0        1 nsXULControllers::~nsXULControllers()
                  1 nsXULControllers::DeleteControllers()

                  1 nsTextFrame::GetSelectionStatus(nsPresContext*, short&)
 88157   1        1 nsTextControlFrame::QueryInterface(nsID const&, void**)

                  1 imgRequest::OnStopRequest(nsIRequest*, nsISupports*, unsigned int)
 81959   0        1 nsPNGDecoder::Close()
                  1 MOZ_PNG_dest_read_str

You're probably wasting your time on extension bugs. When I open the console I see a lot of errors too, all caused by extensions. I can reproduce none of them with a new profile.

Comment 7

10 years ago
Thanks for your comment, very welcome, and well you know, you are more than probably right. It cannot be reproduced with a new profile. I can state that from my other account where I also have a similar Minefield running with another profile on the same machine, XP SP3.
The bonus for spending time on it could be that the error occurred in the same place as for bug # 396502 - a core XPConnect TRUNK bug -, and I hope that this hick-up or extension related bug can somehow help to better resolve that one, so I am not going to invest more time into it, and leave it here for those that like to take it into consideration for reference reasons,

This is a mass search for bugs which are in the Firefox General component, are
UNCO, have not been changed for 500 days and have an unspecified version. 

Reporter, can you please update to Firefox 3.6.10 or later, create a fresh profile,, and test again. If you still see the issue, please update this bug. If the issue is gone, please set the status to RESOLVED > WORKSFORME.
Whiteboard: [CLOSEME 2010-11-01]
No reply from reporter, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new profile ( If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Last Resolved: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.