Closed Bug 320792 Opened 19 years ago Closed 11 years ago

Infinite loop during js reload of frameset(frame src ignored)

Categories

(Core :: DOM: Navigation, defect)

1.8 Branch
x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: hincubator, Unassigned)

Details

(Keywords: testcase)

Attachments

(2 files)

1.61 KB, application/octet-stream
Details
2.15 KB, application/octect-stream
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 It looks like src attribute of frame tag is ignored during programmatical reload of page containing that frameset. Reload button causes same effect, but Go button works ok. Reproducible: Always Steps to Reproduce: 1.Open index.html from testcase 2.Go to "Next content" page by link 3.Go to "page" link, which internally calls top.window.location.reload(true); 4.Enjoy infinite loop Actual Results: Infinite loop caused by continious opening of reload.html, loading of work.html is expected during reloading of index.html(src attribute of frame tag) Expected Results: Reloading of index.html and opening of nav.html and work.html in corresponding frames. My web application(servlets, jsp) dynamically generates content for nav(.html) and work(.html) depending on user logged in. reload.html technique is used to actualize frames during login logoff actions. This works for IE 6, Opera 7.xx. Also worked for Firefox 1.0 - 1.0.x not sure about last ver. it worked on. Uncommenting alert("Index (re)loaded"); in index.html shows that reload of index occures, but frame content is from previous page, not from value in src attribute
Summary: Infinite loop during js reload of frameset → Infinite loop during js reload of frameset(frame src ignored)
Looking at e.g. bug 181407 this seems to be intentional(?), at least for manual reloads. Moving to Core: Session History for further consideration.
Component: General → History: Session
Keywords: testcase
Product: Firefox → Core
QA Contact: general → history.session
Version: unspecified → 1.8 Branch
Component: History: Session → Document Navigation
QA Contact: history.session → docshell
Attached file A demo for this bug
I have the same issue, like these (i think): https://bugzilla.mozilla.org/show_bug.cgi?id=402565 https://bugzilla.mozilla.org/show_bug.cgi?id=243164 I have prepared a demo for this bug here: http://www.custommania.com/firefoxBug-iframeReloadLoop/ (Also I have attached the files in this post)
per the attached TC (put it temporarily on my server here: http://hallvord.com/temp/moz/bug/firefoxBug-iframeReloadLoop/ ) this works fine now. (Would be nice to have proper and automated tests for it though..)
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: