Closed Bug 321291 Opened 19 years ago Closed 16 years ago

View source frequently fails to work

Categories

(Toolkit :: View Source, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 307089

People

(Reporter: ken, Unassigned)

Details

(Whiteboard: DUPEME?)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 View source needs to take its source cdoe from the cache. Currently it seems to fail if: If sorce is programatically generated and viewable only once, there appears to be no way to view that source. (this forces me to use IE when viewing source while developing this kind of site) If the interenet connection is interupted between downloading a page and viewing its source a page can't be found error happens. Both situations would be corrected if the source viewed was taken from the local machine, not the server. Reproducible: Always
View Source does take its content from the cache. But the page may be marked as non-cachable, or expired, or the cache evicts the page due to subsequent activity--in which case View Source will need to re-retrieve the page. This bug is probably a dupe of bug 166786, though that's a Mozilla Suite bug. See also bug 288462
I don't think this conditions are happening. Here is a quick example that illustrates the issue: http://www.smallboxsoftware.net/bug.php This does however work in explorer.
(In reply to comment #2) > Here is a quick example that illustrates the issue: > > http://www.smallboxsoftware.net/bug.php This example works for me (I can view the source). Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 ID:2005111116
Just to be clear. When I view the source, I get the source of the first page instead of the second.
There are a slew of bug reports relating to this - Bug 251231 is one of them.
Bugs I've found to date relating to this: Bug 251231 Bug 306916 Bug 307089 Bug 321291 Bug 340120 I'll bet there are more - this was simply a search in Bugzilla for "view source".
You can get the correct source by selecting the whole page (CTRL-A), right click and "view selection source".
Whiteboard: DUPEME?
Product: Firefox → Toolkit
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.