html5 manifest does not consider FALLBACK section

UNCONFIRMED
Unassigned

Status

()

Firefox
General
UNCONFIRMED
7 years ago
4 years ago

People

(Reporter: Alexander, Unassigned)

Tracking

({html5})

8 Branch
x86
All
html5
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20100101 Firefox/8.0
Build ID: 20111104165243

Steps to reproduce:

I provide the following manifest example to a html5 file:

CACHE MANIFEST
CACHE:
offline.jpg
FALLBACK:
image.jpg offline.jpg


Actual results:

when the firefox is online i see the image.jpg.
when the firefox is offline i see a cached version of the image.jpg


Expected results:

when the firefox is online i see the image.jpg.
when the firefox is offline i should see the offline.jpg
(Reporter)

Updated

7 years ago
Keywords: html5
OS: Mac OS X → All

Comment 1

4 years ago
Is this still an issue for you?
Flags: needinfo?(cyberline)
(Reporter)

Comment 2

4 years ago
still doesn't work in FF 25.0.1
Flags: needinfo?(cyberline)

Comment 3

4 years ago
I am not sure this is how FALLBACK works.. actually what the spec is saying is that if the resource is not available (aka 404) then load the fallback, otherwise show whats cached.

Maybe you can trigger it by putting image.jpg into the NETWORK section, so it has to fetch it..

Had this problem too while working on an offline app.. seems there is no way to force Firefox to load a specific resource when its offline. :(
You need to log in before you can comment on or make changes to this bug.