<?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>136590</bug_id>
          
          <creation_ts>2014-09-05 16:24:30 -0700</creation_ts>
          <short_desc>Doing a navigation on a non-opaque WKWebView can result in an empty layer tree</short_desc>
          <delta_ts>2014-09-05 17:14:38 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</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="Tim Horton">thorton</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>sam</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1033584</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2014-09-05 16:24:30 -0700</bug_when>
    <thetext>FrameView::setTransparent uses FrameView::renderView to get the RenderView from the Document, but setTransparent can be called from Frame::createView, which is before the new Document has been swapped in, so it gets the old (pre-navigation) RenderView, and uses that to schedule a compositing layer update, which eventually comes through and can blow away the new document&apos;s layer tree.

rdar://problem/18234000</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1033586</commentid>
    <comment_count>1</comment_count>
      <attachid>237719</attachid>
    <who name="Tim Horton">thorton</who>
    <bug_when>2014-09-05 16:28:15 -0700</bug_when>
    <thetext>Created attachment 237719
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1033592</commentid>
    <comment_count>2</comment_count>
      <attachid>237719</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2014-09-05 16:42:22 -0700</bug_when>
    <thetext>Comment on attachment 237719
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=237719&amp;action=review

&gt; Source/WebCore/ChangeLog:9
&gt; +        Reviewed by NOBODY (OOPS!).
&gt; +
&gt; +        * page/FrameView.cpp:

You fail to explain the &quot;can result in an empty layer tree&quot; part here.

&gt; Source/WebCore/page/FrameView.cpp:2586
&gt; +    if (&amp;renderView-&gt;frameView() != this)
&gt; +        return;

This deserves a comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1033605</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2014-09-05 17:14:38 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/173344</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>237719</attachid>
            <date>2014-09-05 16:28:15 -0700</date>
            <delta_ts>2014-09-05 16:42:22 -0700</delta_ts>
            <desc>patch</desc>
            <filename>rv.diff</filename>
            <type>text/plain</type>
            <size>1597</size>
            <attacher name="Tim Horton">thorton</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJDb3JlL0No
YW5nZUxvZwppbmRleCAzN2MwYTE1Li5hOGY3NDgwIDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViQ29y
ZS9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTkg
QEAKKzIwMTQtMDktMDUgIFRpbSBIb3J0b24gIDx0aW1vdGh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1aWxkIGZpeDsgaW5jbHVkZSBTdHJpbmdQ
cmludFN0cmVhbSB0byBwdWxsIGluIHRvU3RyaW5nKCkuCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2Vi
Q29yZS9wYWdlL0ZyYW1lVmlldy5jcHAgYi9Tb3VyY2UvV2ViQ29yZS9wYWdlL0ZyYW1lVmlldy5j
cHAKaW5kZXggNGYzOGVhYi4uYTcxMDhlOSAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvcGFn
ZS9GcmFtZVZpZXcuY3BwCisrKyBiL1NvdXJjZS9XZWJDb3JlL3BhZ2UvRnJhbWVWaWV3LmNwcApA
QCAtMjU4Miw2ICsyNTgyLDkgQEAgdm9pZCBGcmFtZVZpZXc6OnNldFRyYW5zcGFyZW50KGJvb2wg
aXNUcmFuc3BhcmVudCkKICAgICBpZiAoIXJlbmRlclZpZXcpCiAgICAgICAgIHJldHVybjsKIAor
ICAgIGlmICgmcmVuZGVyVmlldy0+ZnJhbWVWaWV3KCkgIT0gdGhpcykKKyAgICAgICAgcmV0dXJu
OworCiAgICAgUmVuZGVyTGF5ZXJDb21wb3NpdG9yJiBjb21wb3NpdG9yID0gcmVuZGVyVmlldy0+
Y29tcG9zaXRvcigpOwogICAgIGNvbXBvc2l0b3Iuc2V0Q29tcG9zaXRpbmdMYXllcnNOZWVkUmVi
dWlsZCgpOwogICAgIGNvbXBvc2l0b3Iuc2NoZWR1bGVDb21wb3NpdGluZ0xheWVyVXBkYXRlKCk7
Cg==
</data>
<flag name="review"
          id="262461"
          type_id="1"
          status="+"
          setter="simon.fraser"
    />
          </attachment>
      

    </bug>

</bugzilla>