Replace nonstandard for-each-in loop with for-of
Replace nonstandard for-each-in loop with for-of

Lightbeam is broken in Firefox Nightly 53 because Nightly no longer
supports the nonstandard for-each-in loops. See
https://bugzil.la/1293305.

mozilla/lightbeam,mozilla/lightbeam,mozilla/lightbeam