Closed Bug 774580 Opened 13 years ago Closed 13 years ago

Send the Geolocation status to web content

Categories

(Firefox OS Graveyard :: General, defect)

defect
Not set
normal

Tracking

(blocking-basecamp:+)

RESOLVED FIXED
blocking-basecamp +

People

(Reporter: timdream, Assigned: fabrice)

Details

Attachments

(1 file)

https://github.com/mozilla-b2g/gaia/issues/2335 The lastest status bar spec specified a "Geolocation" that need to be shown when there is an app is currently using Geolocation. We have permission prompt that go through System app (broken right now), but that's far from enough to get the current status of the Geolocation API. Need a solution in Gecko for this. == Note: it has been suggested that shell.js can do something to redirect the "geolocation-device-events" from the nsIObserverService. That might be the solution.
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TW) from comment #0) > Note: it has been suggested that shell.js can do something to redirect the > "geolocation-device-events" from the nsIObserverService. That might be the > solution. That works. We can relay that with our beloved mozChromeEvent.
OS: Mac OS X → All
Hardware: x86 → All
Summary: Unable to probe the status of Geolocation → Send the Geolocation status to web content
blocking-basecamp: --- → ?
blocking-basecamp: ? → +
Attached patch PatchSplinter Review
Works with the gaia pull request https://github.com/mozilla-b2g/gaia/pull/2795 http://html5demos.com/geo/ is a good test page.
Assignee: nobody → fabrice
Attachment #645744 - Flags: review?(21)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: