Closed
Bug 531008
Opened 15 years ago
Closed 15 years ago
nsIDOMGeoPositionAddress must use DOMString instead of string
Categories
(Core :: DOM: Geolocation, defect)
Core
DOM: Geolocation
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
status1.9.2 | --- | beta5-fixed |
People
(Reporter: dougt, Assigned: dougt)
References
Details
(Keywords: dev-doc-complete)
Attachments
(2 files)
1.34 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
2.42 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•15 years ago
|
||
Assignee: nobody → mozbugz
Assignee | ||
Updated•15 years ago
|
Flags: blocking1.9.2?
Assignee | ||
Updated•15 years ago
|
Attachment #414469 -
Flags: review?(jst)
Assignee | ||
Comment 2•15 years ago
|
||
i am aware that this changes an interface, but I am not sure sure of a better solution.
Comment 3•15 years ago
|
||
Comment on attachment 414469 [details] [diff] [review] patch v.1 Sigh, I guess this does have to block. Doug, alternatives are: - add a new interface - don't change the UUID This is a new 3.6 interface, so we shouldn't expect too much add-on churn here. Might even be able to just email all the authors of geolocation add-ons and notify them.
Assignee | ||
Comment 4•15 years ago
|
||
i would rather just not change the UUID, and change the type. And, I agree. Most users are webcontent or in chrome/js and will not see this change.
Comment 5•15 years ago
|
||
There's a "binary compatible" alternative to changing the type to DOMString, we could change the type to utf8string and unicode data would make it through yet the C++ type would remain char*. That would still somewhat change the contract and expectations of C++ users of this, but I think the pain would be less that way than fully changing the type. I think on trunk we should still change to using DOMString to avoid conversions and malloc overhead etc, but 1.9.2 we could consider using utf8string.
Updated•15 years ago
|
Attachment #414469 -
Flags: review?(jst) → review+
Comment 7•15 years ago
|
||
Comment on attachment 414469 [details] [diff] [review] patch v.1 r=jst to make this change on the trunk.
Assignee | ||
Comment 8•15 years ago
|
||
Comment on attachment 414469 [details] [diff] [review] patch v.1 I think we should take this on 1.9.2.
Attachment #414469 -
Flags: approval1.9.2?
Assignee | ||
Comment 9•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/ba9a490a6ef8
Comment 10•15 years ago
|
||
I'd be fine with making this change for 1.9.2 but I do think we should support the old interface there as well. IOW, rename the old interface to obsolete somethingorother, add the same interface we have on the trunk after this change, and make the implementations we have support both, which if they're in JS should be trivial (i.e. just make sure both interfaces are supported in QI).
Assignee | ||
Comment 11•15 years ago
|
||
Attachment #414681 -
Flags: review?(jst)
Attachment #414681 -
Flags: approval1.9.2?
Assignee | ||
Updated•15 years ago
|
Attachment #414469 -
Flags: approval1.9.2?
Comment 12•15 years ago
|
||
Comment on attachment 414681 [details] [diff] [review] patch v.1 - 1.9.2 patch r=bzbarsky No need for approval for a blocker.
Attachment #414681 -
Flags: review?(jst)
Attachment #414681 -
Flags: review+
Attachment #414681 -
Flags: approval1.9.2?
Comment 13•15 years ago
|
||
Pushed http://hg.mozilla.org/releases/mozilla-1.9.2/rev/7d5d573dd500
Comment 14•15 years ago
|
||
Doc updated: https://developer.mozilla.org/en/nsIDOMGeoPositionAddress
Keywords: dev-doc-complete
Comment 15•15 years ago
|
||
Can you see Bug 532535? I think the relation between this bug and Bug 532535. However, I think that discussing it by "Bug 532535" is appropriate.
You need to log in
before you can comment on or make changes to this bug.
Description
•