Closed Bug 397745 Opened 18 years ago Closed 18 years ago

Permission denied to get property 'XULElement.accessKey' when calling method: [nsIDOMXULLabelElement::accessKey]

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: tech, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4 Build Identifier: Seamonkey 1.1.4 and Firefox 2.0.0.7 When running the javascript code to popup a window, I find this error in jsconsole : Permission denied to get property 'XULElement.accessKey' when calling method: [nsIDOMXULLabelElement::accessKey] the error points this part of code : function PopupCenter(page,width,height,options) { var top=(screen.height-height)/2; var left=(screen.width-width)/2; window.open(page,"page","top="+top+",left="+left+",width="+width+",height="+height+","+options); } Reproducible: Always Steps to Reproduce: 1.click on a link to open a popup window using the code given before 2.everything seems to work 3.look in js console Actual Results: jsconsole shows the error Permission denied to get property 'XULElement.accessKey' when calling method: [nsIDOMXULLabelElement::accessKey] Expected Results: as accesskey isn't a mandatory parameter there shouldn't be any error If this problem isn't critical, it should not appear as an Exception or Error only as a warning or message You'll find a complete thread about this bug here : http://www.webdeveloper.com/forum/showthread.php?t=111889
Component: Error Console → DOM
QA Contact: error-console → general
Is this a regression from something? A minimal testcase (attached to the bug using 'Add an attachment') would be great. Does the error happen on trunk builds? (Something here reminds me about some other bug... so perhaps a duplicate.)
(In reply to comment #1) > Is this a regression from something? A minimal testcase (attached to the bug > using 'Add an attachment') would be great. Does the error happen on trunk > builds? > (Something here reminds me about some other bug... so perhaps a duplicate.) > This bug seems similar to Bug 352545 and 261423 but the problem is that Firebug which seems to be reponsible of the problem doesn't exist for Seamonkey so it isn't installed.
This morning, I was trying to make a testcase for the bug, but now I don't see it anymore under Seamonkey (windows or Linux) as yesterday I updated NoScript to the last release as Giorgio Maone told me in https://bugzilla.mozilla.org/show_bug.cgi?id=376699#c5 So it seems that for Seamonkey this was a noscript bug while for Firefox it might be a firebug bug
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.