Closed Bug 1944984 Opened 11 days ago Closed 5 days ago

Don't show error page on view-source:// views of empty pages.

Categories

(Core :: Networking, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: manuel, Assigned: sekim)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [necko-triaged][necko-priority-queue])

Attachments

(1 file)

Precondition: disable browser.http.blank_page_with_error_response.enabled by setting it to false
Example page: view-source:https://lab.neon.rocks/empty-error

Got result: Error page is displayed
Expected result: Source of empty page is displayed

Full response by server (generated with curl -i https://lab.neon.rocks/empty-error):

HTTP/2 404 
alt-svc: h3=":443"; ma=2592000
server: Caddy
content-length: 0
date: Thu, 30 Jan 2025 22:54:04 GMT

Severity: -- → S4
Priority: -- → P2
Whiteboard: [necko-triaged][necko-priority-next]
Blocks: 1944358
Whiteboard: [necko-triaged][necko-priority-next] → [necko-triaged][necko-priority-queue]
Assignee: nobody → sekim
Status: NEW → ASSIGNED
Pushed by sekim@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b3d687217d1c Block error page on view-source:// views of empty pages r=manuel
Status: ASSIGNED → RESOLVED
Closed: 5 days ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: