<?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>104961</bug_id>
          
          <creation_ts>2012-12-13 14:52:42 -0800</creation_ts>
          <short_desc>Add a missing nullity check in RenderObject::containingBlock</short_desc>
          <delta_ts>2012-12-13 19:33:37 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>vollick</reporter>
          <assigned_to>vollick</assigned_to>
          <cc>adamk</cc>
    
    <cc>eric</cc>
    
    <cc>fishd</cc>
    
    <cc>ojan.autocc</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>790970</commentid>
    <comment_count>0</comment_count>
    <who name="">vollick</who>
    <bug_when>2012-12-13 14:52:42 -0800</bug_when>
    <thetext>At one point we assert that !o-&gt;isAnonymousBlock(), but it&apos;s quite possible that o is null.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>790973</commentid>
    <comment_count>1</comment_count>
      <attachid>179347</attachid>
    <who name="">vollick</who>
    <bug_when>2012-12-13 14:54:04 -0800</bug_when>
    <thetext>Created attachment 179347
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>790976</commentid>
    <comment_count>2</comment_count>
      <attachid>179347</attachid>
    <who name="Adrienne Walker">enne</who>
    <bug_when>2012-12-13 14:59:18 -0800</bug_when>
    <thetext>Comment on attachment 179347
Patch

R=me.  That looks safe.  Later in the function there&apos;s a similar !o || !o-&gt;foo() assert.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>791040</commentid>
    <comment_count>3</comment_count>
      <attachid>179347</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-12-13 15:53:36 -0800</bug_when>
    <thetext>Comment on attachment 179347
Patch

Clearing flags on attachment: 179347

Committed r137674: &lt;http://trac.webkit.org/changeset/137674&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>791041</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-12-13 15:53:39 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>791203</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-12-13 18:19:18 -0800</bug_when>
    <thetext>Why didn&apos;t this patch have a regression test? It&apos;s not OK to ignore those for fixes made through code inspection (I&apos;d say that it&apos;s even more important for those fixes).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>791249</commentid>
    <comment_count>6</comment_count>
    <who name="">vollick</who>
    <bug_when>2012-12-13 19:33:37 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; Why didn&apos;t this patch have a regression test? It&apos;s not OK to ignore those for fixes made through code inspection (I&apos;d say that it&apos;s even more important for those fixes).

This patch was not initiated by code inspection, it was made to fix a debug-only crash in a layout test http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=fullscreen%2Ffull-screen-fixed-pos-parent.html%2Cfullscreen%2Ffull-screen-iframe-without-allow-attribute-allowed-from-parent.html

The crash resulted from asking a valid RenderObject what its containing block was -- something that, I believe, shouldn&apos;t run you the risk of crashing -- and appeared to be an oversight when the assertion was written.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>179347</attachid>
            <date>2012-12-13 14:54:04 -0800</date>
            <delta_ts>2012-12-13 15:53:36 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-104961-20121213175124.patch</filename>
            <type>text/plain</type>
            <size>1553</size>
            <attacher>vollick</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTM3NjU1CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggM2MxNjc3MjdiZDFiZTU5
ZTI2NDk2MjM5MzI4YjJlY2EzMGM1ZjI2My4uYjNmYWJiZjcwZDc4NTkxNGZmOTIxMWI4NTYwNjk5
NTA2NDRiMDU1OSAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSw1ICsxLDE5IEBACiAyMDEyLTEyLTEzICBJYW4g
Vm9sbGljayAgPHZvbGxpY2tAY2hyb21pdW0ub3JnPgogCisgICAgICAgIEFkZCBhIG1pc3Npbmcg
bnVsbGl0eSBjaGVjayBpbiBSZW5kZXJPYmplY3Q6OmNvbnRhaW5pbmdCbG9jaworICAgICAgICBo
dHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTA0OTYxCisKKyAgICAgICAg
UmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgQWRkcyBhIG1pc3NpbmcgbnVs
bGl0eSBjaGVjayBpbiBhbiBhc3NlcnQuCisKKyAgICAgICAgTm8gbmV3IHRlc3RzLCBubyBjaGFu
Z2UgaW4gZnVuY3Rpb25hbGl0eS4KKworICAgICAgICA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