Closed
Bug 201336
Opened 22 years ago
Closed 20 years ago
Using frames, and in 2 of the frames using javascript timeout for refresh, when doing manual reload of the frameset, random frames will fail to be recognised (wont load any content).
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: pmgration, Unassigned, NeedInfo)
References
()
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705)
Build Identifier: Mozilla 1.3 - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312
Note, URL was not given as user will need login, if QA engineer of Mozilla
would like a login i can give one privately if they would like to contact me,
but would rather not have everyone able to login.
=====================================================
I'm using 1 frameset containing 3 frames.
frame 1 has a javascript function when i click a link that updates the other 2
frames:
function updateframes()
{
parent.thelisttop.location.reload()
parent.thelistbottom.location.reload()
}
thelisttop is top frame and thelistbottom is bottom frame, both of these
frames contain a javascript timeout for refresh like this:
function update()
{
setTimeout("location.reload()",<?php echo $refreshrate2[refresh];?>*1000)
}
The php echo gives the output of 10 in this case.
When the page is loaded first time all the frames are fine and the content of
each frame is correct.
When i click Reload in the mozilla browser, the frameset reloads as expected
but often only 2 frames load, either of the top and bottom will fail to load
and appear that the frame doesn't exist (though in the frameset it's there,
but if you right click on the frame there is no "This Frame >", but sometimes
both frames will load correctly.
I am told (and thought myself) that this could be related to both the manural
reload and the separate frame reload trying to take place at the same time.
Which i asked a friend about who responded with:
> i'll have a look at the inside of mozilla (source)
> it says there is an uncaught exception
> onreload
> i think it's the problem of dueling "refreshers"
> congratulations you've just discovered a bug
> post it to bugzilla
> it seems if you hit the refresh-button and a script tries to refresh...
The problem doesn't give any errors when i reload any of the frames
individually but only when i do a manual reload of mozilla.
This problem doesn't occur in Internet Explorer but does happen in Netscape
(same gecko engine as Mozilla)
In the meantime i need a workaround:
------------------------------------
At the moment it seems my only solution is to re-design the whole lot and use
<div> with auto scroll and include what would be within the frames in those,
can anyone think of any other solution i might be able to use. Meta refresh
didn't seem to be stable either as when i clicked a link from the page with
the meta refresh, the page would not continue it's refresh timer and the only
reason i can see this being is because it lost the focus() but not sure,
doesn't work in the frames though.
Reproducible: Sometimes
Steps to Reproduce:
1. Open URL
2. Login
3. When redirected to next page, 3 frames appear, allow them to refresh if you
like
4. Click Reload in Mozilla menu at top, sometimes top of bottom frame will
hold no content and be as if it does not exist.
Actual Results:
Intermitent problem as mentioned above
Expected Results:
Reloaded the frameset and frames should all load in full with content and all.
got an error when i selected something from the select box named 'component'
id 'component' even on this bug submition page.. maybe someone made an error :P
248 'null' is null or not an object.
Comment 1•21 years ago
|
||
Reporter: does this still happens using a current build?
Can you attach a testcase, so that people don't need to login to that site to
test this?
Comment 2•21 years ago
|
||
->frames
Assignee: asa → nobody
Component: Browser-General → Layout: HTML Frames
QA Contact: asa → core.layout.html-frames
Comment 3•20 years ago
|
||
No URL given. Marking invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Kann ich bestätigen. Javachat mit Frames und das Chatframe wird seit Firefox 35.0.1 nicht mehr geladen.
Flags: needinfo?(pmgration)
Updated•6 years ago
|
Product: Core → Core Graveyard
Assignee | ||
Updated•6 years ago
|
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•