Closed Bug 36371 Opened 25 years ago Closed 25 years ago

Meta refresh refreshes browser even after you navigate elsewhere

Categories

(Core :: Networking, defect, P2)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: jwbaker, Assigned: mscott)

References

()

Details

(Whiteboard: [dogfood+])

Attachments

(2 files)

Meta refresh is being honored for pages which you are no longer viewing. This causes Mozilla to take you away from the page you are currently viewing and back to some page in the past. This is i686-pc-linux-gnu Build 2000041908 (M16). To reproduce: 1: Start Mozilla 2: Visit http://cbs.marketwatch.com/ 3: Visit http://www.yahoo.com/ 4: Wait 300 seconds 5: Mozilla yanks you back to marketwatch The expected behavior is that Mozilla does nothing. For your bug-hunting enjoyment, I have distilled this bug down to a tiny attachment which has a refresh of only 15 seconds. I will attach it next.
Same behaviour in yesterdays 2000-041816 M16 linux
Confirming this on Linux build 2000.04.19.08-M16.
Status: UNCONFIRMED → NEW
Ever confirmed: true
->jud
Assignee: gagan → valeski
this must have changed during the webshell changes. travis, the old webshell used to cancel any outstanding refresh timers (nsIRefresh stuff). I bet that's broken now.
Assignee: valeski → travis
Blocks: 32049
Try going to : http://www.abika.com/wd (sample page with 15-second refresh) Then (within 15 seconds) type in http://www.mozilla.org When the 15 seconds are up... bam! Back to the meta refresh page. (I just figured this would be a nicer example than waiting 300 seconds at CBS Marketwatch) -WD
Thanks for the effort wdormann@crosswinds.net, but I created a 15-second test and attached it when the bug was originally reported :) http://bugzilla.mozilla.org/showattachment.cgi?attach_id=7741
cc'ing myself and radha. changing platform/OS to all - this is sooo XP. and grooving for some beta2 love.
Keywords: nsbeta2
OS: Linux → All
Hardware: PC → All
*** Bug 36767 has been marked as a duplicate of this bug. ***
*** Bug 36712 has been marked as a duplicate of this bug. ***
http://tinderbox.mozilla.org/seamonkey/panel.html triggers it too (maybe with a twist according to puetzk on irc) and has <a target='_content' ..> which might screw up some more.
I believe this bug happens because sockets to previous visited sites aren't being closed/killed when you leave the site. Thus "foreign" servers can reactivate the sockets. Please see bug 35150 - marked fixed but there are still severe problems "if you ask me". [Related "opposite case": bug 35844]
*** Bug 37283 has been marked as a duplicate of this bug. ***
*** Bug 37283 has been marked as a duplicate of this bug. ***
Marking as dogfood. I keep getting bit in the ass by this bug. I have mynetscape.com as my default home page that has a refresh of 5 minutes. Now, when entering something like a bug report in bugzilla, if I'm writing a long report, mynetscape gets loaded on top of my buzilla report and I lose my data. Very frustrating..definetly dogfood. Since Travis is out this week, I'll try to take a look and fix this myself.
Severity: normal → critical
Keywords: dogfood
Priority: P3 → P2
I have a fix for this in my tree. I will post the patch to this bug report.
Attached patch fix for this bug. (deleted) — Splinter Review
docshell was only clearing the refresh timers when a url was redirected to the browser window. So justloading a new url in the browser wasn't clearing the timers. I just added code to force this to happen. Travis, I hope you don't mind bug I'm going to take this bug from you so I can check in my fix.
Assignee: travis → mscott
thanks for fixings this, mscott. this bug has been messing me up for a while now. (accepting for mscott)
Status: NEW → ASSIGNED
*** Bug 37630 has been marked as a duplicate of this bug. ***
*** Bug 37631 has been marked as a duplicate of this bug. ***
This bug was driving me batty so I took it from Travis and just checked in the fix.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Setting to [dogfood-] radar.
Whiteboard: [dogfood+]
verified on Linux build 2000050208
Status: RESOLVED → VERIFIED
*** Bug 65805 has been marked as a duplicate of this bug. ***
Take a look at http://www.lifosa.com/~kaspar/framebug/frref.html and you will wish to reopen this bug.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: