Bug 974159 - debugger-controller.js should use ES6 iterators instead of old style iterators; r=past