Closed Bug 308507 Opened 19 years ago Closed 19 years ago

XUL Javascript error when focusing entryfield than button

Categories

(Firefox :: Address Bar, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 236791

People

(Reporter: mkaply, Unassigned)

Details

Attachments

(1 file)

This is a strange one.

When doing a certain order of focus events in a form, you get a Javascript error
about XUL on the console.

Testcase attached.
Attached file Testcase
Load testcase and notice the console.

You might have to shift reload to see it.

Error is:

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 ::
http://www.kaply.com/work/xulerr.html :: <TOP_LEVEL> :: line 6"  data: no]
Source File: http://www.kaply.com/work/xulerr.html
Line: 6
make that Ctrl+Shift+Reload.
bug 236791, no?

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

Attachment

General

Created:
Updated:
Size: