<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>18365</bug_id>
          
          <creation_ts>2008-04-08 08:10:18 -0700</creation_ts>
          <short_desc>wrong iframes get loaded after page reload</short_desc>
          <delta_ts>2008-04-09 00:17:15 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Page Loading</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>3580</dup_id>
          
          <bug_file_loc>http://www.craesh.net/script.php</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Sacher Khoudari">webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>76612</commentid>
    <comment_count>0</comment_count>
    <who name="Sacher Khoudari">webkit</who>
    <bug_when>2008-04-08 08:10:18 -0700</bug_when>
    <thetext>I have several similar iframes on one page. The URL of iframes differ only on one argument, the ID. If I reload the container page, but some of the iframes are missing, the remaining iframes don&apos;t get displayed as they should. Instead, only the first ones get displayed in their original (the first time you loaded that page) order, ignoring the later ones. The URL of the remaining iframes are ignored.

Please refer to the example at http://www.craesh.net/script.php to get the picture. Firefox 2.0 and Opera 9.24 work as expected. Click on the button of the _first_ iframe and reload the page. Iframes with IDs 2 to 5 will get displayed. But Safari (3.0.4 5523.15) will display the iframes with the IDs 1 to 4.

I&apos;ll attach the PHP script I&apos;ve created as a testcase.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76613</commentid>
    <comment_count>1</comment_count>
      <attachid>20406</attachid>
    <who name="Sacher Khoudari">webkit</who>
    <bug_when>2008-04-08 08:15:41 -0700</bug_when>
    <thetext>Created attachment 20406
testcase (PHP)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76614</commentid>
    <comment_count>2</comment_count>
    <who name="Sacher Khoudari">webkit</who>
    <bug_when>2008-04-08 08:21:21 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Created an attachment (id=20406) [edit]
&gt; testcase (PHP)
&gt; 

Note: the testcase makes use of cookies to know which iframes it should display. You should allow cookies to see the effects (although they aren&apos;t relevant for this bug).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76695</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-04-09 00:17:15 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 3580 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>20406</attachid>
            <date>2008-04-08 08:15:41 -0700</date>
            <delta_ts>2008-04-08 08:15:41 -0700</delta_ts>
            <desc>testcase (PHP)</desc>
            <filename>script.php</filename>
            <type>application/octet-stream</type>
            <size>1176</size>
            <attacher name="Sacher Khoudari">webkit</attacher>
            
              <data encoding="base64">PD9waHAKZnVuY3Rpb24gcHJpbnRfaGVhZGVyKCkgewoJZWNobyAiPCFET0NUWVBFIGh0bWwgUFVC
TElDIFwiLS8vVzNDLy9EVEQgSFRNTCA0LjAxLy9FTlwiPjxodG1sPjxib2R5PlxuIjsKfQoKaWYg
KCBpc3NldCgkX0dFVFsnaWQnXSkgKSB7CgkkaWQgPSAkX0dFVFsnaWQnXTsKCWlmICggaXNzZXQo
JF9QT1NUWydjbGlja2VkJ10pICkgc2V0Y29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