Closed Bug 655869 Opened 13 years ago Closed 13 years ago

Permissions tab assumes all consumers use testPermission

Categories

(Firefox :: Page Info Window, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 9

People

(Reporter: Gavin, Assigned: Margaret)

Details

Attachments

(1 file)

... 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)
Attached patch patchSplinter Review
Assignee: nobody → margaret.leibovic
Status: NEW → ASSIGNED
Attachment #558594 - Flags: review?(gavin.sharp)
Attachment #558594 - Flags: review?(gavin.sharp) → review+
http://hg.mozilla.org/integration/fx-team/rev/d287051139f4
Whiteboard: [fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/d287051139f4
Status: ASSIGNED → RESOLVED
Closed: 13 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.

Attachment

General

Created:
Updated:
Size: