Closed Bug 779935 Opened 12 years ago Closed 12 years ago

nsIAppsService.idl need to get mozIDOMApplication from manifest id

Categories

(Core :: DOM: Device Interfaces, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: dougt, Assigned: fabrice)

References

Details

Attachments

(1 file, 1 obsolete file)

We need the ablity to go from a manifest id (which is part of the nsIPrincipal) to a mozIDOMApplication. The current methods on nsIAppsService only accept manifest urls.
How are these ids created?
Blocks: 746280
OS: Mac OS X → All
Hardware: x86 → All
(In reply to Fabrice Desré [:fabrice] from comment #1) > How are these ids created? This is |localId| I believe.
Attached patch patch (obsolete) (deleted) — Splinter Review
Attachment #649330 - Flags: review?(mounir)
No longer blocks: 777135
Blocks: 777135
No longer depends on: 777135
Comment on attachment 649330 [details] [diff] [review] patch Review of attachment 649330 [details] [diff] [review]: ----------------------------------------------------------------- Could you add a method that also returns the manifest URL from the localId? I believe some consumers only need that.
Attachment #649330 - Flags: review?(mounir) → review+
Attached patch patch v2 (deleted) — Splinter Review
Updated to add a |getManifestURLByLocalId(id)| method.
Attachment #649330 - Attachment is obsolete: true
Attachment #649854 - Flags: review?(mounir)
Comment on attachment 649854 [details] [diff] [review] patch v2 Review of attachment 649854 [details] [diff] [review]: ----------------------------------------------------------------- Can you push this ASAP so dependencies don't get blocked for too long.
Attachment #649854 - Flags: review?(mounir) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: