Re: [html-media-capture-tests] Created tests for http://www.w3.org/TR/html-media-capture/ (#306)

The use of for..in loop on a NodeList object is not recommended, as it would loop through other properties of the NodeList. See https://developer.mozilla.org/en-US/docs/Web/API/NodeList

A simple for loop should be used instead:
for(var i=0, obj; i<inputs.length, obj=inputs[i]; i++) {

View on GitHub: https://github.com/w3c/web-platform-tests/pull/306#discussion_r10979394

Received on Wednesday, 26 March 2014 14:52:06 UTC