Closed Bug 1270369 Opened 5 years ago Closed 5 years ago
Element's named properties should not be enumerable
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 firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/dffe2b6beaaa HTMLFormElemement should have unenumerable named properties per spec. r=bkelly
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.