Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTMLCollection property names shouldn't be enumerable #9315

Closed
frewsxcv opened this issue Jan 14, 2016 · 3 comments
Closed

HTMLCollection property names shouldn't be enumerable #9315

frewsxcv opened this issue Jan 14, 2016 · 3 comments
Labels

Comments

@frewsxcv
Copy link
Member

@frewsxcv frewsxcv commented Jan 14, 2016

<form id="form1" action=""></form>

<script>
var result = [];
for (var p in document.forms) {
  result.push(p);
}
console.log(result);
</script>

Expected output:

0,item,namedItem,length

Actual output:

0,form1,item,namedItem,length

I think this is blocked on #4043

@nox
Copy link
Member

@nox nox commented Jan 14, 2016

@frewsxcv
Copy link
Member Author

@frewsxcv frewsxcv commented Jan 14, 2016

@jdm
Copy link
Member

@jdm jdm commented Apr 22, 2016

Fixed by #9067.

@jdm jdm closed this Apr 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.