Closed Bug 799464 Opened 12 years ago Closed 12 years ago

Make Element.getElementsBy* return HTMLCollection

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla19

People

(Reporter: peterv, Assigned: peterv)

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

Attached patch v1Splinter Review
No description provided.
Attachment #669502 - Flags: review?(bzbarsky)
Comment on attachment 669502 [details] [diff] [review] v1 This changes the !AllocatedData() case to returning null instead of throwing. Why is that desirable? Alternately, can we nix the whole AllocatedData() thing and require infallible construction for funcstringlists? r=me modulo that.
Attachment #669502 - Flags: review?(bzbarsky) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Maybe, but it's only testable via C++; JS-observed behavior shouldn't have changed here. And I'm not sure how much we care about the C++ behavior of these methods. ;)
Keywords: dev-doc-needed
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: