Permissions tab assumes all consumers use testPermission

RESOLVED FIXED in Firefox 9

Status

()

Firefox
Page Info Window
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: Gavin, Assigned: Margaret)

Tracking

Trunk
Firefox 9
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

... and the geolocation API doesn't.

STR:
1) Go to http://gavinsharp.com/tmp/geo.html
2) Select "Never Share" from the doorhanger dropdown
3) Go to http://www.gavinsharp.com/tmp/geo.html
4) Open page info, go to the "Permissions" tab

Expected: the "Share Location" row should have "Always Ask" selected (the geo prompt did show up after 3)

Actual: the "Share Location" row shows "Block", since it thinks the gavinsharp.com permission applies to www.gavinsharp.com (due to using testPermission)
(Assignee)

Comment 1

6 years ago
Created attachment 558594 [details] [diff] [review]
patch
Assignee: nobody → margaret.leibovic
Status: NEW → ASSIGNED
Attachment #558594 - Flags: review?(gavin.sharp)
Attachment #558594 - Flags: review?(gavin.sharp) → review+
(Assignee)

Comment 2

6 years ago
http://hg.mozilla.org/integration/fx-team/rev/d287051139f4
Whiteboard: [fixed-in-fx-team]
(Assignee)

Comment 3

6 years ago
https://hg.mozilla.org/mozilla-central/rev/d287051139f4
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 9
You need to log in before you can comment on or make changes to this bug.