[Webkit-unassigned] [Bug 20926] New: reload of page with an iframe does not refresh iframe content, even if iframe src url changed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 18 17:07:31 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=20926

           Summary: reload of page with an iframe does not refresh iframe
                    content, even if iframe src url changed
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Frames
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: antony at asargent.com


Navigate to an html page with some content followed by an iframe tag. Now make
a change to the contents and make the iframe src attribute point to a different
url. Hit browser reload button, notice that the "outer" content is refreshed
but the iframe content still points to the content at the old url. This problem
happens with Safari 3.1.2 (525.21), the latest WebKit nightly build (36446),
and Chrome 0.2.149.30. It does not happen in Firefox 3.0.1 or IE 7.0.7530.13.


Here is the source to two example php files to reproduce the problem:

iframe.php
----------
<?php
$ts = date('U');
?>
<html>
<body>
<p>
Timestamp is <?= $ts ?>
</p>
<iframe src="report_url.php?foo=<?= $ts ?>"
        width="75%" frameborder="1"></iframe>
</body>
</html>


report_url.php
--------------
<html>
<body>
<?php echo $_SERVER['REQUEST_URI'] . "\n"; ?>
</body>
</html>


While this example just changes the value of the foo get parameter, the problem
also happens if you change the iframe src url to another path on the same
server or another server alltogether.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list