Closed Bug 77359 Opened 23 years ago Closed 15 years ago

Page with meta refresh set to 0 don't execute body onload tag

Categories

(SeaMonkey :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME
Future

People

(Reporter: ykoehler, Assigned: jag+mozilla)

Details

Attachments

(1 file)

Ok here I'm totally unsure if it's a bug but anyway I know the behavior differ
from IE and I think IE is right on this one.

I have a web page with the tag "<meta http-equiv="refresh" content="0;
URL=http://www.yahoo.com">" this indicate to re-direct the browser to a new
location.  Inside the body of the same page I have a <body
onload="opensessionwin();"> but this call is never made.

I think that even thought the redirect is present, the body onload should be
called.  IE does that opera not tested.

Netscape 4.75 and Mozilla don't.
Could you attach a testcase and specify which build/os/platform you are using?
Go to http://estore.alltel.com and you'll see a blank white page.  Do a view
source, and you'll see an onLoad event handler attached to the body tag.  My
razor sharp reverse engineering skills tell me that the handler should redirect
the browser to Dispatch.jsp but that never happens.

Both of these instances could be releated to bug 3140 but I could be wrong.

kz
Jag, isn't this something you were recently working on?
Assignee: asa → jag
Mass move to jaggernaut@netscape.com
Assignee: jag → jaggernaut
->future
Target Milestone: --- → Future
I'm seeing the same problem on http://www.webads.nl , it should open a popup
with their privacy policy and then redirect to their website, instead, it just
redirects. 

I downloaded the HTML, changed the refresh to 1 second, and it works as expected.
Product: Browser → Seamonkey
This bug is being marked EXPIRED as it has seen no activity in a very long time.

If you think that the issue reported might still be relevant, please test with a recent release of SeaMonkey and if the problem persists feel free to re-open the report. Thank you.

http://www.seamonkey-project.org/
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → EXPIRED
Attached file Simple testcase
This seems to have been fixed. I get prompted before being redirected. I also tried window.open() and that works too (if you allow popups). Basically, onload gets executed, followed by the redirect.
Resolution: EXPIRED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: