<?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>59223</bug_id>
          
          <creation_ts>2011-04-22 12:51:57 -0700</creation_ts>
          <short_desc>REGRESSION (r82185): iframe not displayed after navigation back to cached page</short_desc>
          <delta_ts>2011-04-22 16:04:36 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Beth Dakin">bdakin</reporter>
          <assigned_to name="Beth Dakin">bdakin</assigned_to>
          <cc>abarth</cc>
    
    <cc>bdakin</cc>
    
    <cc>eric</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>390983</commentid>
    <comment_count>0</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2011-04-22 12:51:57 -0700</bug_when>
    <thetext>* SUMMARY
After navigating back to a page in the page cache with an iframe, the iframe is not loaded.

* STEPS TO REPRODUCE
1. Navigate to &lt;data:text/html,%3ciframe%20src=%22http://webkit.org/%22%3E%3C/iframe%3E&gt;
2. Navigate in the same tab to &lt;about:blank&gt;
3. Go back

* RESULTS
The iframe is now empty

* NOTES
Only happens if the back/forward cache is enabled.

This is a regression from http://trac.webkit.org/changeset/82185

Patch forthcoming!

&lt;rdar://problem/9323763&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>390990</commentid>
    <comment_count>1</comment_count>
      <attachid>90745</attachid>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2011-04-22 13:04:44 -0700</bug_when>
    <thetext>Created attachment 90745
Patch

I made a test that works for this in Safari, but it is not a valid DRT test since it passes in DRT even without my patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>391100</commentid>
    <comment_count>2</comment_count>
      <attachid>90745</attachid>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2011-04-22 14:54:27 -0700</bug_when>
    <thetext>Comment on attachment 90745
Patch

What&apos;s different about DRT? IS it the fact that DRT doesn&apos;t use overlay scrollers? I&apos;d suggest at least adding it as a manual test so we don&apos;t forget about it. r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>391109</commentid>
    <comment_count>3</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2011-04-22 14:59:12 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 90745 [details])
&gt; What&apos;s different about DRT? IS it the fact that DRT doesn&apos;t use overlay scrollers? I&apos;d suggest at least adding it as a manual test so we don&apos;t forget about it. r=me

No, the bug occurs with all types of scrollbars. For some reason DRT just lays out and paints the iframe after going back to the page, which is not true in Safar/WebKit without this patch. I thought it would at least work as a pixel test, but it does not. There must be something sufficiently different about about DRT&apos;s back mechanism and &quot;back&quot; in the browser that causes the necessary layout to happen. I can add it as a manual test though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>391118</commentid>
    <comment_count>4</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2011-04-22 15:03:37 -0700</bug_when>
    <thetext>Do we have manual tests checked in anymore? I can&apos;t seem to find them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>391124</commentid>
    <comment_count>5</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2011-04-22 15:11:02 -0700</bug_when>
    <thetext>Committed the change with revision 84688. Not sure if there&apos;s a place for my still-manual test, so I will just hold onto it for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>391156</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-04-22 15:34:50 -0700</bug_when>
    <thetext>&gt; Do we have manual tests checked in anymore? I can&apos;t seem to find them.

Source/WebCore/manual-tests. Not that anyone ever runs those.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>391160</commentid>
    <comment_count>7</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2011-04-22 15:37:13 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; &gt; Do we have manual tests checked in anymore? I can&apos;t seem to find them.
&gt; 
&gt; Source/WebCore/manual-tests. Not that anyone ever runs those.

WebCore! That&apos;s where they are hiding. Yeah, it&apos;s not super useful, but I will check it in there anyway.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>391163</commentid>
    <comment_count>8</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2011-04-22 15:43:08 -0700</bug_when>
    <thetext>Manual test added with revision 84694.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>391178</commentid>
    <comment_count>9</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-04-22 16:04:10 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/84688 might have broken SnowLeopard Intel Release (Build)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>391183</commentid>
    <comment_count>10</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-04-22 16:04:32 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/84694 might have broken SnowLeopard Intel Release (Build)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>391184</commentid>
    <comment_count>11</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-04-22 16:04:36 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/84695 might have broken SnowLeopard Intel Release (Build)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>90745</attachid>
            <date>2011-04-22 13:04:44 -0700</date>
            <delta_ts>2011-04-22 14:54:27 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>for-review.txt</filename>
            <type>text/plain</type>
            <size>2497</size>
            <attacher name="Beth Dakin">bdakin</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDg0NjYzKQorKysgU291cmNlL1dlYkNvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMjEgQEAKKzIwMTEtMDQtMjIgIEJldGggRGFr
aW4gIDxiZGFraW5AYXBwbGUuY29tPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09Q
UyEpLgorCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD01
OTIyMworICAgICAgICBSRUdSRVNTSU9OIChyODIxODUpOiBpZnJhbWUgbm90IGRpc3BsYXllZCBh
ZnRlciBuYXZpZ2F0aW9uIGJhY2sgdG8gY2FjaGVkIHBhZ2UKKyAgICAgICAgLWFuZCBjb3JyZXNw
b25kaW5nLQorICAgICAgICA8cmRhcjovL3Byb2JsZW0vOTMyMzc2Mz4KKworICAgICAgICBDYWNo
ZSB0aGUgc2Nyb2xsIHBvc2l0aW9uIGluIERvY3VtZW50OjpzZXRJblBhZ2VDYWNoZSgpIGluc3Rl
YWQgb2YgCisgICAgICAgIEZyYW1lVmlldzo6cmV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BiZWluZyBjbGVhcmVkLCB0aGUgc2Nyb2xsIHBvc2l0aW9u
IHdpbGwgbG9zdCBhcyBhIGNvbnNlcXVlbmNlLgotICAgIC8vIENhY2hlIHRoZSBzY3JvbGwgcG9z
aXRpb24gc28gaXQgY2FuIGJlIHJlc3RvcmVkIGJ5IHRoZSBwYWdlIGNhY2hlIGlmIG5lY2Vzc2Fy
eS4gCi0gICAgY2FjaGVDdXJyZW50U2Nyb2xsUG9zaXRpb24oKTsKLQogICAgIHJlc2V0U2Nyb2xs
YmFycygpOwogCiAgICAgc2V0U2Nyb2xsYmFyc1N1cHByZXNzZWQodHJ1ZSk7Cg==
</data>
<flag name="review"
          id="83508"
          type_id="1"
          status="+"
          setter="mjs"
    />
          </attachment>
      

    </bug>

</bugzilla>