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

RESOLVED WONTFIX

Status

()

defect
RESOLVED WONTFIX
11 years ago
4 years ago

People

(Reporter: mayhemer, Unassigned)

Tracking

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

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: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.