Closed Bug 299930 Opened 19 years ago Closed 19 years ago

Need nsIXULAppInfo.geckoVersion

Categories

(Toolkit :: Startup and Profile System, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla1.8beta4

People

(Reporter: benjamin, Assigned: benjamin)

References

Details

(Whiteboard: [no l10n impact] has patch with review)

Attachments

(1 file)

We need nsIXULAppInfo.geckoVersion which is formatted like an extension manager
version # (1.7+, currently).
targeting b4
Flags: blocking1.8b4+
Priority: -- → P1
Target Milestone: --- → mozilla1.8beta3
Attachment #188553 - Flags: first-review?(shaver)
Comment on attachment 188553 [details] [diff] [review]
Add nsIXULAppInfo.platformVersion, rev. 1

I'm not really familiar enough with this stuff to say; over to darin?
Attachment #188553 - Flags: first-review?(shaver) → first-review?(darin)
Comment on attachment 188553 [details] [diff] [review]
Add nsIXULAppInfo.platformVersion, rev. 1

perhaps s/version/appVersion/ to match appBuildID?  maybe vendor and name
should be appVendor and appName as well?  oh wait... this is nsIXULAppInfo...
maybe the platform fields should be on nsIXULRuntime instead then?

Are we moving away from the 1.8b3 notation to the 1.7+ notation for the
platform?

MILESTONE_EM seems like a funny name.  i figure EM means extension manager,
right?	i guess this name works.. not sure what else we might call it.
I did not want to change .version to .appVersion because of significant usage in
existing code.

I thought about putting this on nsIXULRuntime but I intend to freeze
nsIXULAppInfo immediately and do not intend to freeze nsIXULRuntime any time
soon. I think that nsIXULAppInfo is a decent place to hang this data.
Comment on attachment 188553 [details] [diff] [review]
Add nsIXULAppInfo.platformVersion, rev. 1

I can relate to the pain that an interface change would be, so ok.  I guess we
live with it.  It's a bit awkward to have "app" prefix only 1 of the 4
application attributes, and it's also odd to have platform attributes on an
interface whose name describes the application, but ok.. sure ;-)
Attachment #188553 - Flags: first-review?(darin) → first-review+
Attachment #188553 - Flags: approval1.8b4?
Whiteboard: has patch with review
Whiteboard: has patch with review → [no l10n impact] has patch with review
Attachment #188553 - Flags: approval1.8b4? → approval1.8b4+
Fixed on trunk for 1.8b4.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: mozilla1.8beta3 → mozilla1.8beta4
Component: XRE Startup → Startup and Profile System
QA Contact: nobody → startup
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: