Closed Bug 686120 Opened 13 years ago Closed 13 years ago

Setting a negative index on an HTMLCollection throws

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugzilla33, Unassigned)

References

()

Details

Attachments

(1 file)

Attached file HTMLCollection.html
User Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)

Steps to reproduce:

1. Open testcase
2. Click TEST button


Actual results:

throw error


Expected results:

alerts: HTMLBodyElement
like all other modern browsers (IE, Chrome, Safari, Opera, Konqueror)
OS: Windows 7 → All
Hardware: x86 → All
Attachment #559686 - Attachment mime type: text/plain → text/html
Should retest after bug 648801 is fixed.
Depends on: 648801
Summary: Accessibility to HTMLCollection is very poor → Setting a negative index on an HTMLCollection throws
Version: 7 Branch → Trunk
Status: UNCONFIRMED → NEW
Ever confirmed: true
WFM.
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: