Closed
Bug 491732
Opened 15 years ago
Closed 15 years ago
add "Share Location" to Page Info > Permissions to redo/undo "always remember this choice" for geolocation preference
Categories
(Firefox :: Page Info Window, defect, P2)
Tracking
()
VERIFIED
FIXED
People
(Reporter: beltzner, Assigned: dougt)
References
Details
(4 keywords, Whiteboard: [geo])
Attachments
(2 files, 1 obsolete file)
58.82 KB,
image/png
|
beltzner
:
ui-review-
|
Details |
6.58 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
The new geolocation support allows a user to "always remember" their choice. Presently the only way to undo that is to remove their browsing history for that site, we should offer a better way. Since this is a permission, of sorts (ie: permitting the website to know where you are) I think it's best that we add it to the Page Info > Permissions, though Doug makes a case for it being in the Security Tab along with Cookies and Passwords. I think the former is easier, requiring a single string: Share Location ( ) Always Ask ( ) Allow ( ) Block this control would be set to Block and disabled when geo.enabled is set to false. For the Security Tab, we'd need: Can this website see my location? Always / Never / If you let it (?) and a button to clear. My feeling is that this is actually a permission (what is the website allowed to do) which allows the website to do something that has a privacy implication. I prefer the former solution.
Reporter | ||
Comment 1•15 years ago
|
||
Heads-up, l10n: we need a better way to clear this information. These will be amongst the set of strings needed to clean up geolocation (see also bug 488574)
Reporter | ||
Comment 2•15 years ago
|
||
(And bug 491739)
Assignee | ||
Comment 3•15 years ago
|
||
mike, page info -> permission Use default == ask always Allow == as if you pressed "Tell them" and selected the "remember for this site" Deny == as if you pressed "Don't tell them" and selected the "remember for this site"
Assignee: nobody → doug.turner
Assignee | ||
Updated•15 years ago
|
Attachment #376077 -
Flags: ui-review?(beltzner)
Assignee | ||
Comment 4•15 years ago
|
||
this implements the screenshot above. it does not add anything to page info -> security. To make things a bit simpler, i changed the geo code in the browser to use the permissions manager instead of the content-site permissions. I probably should have been doing that in the first place.
Attachment #376080 -
Flags: review?
Assignee | ||
Updated•15 years ago
|
Attachment #376080 -
Flags: review? → review?(gavin.sharp)
Comment 7•15 years ago
|
||
Comment on attachment 376080 [details] [diff] [review] patch v.1 >diff --git a/browser/components/nsBrowserGlue.js b/browser/components/nsBrowserGlue.js > prompt: function(request) { >+ var result = pm.testPermission(request.requestingURI, "geo"); Need testExactPermission to match the current behavior. >+ if (result == Ci.nsIPermissionManager.ALLOW_ACTION) { >+ request.allow(); >+ return; >+ } >+ else if (result == Ci.nsIPermissionManager.DENY_ACTION) { nit: get rid of else after return Beltzner had a good point about "Always Ask" perhaps being better than "Use Default". Would just require a string addition to replace permUseDefault, right?
Attachment #376080 -
Flags: review?(gavin.sharp) → review+
Reporter | ||
Comment 8•15 years ago
|
||
Comment on attachment 376077 [details]
screenshot
Let's make the checkbox "Always Ask", please.
Attachment #376077 -
Flags: ui-review?(beltzner) → ui-review-
Assignee | ||
Comment 9•15 years ago
|
||
Attachment #376080 -
Attachment is obsolete: true
Attachment #376090 -
Flags: review?
Updated•15 years ago
|
Attachment #376090 -
Flags: review? → review+
Assignee | ||
Comment 10•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/0b4f61d41c8b http://hg.mozilla.org/releases/mozilla-1.9.1/rev/e1f546f5bf74
Status: NEW → RESOLVED
Closed: 15 years ago
Keywords: fixed1.9.1
Resolution: --- → FIXED
Whiteboard: [geo]
Reporter | ||
Comment 11•15 years ago
|
||
Fantastic turnaround time, Doug. Really excellent.
Updated•15 years ago
|
Component: General → Page Info
QA Contact: general → page.info
Hardware: x86 → All
Version: 3.0 Branch → 3.5 Branch
Updated•15 years ago
|
Keywords: user-doc-needed
Comment 12•15 years ago
|
||
Verified fixed on the trunk using Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20090507 Minefield/3.6a1pre and Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090507 Minefield/3.6a1pre. Verified fixed on the 1.9.1 branch using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b5pre) Gecko/20090507 Shiretoko/3.5b5pre and Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b5pre) Gecko/20090507 Shiretoko/3.5b5pre I tested the various combination of Always Ask, allow and block and I saw no issues.
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
Comment 13•15 years ago
|
||
user-doc-complete <https://support.mozilla.com/kb/Page+Info+window?bl=n>
Keywords: user-doc-needed → user-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•