Offline error page only appears for caching channels

RESOLVED FIXED

Status

()

Core
Document Navigation
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: neil@parkwaycc.co.uk, Assigned: neil@parkwaycc.co.uk)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
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!
(Assignee)

Comment 1

6 years ago
Created attachment 539191 [details] [diff] [review]
Proposed patch
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #539191 - Flags: review?(bzbarsky)

Comment 2

6 years ago
Comment on attachment 539191 [details] [diff] [review]
Proposed patch

r=me
Attachment #539191 - Flags: review?(bzbarsky) → review+
(Assignee)

Comment 3

6 years ago
Pushed changeset 8cbd3bbce29e to mozilla-central.
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.