Closed Bug 664125 Opened 12 years ago Closed 12 years ago

Offline error page only appears for caching channels

Categories

(Core :: DOM: Navigation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: neil, Assigned: neil)

Details

Attachments

(1 file)

Steps to reproduce problem:
1. Go offline
2. Try to visit an FTP site
3. Try to open a web page

Expected result: Error page at step 2

Actual result: Error page at step 3

This is because NS_ERROR_DOCUMENT_NOT_CACHED triggers the offline page, while NS_ERROR_OFFLINE triggers no error at all!
Attached patch Proposed patchSplinter Review
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #539191 - Flags: review?(bzbarsky)
Comment on attachment 539191 [details] [diff] [review]
Proposed patch

r=me
Attachment #539191 - Flags: review?(bzbarsky) → review+
Pushed changeset 8cbd3bbce29e to mozilla-central.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.