Open Bug 2037074 Opened 2 months ago Updated 2 months ago

Handle Geolocation permission on parent process

Categories

(Core :: DOM: Geolocation, task)

task

Tracking

()

People

(Reporter: saschanaz, Unassigned)

Details

Attachments

(1 obsolete file)

The current permission story of geolocation is deeply sad:

  1. The content process pings the parent process for the initial browser-level permission prompt
  2. The parent process pings back
  3. If it's granted, the content process pings the parent again for the system-level permission prompt
  4. The parent process pings back
  5. If it's also granted, the content process pings the parent again for the geolocation request
  6. The parent process pings back with the geolocation data

The ideal way is:

  1. The content process pings the parent process for the geolocation request
  2. The parent process figures out the permission story (and opens permission prompt if needed), and ping back with the result
Attachment #9583344 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: