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
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
*** Bug 777269 has been marked as a duplicate of this bug. ***