Closed Bug 16385 Opened 25 years ago Closed 25 years ago

IFRAME's content doesn't change when Reload button is pressed

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: r_rom, Assigned: pollmann)

Details

(Keywords: testcase, Whiteboard: [TESTCASE])

Attachments

(3 files)

Build #: 10-13-99 STEPS TO REPRODUCE: 1. Load the following: <html> <body> <IFRAME ID="IFrame1" FRAMEBORDER="1" SCROLLING="no" SRC="test.htm" height=500 width=600></IFRAME> </body> </html> Note: assign SRC attribute a valid file name. 2. Modify the loaded file so that SCR attribute points to a different file. 3. Press Reload button. EXPECTED: Contents of IFRAME should update appropriately. RESULTS: IFRAME still displays the original file. Although, viewing source of the page shows the new file name assigned to SRC attribute. IMPORTANT: Pressing ENTER in the URL bar forces the IFRAME to update its content (as expected).
Assignee: don → karnaze
Component: Browser-General → HTMLFrames
Changing to HTMLFrames component and reassigning. Was tempted to raise to major, but didn't.
Assignee: karnaze → pollmann
Reassigning to Eric.
Status: NEW → ASSIGNED
OS: Windows NT → All
Hardware: HP → All
Resetting QA contact from leger.
Whiteboard: [TESTCASE]
Target Milestone: M15
Created test files. To repro: 1) Save attached iframe.html, test.htm, test1.htm to same directory 2) Open iframe.html 3) Edit iframe.html to point at test1.htm 4) Click reload button; still shows test.htm Reproduced in Commercial 12/16 1999121608 on WinNT 4.0 SP3. Setting to M15.
This is pretty darn weird... If I make any other changes to the page that contains the iframe, they are reflected correctly when reload is pressed, also, if I add, say, a script that probes the DOM, it appears that the content model is being correctly updated. It must be that the iframe's frame is being cached away somewhere then restored. How? I don't know... <html> <body> <IFRAME ID="IFrame1" SRC="foo.html" height=500 width=600></IFRAME> <script>dump(document.getElementById("IFrame1").src)</script> </body> </html>
Bulk moving [testcase] code to new testcase keyword. Sorry for the spam!
Keywords: testcase
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
This works for me now in the latest build. To verify, first create a file that contains this, and open it up in mozilla: <html> <body> <iframe src="http://mozilla.org"></iframe> </body> </html> While you are still looking at this page in mozilla, use a text editor to reopen the file and edit it so that it looks like this (change src on iframe): <html> <body> <iframe src="http://tinderbox.mozilla.org"></iframe> </body> </html> Save the file using your text editor. Click reload in mozilla. The iframe should now display tinderbox. If it does, this bug is fixed, thanks!
It works for me now too.
Fixed in the May 22 build.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
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.

Attachment

General

Created:
Updated:
Size: