Closed
Bug 503942
Opened 15 years ago
Closed 15 years ago
Implement Geolocation Addresses
Categories
(Core :: DOM: Geolocation, defect)
Core
DOM: Geolocation
Tracking
()
RESOLVED
FIXED
People
(Reporter: dougt, Assigned: dougt)
Details
(Keywords: dev-doc-complete)
Attachments
(2 files)
(deleted),
patch
|
jst
:
review+
jst
:
superreview+
dveditz
:
approval1.9.1.3-
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Details | Diff | Splinter Review |
we should implement geolocation addresses based on the Gear's Address object.
Assignee | ||
Comment 1•15 years ago
|
||
Attachment #388300 -
Flags: superreview?(jst)
Attachment #388300 -
Flags: review?(jst)
Assignee | ||
Updated•15 years ago
|
Severity: normal → major
Flags: blocking1.9.1.1?
OS: Mac OS X → All
Hardware: x86 → All
Version: unspecified → Trunk
Comment 2•15 years ago
|
||
Marking wanted, but don't know if we'd block. What does this get us?
Assignee | ||
Comment 3•15 years ago
|
||
in addition to getting a lat/long, you can also get this:
where |a| is the objection returned to the geolocation APIs:
a.address.streetNumber
a.address.street
a.address.premises
a.address.city
a.address.county
a.address.region
a.address.county
a.address.countryCode
a.address.postalCode
Comment 4•15 years ago
|
||
Is this in a spec somewhere, or is this still being ironed out etc?
Assignee | ||
Comment 5•15 years ago
|
||
This is still being ironed out. The last reasonable format for a simplified address as basically the above plus an extra field called "additionalInformation". I am leaving this field off for now. If there this does become a recommendation, we can append the field.
fwiw, google chrome and android use the above address object.
Updated•15 years ago
|
Attachment #388300 -
Flags: superreview?(jst)
Attachment #388300 -
Flags: superreview+
Attachment #388300 -
Flags: review?(jst)
Attachment #388300 -
Flags: review+
Assignee | ||
Comment 6•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 7•15 years ago
|
||
Looks like this may be causing some mochitest failures on mozilla-central (on Mac OS X, so far).
Comment 8•15 years ago
|
||
I backed this out for causing mochitest timeouts on all platforms:
http://hg.mozilla.org/mozilla-central/rev/191ef763e892
http://hg.mozilla.org/mozilla-central/rev/df6b05ee9830
Comment 9•15 years ago
|
||
Should be re-opened?
Assignee | ||
Updated•15 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 10•15 years ago
|
||
the failure was caused by our test cases not providing an address response. GLS and other providers should provide this. I tweaked our code to test the response before assuming it is there.
In bug 482260, we will update the testing code so that we can test with and without a provider sending an address location.
Assignee | ||
Comment 11•15 years ago
|
||
Assignee | ||
Comment 12•15 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Flags: blocking1.9.2?
Resolution: --- → FIXED
Comment 13•15 years ago
|
||
Doug: I believe you want this in Firefox 3.5. If that's right, please request approval1.9.1.2 on the patch (after checking that it applies).
(Note: You have some approval1.9.1.1 requests out. We'll be triaging those, no need to change them to approval1.9.1.2.)
Assignee | ||
Updated•15 years ago
|
Attachment #388300 -
Flags: approval1.9.1.2?
Comment 14•15 years ago
|
||
Comment on attachment 388300 [details] [diff] [review]
patch v.1
Not for 1.9.1.2.
Attachment #388300 -
Flags: approval1.9.1.2? → approval1.9.1.3?
Updated•15 years ago
|
Keywords: dev-doc-needed
Assignee | ||
Updated•15 years ago
|
Flags: blocking1.9.2?
Comment 15•15 years ago
|
||
Comment on attachment 388300 [details] [diff] [review]
patch v.1
New features/interfaces are generally not appropriate for the stable branch. 1.9.1 approval denied.
Attachment #388300 -
Flags: approval1.9.1.3? → approval1.9.1.3-
Comment 16•15 years ago
|
||
Now documented for Gecko 1.9.2:
https://developer.mozilla.org/en/XPCOM_Interface_Reference/NsIDOMGeoPosition
https://developer.mozilla.org/en/nsIDOMGeoPositionAddress
(the latter will move soon, got put in the wrong place, but there'll be a redirect).
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•