Closed Bug 92337 Opened 24 years ago Closed 24 years ago

Uncaught exception when adding an attribute to a select object.

Categories

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

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: bmay, Assigned: jst)

Details

Attachments

(1 file)

The following html and javascript raises the following reproducible error in the javascript console: Error: uncaught exception: [Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://maylinux.dhcp:8080/main/brokenjs.html :: <TOP_LEVEL> :: line 14" data: no] <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <title>Broken JavaScript</title> </head> <body> <h1>Broken JavaScript</h1> <form name="testform"> <select name="testselect"> </select> </form> <script> document.testform.testselect['testattribute'] = 'testvalue'; </script> </body> </html> I am running Win2000. Heres the info from about: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010628 I'm trying to store an object that controls the state of the select in the select itself.
Assignee: rogerl → jst
Component: Javascript Engine → DOM Level 0
QA Contact: pschwartau → desale
Browser, not engine --> DOM Level 0
Attached file HTML testcase
Using Mozilla trunk and branch builds 20010721xx on WinNT. Resolving as WORKSFORME. I get no errors in the JavaScript Console, and the testcase successfully creates the property, writes to it, and reads it back - bmay@mathworks.com: could you try a more recent build and see if the problem has gone away for you, too? If so, you can mark this bug "Verified". If not, you can reopen it - thanks.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Tried this on Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2+) Gecko/20010725 and it works great. Thanks.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: