Closed
Bug 92600
Opened 24 years ago
Closed 24 years ago
wrong javascript output when going back one page
Categories
(Core :: Networking: Cache, defect)
Tracking
()
People
(Reporter: info, Assigned: gordon)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
BuildID: 2001062815
JavaScript writes the finishing "); of a document.write()-command in the active
document when I use the Back-button after clicking on two letters at
www.jammni.de (it's the part at the very bottom of the page).
Reproducible: Always
Steps to Reproduce:
1. visit www.jammni.de and click on two letters
2. click on the Back-button
Actual Results: The JavaScript-Engine outputs too much.
Comment 1•24 years ago
|
||
Browser, not engine. Reassigning to Browser-General -
Assignee: rogerl → asa
Component: Javascript Engine → Browser-General
QA Contact: pschwartau → doronr
Comment 2•24 years ago
|
||
info@jammni.de:
> when I use the Back-button after clicking on two letters at
> www.jammni.de (it's the part at the very bottom of the page).
Do you mean the part at the very TOP of the page?
I don't see any letters at the bottom!
So far, the site works fine for me with builds 20010713xx on WinNT, Linux.
Could you try a more recent build and see if you still have a problem?
Thanks -
I've just tested with the same build as the reporter and have not found any
problems with the site. However I have a feeling that this is caused by cache as
it only happens when back is pressed.
Assignee: asa → gordon
Component: Browser-General → Networking: Cache
QA Contact: doronr → tever
You're right - I cleared the cache and everything worked fine.
But in the end there is a problem with the cache.
Mozilla showed the pages correctly when I visit the pages via link, but used
another page from the cache (a false one).
Perhaps you should fix this too.
But I couldn't reproduce the problem with modifying a file while it was shown.
Well, I found a way to reproduce it, but I don't know whether it is a bug or
not - because the htm-file is not really w3c-conform.
Download the files http://home.t-online.de/home/joe.g/showbot.js and
http://home.t-online.de/home/joe.g/alonein4.htm. And may be you should clear
your cache.
Next insert some text into the downloaded htm-file after the last table.
Open a site in Mozilla and then load the htm-file. Click on the back-Button and
then the forward-Button. Delete the inserted text and insert the text after the
closing body-tag. Reload the page, go back and forward and you will see the
wrong output.
The problem is, that mozilla closes the html-tag with the body-tag, but when it
loads the file from cache, the text entered between body and html is written
after the closing-html-tag and a second closing html-tag is written.
Click at View Page Source in Mozilla.
But I'm sure that in the first comment posted there was no code between the
closing-body-tag and the closing-html-tag ...
I hope you can reproduce the problem.
Comment 6•24 years ago
|
||
According to the last comment I would say that this is a dup of 79983.
So reporter, could you please get a newer build and try to reproduce the problem
again?
Seems to me, that it is a duplicate of the bug 79983.
But another problem is, that mozilla writes two closing html-tags into the
source-code (when viewing it in the internal editor).
But I will check it with a newer version.
Comment 8•24 years ago
|
||
Resolving this bug as dup of 79983 according to the last comment.
Reporter, if you can still reproduce this bug then reopen it.
*** This bug has been marked as a duplicate of 79983 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•