Closed Bug 318118 Opened 19 years ago Closed 18 years ago

Permission denied to get property XULElement.selectedIndex when calling method nsIAutoCompletePopup::selectedIndex

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 236791

People

(Reporter: morpheus, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7

Calling the window.alert or window.confirm methods within a function that is assigned to the onsubmit event handler for a form causes this error every time.  The confirm or alert dialog box displays briefly and then disappears.  Apparently, the confirm function returns a value of true when this happens.


Reproducible: Always

Steps to Reproduce:
1. Use window.alert or window.confirm within a function that is assigned to the onsubmit event handler for a form.
2. Submit form.

Actual Results:  
The pop up window displays briefly and then disappears.  In the case of confirm, the function returns a value of true.

Expected Results:  
The confirm and alert pop up windows should behave normally.
Related to bug 302873/bug 237396 -> bug 236791?

*** This bug has been marked as a duplicate of 236791 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.