Bug 1068540 - [camera] Recording stopped by power key is saved, but not reflected in Camera/Video/Gallery apps

You can use ES6 fat-arrow function instead of assign the 'self':

    () => { this.kill() }

Is equal to and better than:

    (function() { this.kill() }).bind(this)

Is equal to and better than:

    var self = this; function() { self.kill() }

Please use 1. if the file is checked by jshint; use 2. if the file is checked by gjslint. I think 3. should be a deprecated pattern.