Closed Bug 86429 Opened 23 years ago Closed 23 years ago

[xpcdom] Cannot set custom JS properties on <select> field objects.

Categories

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

x86
All
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: bugzilla, Assigned: jst)

References

Details

Attachments

(1 file)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.1+)
Gecko/20010618
BuildID:    2001061804

Applies to builds post-0.9 (0.9 worked correctly):

It is not possible to set custom properties of an HTML <select> field object, ie. 
document.formName.selectName.customProperty="string";
An uncaught exception error is thrown in the JS console.

Setting custom properties on other types of fields works correctly.

Testcase will be attached.
Attached file testcase
Sounds like an xpcdom problem.... Seeing this on Linux with 2001-06-17-21 as well.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Summary: Cannot set custom JS properties on <select> field objects. → [xpcdom] Cannot set custom JS properties on <select> field objects.
Confirmed on Build 2001061804 win32
javascript console shows:

Error: uncaught exception: [Exception... "Failure"  nsresult: "0x80004005
(NS_ERROR_FAILURE)"  location: "JS frame ::
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=38940 :: validate ::
line 7"  data: no]
*** Bug 86672 has been marked as a duplicate of this bug. ***
Fixed by my DOM array checkin last night.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Verified fixed.  Thanks jst!
Status: RESOLVED → VERIFIED
Component: DOM: HTML → DOM: Core & HTML
QA Contact: stummala → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: