Closed Bug 470005 Opened 16 years ago Closed 16 years ago

view page source shows source for old, previously displayed version of page

Categories

(Firefox :: Page Info Window, defect)

x86
All
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 469302

People

(Reporter: rickstockton, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20081216 Shiretoko/3.1b3pre
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20081216 Shiretoko/3.1b3pre

This URL is the start of a 'saved passwords' security test. (Note, this bug is NOT about "issues" with saved passwords security.) The test is executed in a sequence of about 32 pages, many of which link forward into this same address (i.e., this same page address is the destination of the form's "next" or "login" button).

Firefox displays and executes each of these pages correctly on the screen, including all forms and enabled javascript. But, if I attempt to "View Page Source", the source code window shows content from the page of "step 1", NOT the correct content of the "step 3" or "step 15" pages.

There are no server-side Javascript/AJAX tricks involved in generating the content after downloading-- Server is definitely sending ordinary html with <form> and <script> elements.

Error occurs consistently on invocation via either either MenuItem "View-->Page Source" or pressing shortcut Ctrl-u". Error exists on both Linux and Windows, both Trunk (3.2a1pre) and Shiretoko Branch (3.1b3pre), including "safe mode".

Reproducible: Always

Steps to Reproduce:
1. start "Password Manager Evaluator" at above URL, following instructions.

2. ctrl-u, note that page source content is "...This is the first page of a step-by-step interview"....

3. follow instructions and execute "login" to "step 2" page. Execute ctrl-u again-- you will see that the source code shown is still for the "step 1" page.

4. For further demonstration, follow instructions on "step 2" and press the "next" button to proceed to the "step 3" page. Execute ctrl-u again-- you will see that the source code shown is still for the "step 1" page. 
Actual Results:  
ctrl-u always shows source code for the first instance of the URL, the "step 1" page. 

Expected Results:  
ctrl-u SHOULD show source code which was received from the Server and used to display-execute the actual content being shown-- the CURRENT version of the page.

"back" and "forward" buttons operate perfectly on all of these pages, with notification that previously-submitted form data will be resent (if form inputs of type "text" or "password" had been previously).

Still, somehow, FF keeps using a reference to an older, outdated copy of Source Code which is no longer being displayed.
Summary: view page source shows source for old, previoously displayed version of page → view page source shows source for old, previously displayed version of page
This is from the Chapin suite, might as well block it even though it's probably not entirely related to that bug.
Blocks: 469636
The truth be said it probably is a dupe of bug 469302, do the regression-ranges coincide? I'll check later if you don't get a chance to.
Gosh darn it, I agree. Looks like I've created a dup, having looked for "View Source Code" in my Dupilcate search (instead of just "Source Code"). Sorry. I'll leave it to your much more capable hands from here, including marking as Dup. I've already put myself as a CC: on the other one.
No longer blocks: 469636
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.