View source doesn't work for certain local pages

VERIFIED DUPLICATE of bug 273968

Status

()

--
minor
VERIFIED DUPLICATE of bug 273968
10 years ago
10 years ago

People

(Reporter: hi, Unassigned)

Tracking

Trunk
x86_64
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1b2) Gecko/20081201 Firefox/3.1b2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1b2) Gecko/20081201 Firefox/3.1b2

Sometimes Firefox's built-in "view source" function doesn't work correctly when viewing local (in my case at least) web pages.

Reproducible: Always

Steps to Reproduce:
1. Go to an "untrusted" site or make your own.
2. When firefox gives you the warning page, try to view source.
Actual Results:  
Instead of the source, the content is regenerated.

Expected Results:  
Um, to see the source. :)

Ok, for example, the message it gives you when it displays "This Connection is Untrusted" (that word "untrusted" should really change, btw. Don't be like Microsoft and tell me who I can and cannot trust. And my situation, it had nothing to do with security). It works fine if you go to directly to, say view-source:about:certerror, but not when you're trying to get to another page and it intercepts it. I'm able to see the source when using the Web Developer plugin, but not by going to View>Page Source (Ctrl+U). Instead of seeing the source of the file, the content is simply reloaded. It also bypasses my script-blocking (jar:file///...) which is ok I guess since it can be considered part of the browser itself, but still. Seems like something that can be exploited easily. IMO, *nothing* should be allowed to bypass user preferences. And view source should mean view source regardless of it's content.

Updated

10 years ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Component: Page Info → Document Navigation
Product: Firefox → Core
QA Contact: page.info → docshell
Resolution: --- → DUPLICATE
Version: unspecified → Trunk
Duplicate of bug: 273968
V.Duplicate
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.