Closed Bug 253497 Opened 20 years ago Closed 20 years ago

Changing location onunload causes view source to show the wrong source

Categories

(Core Graveyard :: View Source, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 247660

People

(Reporter: thesh_bugs, Assigned: doronr)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707

If you have a page that changes the location with an onunload event handler and
you try to view the source, it will give you the source of the page you tried to
view and not the one you were redirected to. However, as far as I can tell, the
DOM appears to be correct.

Testcase coming up in a second.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Attached file Testcase
Refresh the testcase, click on the link, or hit back and it will redirect you
to the firefox product page, however that is not what you will see when you
view the source.
Actually, just hitting the reload button after the firefox product page is
loaded will show the problem... this is not view-source specific.  It's just bug
247660 

*** This bug has been marked as a duplicate of 247660 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
Product: SeaMonkey → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: