Closed
Bug 272350
Opened 20 years ago
Closed 19 years ago
Permission denied to get property XULElement.selectedIndex
Categories
(Firefox :: General, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 236791
People
(Reporter: keith, Assigned: bugzilla)
References
Details
Attachments
(1 file)
551 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 On a secure page of a db application (I write the html/javascript) this error is reported in JavaScript Console (however it works ok in IE and FireFox): Error: [Exception... "'Permission denied to get property XULElement.selectedIndex' when calling method: [nsIAutoCompletePopup::selectedIndex]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: https://[secure page]:: vPIN :: line 334" data: no] Source File: https://[secure page] Line: 334 ... The line 334 snippet is: <FORM NAME="Client" ACTION="/cgi/bin/mis.cgi" METHOD="POST" > <SCRIPT LANGUAGE="JavaScript"> function vPIN(PIN) { if ( PIN == "" ) { alert("!!! WARNING !!!\nThis client does not belong to a Clinic that has a valid Contract for the Insurance Type.\nOr the Insurance for the client has not been setup.\nUpdates will not be sent until they do."); } return true; } </SCRIPT> <TABLE CLASS="siteheading" >... End snippet The alert comes up fine and the vPIN function is called from an onload. I cannot cut the code out and create a subset with this snippet in it and still reproduce the error. Some of the menu functions/javascript funtions or others may be affecting it. I was hopeing the reference would tell you what's going on? Reproducible: Always Steps to Reproduce: 1. Confidential / secure 2. 3. Actual Results: the details above Expected Results: It works ok.
Comment 2•20 years ago
|
||
Pressing a key while in the form text field generates an onkeypress event handled by the keyHandler(evnt) function. When showing an alert with the event type, an exception is thrown.
Comment 3•20 years ago
|
||
I has the error on this code: <input name="my_name" value="" onFocus="blur();">
Bug 236791 mentions that the error is also caused by an alert() so I'm marking this bug as a duplicate of that one. *** This bug has been marked as a duplicate of 236791 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•