Open Bug 384539 Opened 18 years ago Updated 2 years ago

Refresh on local page does not update iframe content

Categories

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

x86
Windows XP
defect

Tracking

()

People

(Reporter: samjetski, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

194 bytes, application/x-zip-compressed
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 When I the <iframe src="filename.html"> tag is used to display a page from the local harddisk, the page will not load. Reproducible: Always Steps to Reproduce: 1.Write a working web page which uses the tag <iframe src="http://www.google.com/"> to display a page on the web (such as http://www.google.com). 2.Test that this page displays correctly. 3.Create a second working webpage on the local harddisk. 4.Change the <iframe> tag to display this local page from your harddisk. 5.Reload the page. Actual Results: The frame would not load the local page. Expected Results: The frame should display the local page from the harddisk within the frame. My build configuration: ======================= about:buildconfig Build platform target i586-pc-msvc Build tools Compiler Version Compiler flags $(CYGWIN_WRAPPER) cl 12.00.8804 -TC -nologo -W3 -Gy -Fd$(PDBFILE) $(CYGWIN_WRAPPER) cl 12.00.8804 -TP -nologo -W3 -Gy -Fd$(PDBFILE) Configure arguments --enable-application=browser --enable-update-channel=release --enable-official-branding --enable-optimize --disable-debug --disable-tests --enable-static --disable-shared --enable-svg --enable-canvas --enable-update-packaging
WFM with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>html</title> </head> <body> <iframe src="file:///C:/..../Google.htm"> <br> </body> </html> shows Google in the iframe.
Confirmed with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a1pre) Gecko/20090910 Minefield/3.7a1pre The trick here is if local page is loaded with iframe and later you want to change the src of the iframe, it's not updated on F5. I just ran into this and it hindered my work until I figured out why this happens.
Status: UNCONFIRMED → NEW
Component: General → Layout: HTML Frames
Ever confirmed: true
Product: Firefox → Core
QA Contact: general → layout.html-frames
Summary: iframe tag will not load pages from local harddisk → Refresh on local page does not update iframe path
Version: unspecified → Trunk
Attached file testcase
Download this to local directory, unzip, load the page, then change the src and press F5. I tried this on web server and it reloads the frame every time, but on local page F5 does not handle it.
Keywords: testcase
URL: C:\...
Little correction to the summary, I tried with view-source: and there the src is updated. The frame content is not updated on F5.
Summary: Refresh on local page does not update iframe path → Refresh on local page does not update iframe content
Product: Core → Core Graveyard
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: