[Webkit-unassigned] [Bug 30303] Auto page reload when an image is missing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 13 08:06:50 PDT 2009


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


Rüdiger Cordes <rc at opelgt.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |
             Status|RESOLVED                    |UNCONFIRMED




--- Comment #4 from Rüdiger Cordes <rc at opelgt.org>  2009-10-13 08:06:49 PDT ---
Place this php file on a webserver:

<?php
if(isset($_GET['pfad'])) $pfad = $_GET['pfad']; else $pfad = '';
$datei = 'autoreload.txt';
if(!file_exists($datei))
 {
  $dh = fopen($datei,'w');
  flock($dh,LOCK_EX);
  fwrite($dh,'');
  fclose($dh);
 }
$dh = fopen($datei,'r+');
flock($dh,LOCK_EX);
$liste = fread($dh,filesize($datei));
$term = explode("\n",$liste);
if($liste == '' OR count($term) > 20) $liste = time();
else $liste .= "\n".time();
rewind($dh);
ftruncate($dh,0);
fwrite($dh,$liste);
fclose($dh);
$liste = explode("\n",$liste);
$anz = count($liste);
echo '<HTML>
<HEAD>
</HEAD>
<BODY>
 <P>Hier ist die Grafik ohne Pfadangabe <img src="'.$pfad.'">.</P>
 <P>Hier kommen die Aufrufzeitpunkte:<br>'."\n";
for($i = 0; $i < $anz; $i++) echo date('j.n.Y g:i:s',$liste[$i])."<br>\n";
echo '</P>
</BODY>
</HTML>';
?>

Opening this file with Safari with pfad=xyz adds one access time per call.
Opening this file with Safari with pfad= adds two access times per call.

The only thing we have to investigate now is, what is necessary to bring Safari
in such a behaviour.

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


More information about the webkit-unassigned mailing list