nsIAppsService.idl need to get mozIDOMApplication from manifest id

RESOLVED FIXED in mozilla17

Status

()

Core
DOM: Device Interfaces
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: dougt, Assigned: fabrice)

Tracking

(Blocks: 1 bug)

Trunk
mozilla17
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

5 years ago
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.
(Assignee)

Comment 1

5 years ago
How are these ids created?
(Reporter)

Updated

5 years ago
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.
(Assignee)

Comment 3

5 years ago
Created attachment 649330 [details] [diff] [review]
patch
(Assignee)

Updated

5 years ago
Attachment #649330 - Flags: review?(mounir)
Blocks: 777135
No longer blocks: 777135
Depends on: 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+
(Assignee)

Comment 5

5 years ago
Created attachment 649854 [details] [diff] [review]
patch v2

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+
(Assignee)

Comment 7

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/a137b39297de
https://hg.mozilla.org/mozilla-central/rev/a137b39297de
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.