Closed Bug 824256 Opened 13 years ago Closed 13 years ago

For hosted apps that preload the appcache, we should validate that the appcache manifest has the correct mime type

Categories

(Marketplace Graveyard :: Validation, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jsmith, Unassigned)

Details

Right now, we are accepting hosted apps on marketplace that preload the appcache that have an incorrect mime type in their appcache manifest. As a result of us now throwing download failure messages when we find an incorrect mime type in the appcache manifest, we now will fail to install apps that fall into this category. For a start to reduce the cases where we hit this scenario, we should a check in the validator that does the following: If I see the property "appcache_path" provided, go check the mime type of the appcache manifest provided. If the mime type is invalid, throw an error and fail validation. Otherwise, continue doing the other validation checks. See the discussion in bug 824203 and bug 823143 for context.
OS: Gonk (Firefox OS) → All
Hardware: ARM → All
No need to do this anymore - we're uplifting the mime type fix to b2g 18, so this is no longer needed on marketplace.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.