Closed Bug 1270369 Opened 5 years ago Closed 5 years ago

HTMLFormElement's named properties should not be enumerable

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox49 --- wontfix
firefox51 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(1 file)

See https://www.w3.org/Bugs/Public/show_bug.cgi?id=22320

We currently claim they are, but GetSupportedNames doesn't actually return them so in practice they're not enumerable in terms of showing up in for-in iteration...
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #8786590 - Flags: review?(bkelly) → review+
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/dffe2b6beaaa
HTMLFormElemement should have unenumerable named properties per spec.  r=bkelly
https://hg.mozilla.org/mozilla-central/rev/dffe2b6beaaa
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Looks like nothing has changed here as per comment 0 and my quick test. Removing the keywords.
> Looks like nothing has changed here 

Things have changed, but they're pretty subtle.  Basically what's changed is the return value of Object.getOwnPropertyDescriptor.
You need to log in before you can comment on or make changes to this bug.