Closed Bug 521458 Opened 15 years ago Closed 15 years ago

[shared module] Need a Helper Function for information on the app

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aakashd, Assigned: whimboo)

References

Details

(Whiteboard: [mozmill-doc-complete])

Attachments

(1 file)

Right now, we have to use:

 http://mxr.mozilla.org/mozilla-central/source/xpcom/system/nsIXULAppInfo.idl

...in order to access any information about the app. This coincides with any testscript that accesses a pref with %APP% field in the value as well as update testing.
I will try to get to it over the weekend.
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Summary: Need a Helper Function for information on the app → [shared module] Need a Helper Function for information on the app
Attached patch Patch v1Splinter Review
This patch adds a appInfo object to the UtilsAPI which can be used to retrieve a couple of application specific information.
Attachment #406015 - Flags: review?(adesai)
Blocks: 504653
Blocks: 514514
Comment on attachment 406015 [details] [diff] [review]
Patch v1

Looks good. My only question would be how would this be implemented onto my review-set testscript on bug 521499 ?
Attachment #406015 - Flags: review?(adesai) → review+
Landed as:
http://hg.mozilla.org/qa/mozmill-tests/rev/71bdef5988b7
http://hg.mozilla.org/qa/mozmill-tests/rev/f1aced809bfe

(In reply to comment #3)
> Looks good. My only question would be how would this be implemented onto my
> review-set testscript on bug 521499 ?

We should discuss it on bug 521499.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [mozmill-doc-needed]
Blocks: 521499
Documentation has been updated:
https://developer.mozilla.org/en/Mozmill_Tests/Shared_Modules/UtilsAPI/appInfo
Whiteboard: [mozmill-doc-needed] → [mozmill-doc-complete]
Mass move of Mozmill Test related project bugs to newly created components. You can filter out those emails by using "Mozmill-Tests-to-MozillaQA" as criteria.
Component: Mozmill → Mozmill Tests
Product: Testing → Mozilla QA
QA Contact: mozmill → mozmill-tests
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: