Closed Bug 1086669 Opened 10 years ago Closed 6 years ago

Add an optional argument to mozApps.install() to accept a parsed manifest object

Categories

(Core Graveyard :: DOM: Apps, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: benfrancis, Unassigned)

References

Details

(Keywords: feature)

In the implementation of Web Manifest (bug 1003890), Gaia needs to fetch a Web Manifest and in some cases after parsing the manifest then call mozApps.install() with the same manifest URL. In order to prevent the manifest having to be fetched twice, it has been suggested that it might be a good idea to have mozApps.install() take a parsed manifest object as an optional argument. We would also need to pass the manifestURL so that Gecko can check for any subsequent app updates.
Product: Core → Core Graveyard
Core Graveyard / DOM: Apps is inactive. Closing all bugs in this component.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.