Since devicedisappeared event is pretty simple, it is generated by event generator (Bug778640). In order to keep consistency and increase readability, we'd like to clean up the rest of bluetooth events, like BluetoothDeviceEvent for devicefound.
Also for this, if the event is for b2g only, better to generate it in b2g builds only https://bugzilla.mozilla.org/show_bug.cgi?id=778640&mark=26#c26
Created attachment 653250 [details] [diff] [review] v1: Create devicefound event with event generator
Created attachment 653626 [details] [diff] [review] Final version: Create devicefound event with event generator, r=qdot