Created attachment 370177
mozilla-geoclue-for-location-3.patch
Ready for a first round of review. Note that you need to "rm dist/bin/components/TestGeolocationProvider.js" if you want to test this, otherwise you'll be in SF.
I couldn't get geoclue to report anything interesting to me I'm afraid, though Gypsy (the GPS daemon) itself did work.
If you want the code to be made run-time loadable before merging, please point me to the nspr way of doing this, otherwise I'll use GModule.
Created attachment 370177 geoclue- for-location- 3.patch
mozilla-
Ready for a first round of review. Note that you need to "rm dist/bin/ components/ TestGeolocation Provider. js" if you want to test this, otherwise you'll be in SF.
I couldn't get geoclue to report anything interesting to me I'm afraid, though Gypsy (the GPS daemon) itself did work.
If you want the code to be made run-time loadable before merging, please point me to the nspr way of doing this, otherwise I'll use GModule.