Closed Bug 443450 Opened 16 years ago Closed 8 years ago

URLs not contained in offline application cache shows "Offline mode" page

Categories

(Core :: Networking: Cache, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mayhemer, Unassigned)

References

Details

For offline application that access URI (in iframe mainly) that is not contained in the cache as any type of entry must fail to load according to the WHATWG spec. Firefox for such iframes and pages displays "Firefox is currently in offline mode" page that is not appropriate. 

This page is picked based on error code "NS_ERROR_CACHE_KEY_NOT_FOUND" that is returned by HTTP channels when entry could not be loaded from the cache and we are disallowed to load from network (as in case when there is associated an application cache and URL is not on whitelist or/ we are in offline mode).

We should introduce a new error code for this particular case with offline cache and create a new page with appropriate text. It should inform users/developers of an offline application that there is inconsistency/missing URL in the cache manifest.
->cache
Component: Networking → Networking: Cache
QA Contact: networking → networking.cache
offline cache is doomed
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.