Hi,

I'm trying to give bluetooth permission to every process in b2g. So far I have 
it working for all installed processes by removing all certified checks in the 
IDL files and changing PermissonsTable. This also allows me to access 
navigator.mozBluetooth in the browser, but... it crashes the process straight 
away. This is due to the process not having the bluetooth permission and thus 
not granted access to bluetooth group or something.

I gave search app in gaia permission to bluetooth and now I can access 
bluetooth from the overview page (with top sites). However, when I click on a 
link it doesn't work anymore. I saw that the process ID of the browser changes 
when you go to a page so I assume it has something to do with that.

Because it's not an installed app it doesn't go through the normal permissions 
manager stuff, and thus I can't just add it magically.

Now I'm wondering how I can make a tab have bluetooth permission anyway (or 
maybe just skip the process switching when going to another tab or something). 
I don't care about security as it's for a demo.

Any help will be rewarded with the instant feel of gratification that we'll 
have a WebBluetooth in the browser demo earlier than the Googles!
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to