Closed
Bug 895391
Opened 12 years ago
Closed 12 years ago
[Marketplace][User Story] Marketplace to automatically check for appcache manifest and warn devs if it's not present in the webapp manifest
Categories
(Marketplace Graveyard :: Validation, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-08-13
People
(Reporter: sonmarce, Assigned: basta)
References
(Blocks 1 open bug)
Details
(Keywords: feature)
Attachments
(1 file)
95.03 KB,
application/text
|
Details |
As an app developer I want Marketplace to automatically check for appcache manifest and warn devs if it's not present in the webapp manifest
Reporter | ||
Updated•12 years ago
|
Assignee | ||
Comment 1•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Assignee: nobody → mattbasta
Target Milestone: --- → 2013-08-13
Comment 3•12 years ago
|
||
Please add STR here or mark it with [qa-] if no QA is needed.
Flags: needinfo?
Assignee | ||
Comment 4•12 years ago
|
||
1. Create a hosted web app where the index.html file has an appcache manifest.
2. Create a manifest for the app which lists index.html as the launch_path but does not include the appcache_path field.
3. Submit the manifest to the validator
There should be a warning indicating that the appcache manifest is not listed in the app manifest.
Flags: needinfo?
Comment 5•12 years ago
|
||
I have submitted an app with the <html manifest="example.appcache"> in the index.html file and "launch_path": "/index.html" in the manifest.webapp file but after I have submitted the manifest to the validator, no errors were displayed.
I have attached the packaged app.
Assignee | ||
Comment 6•12 years ago
|
||
This doesn't apply to packaged apps, only hosted apps.
Comment 7•12 years ago
|
||
(In reply to Matt Basta [:basta] from comment #6)
> This doesn't apply to packaged apps, only hosted apps.
We should be looking for appcache_path in the hosted apps' manifests - are we doing that? If we're not, we totally should be.
I do agree that checking for the existence of `html[manifest]` in a hosted app's `launch_path` document is overkill.
Assignee | ||
Comment 8•12 years ago
|
||
(In reply to Christopher Van Wiemeersch [:cvan] from comment #7)
> (In reply to Matt Basta [:basta] from comment #6)
go home you're on PTO
> > This doesn't apply to packaged apps, only hosted apps.
>
> We should be looking for appcache_path in the hosted apps' manifests - are
> we doing that? If we're not, we totally should be.
That's what this is.
> I do agree that checking for the existence of `html[manifest]` in a hosted
> app's `launch_path` document is overkill.
That's literally (litrully) what this bug is.
Comment 9•12 years ago
|
||
(In reply to Matt Basta [:basta] from comment #8)
> (In reply to Christopher Van Wiemeersch [:cvan] from comment #7)
> > (In reply to Matt Basta [:basta] from comment #6)
>
> go home you're on PTO
No, not today.
Comment 10•12 years ago
|
||
Matt, could you please provide us information or a link where we can create a hosted app using your STR? Thank you!
Flags: needinfo?(mattbasta)
Assignee | ||
Comment 11•12 years ago
|
||
You'll need to find some kind of hosting. Stackato could be used, but you'd need to use something like the fireplace damper since the manifest mime type isn't included in any default mime type libraries.
I'd recommend talking to the qa folks for b2g to see what they test hosted apps with. They might even have a test case which is suitable to test this bug.
Flags: needinfo?(mattbasta)
You need to log in
before you can comment on or make changes to this bug.
Description
•