<?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>135001</bug_id>
          
          <creation_ts>2014-07-16 18:31:41 -0700</creation_ts>
          <short_desc>Web Inspector: TextContentView calls the wrong super function in shown()</short_desc>
          <delta_ts>2014-07-17 13:34:50 -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>Web Inspector</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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="Saam Barati">saam</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>graouts</cc>
    
    <cc>joepeck</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1022905</commentid>
    <comment_count>0</comment_count>
    <who name="Saam Barati">saam</who>
    <bug_when>2014-07-16 18:31:41 -0700</bug_when>
    <thetext>TextContentView calls ResourceContentView.shown instead of ContentView.shown.
It should call ContentView.shown because ContentView is its prototype.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1022906</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-07-16 18:31:54 -0700</bug_when>
    <thetext>&lt;rdar://problem/17705592&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1022907</commentid>
    <comment_count>2</comment_count>
      <attachid>235042</attachid>
    <who name="Saam Barati">saam</who>
    <bug_when>2014-07-16 18:35:04 -0700</bug_when>
    <thetext>Created attachment 235042
patch

This fixes the problem.
(Currently, calling the wrong prototype function has no effect, because neither function does anything. But this may not hold in the future).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1022948</commentid>
    <comment_count>3</comment_count>
      <attachid>235042</attachid>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2014-07-16 20:35:36 -0700</bug_when>
    <thetext>Comment on attachment 235042
patch

Nice catch!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1022955</commentid>
    <comment_count>4</comment_count>
      <attachid>235042</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-07-16 21:08:07 -0700</bug_when>
    <thetext>Comment on attachment 235042
patch

Clearing flags on attachment: 235042

Committed r171172: &lt;http://trac.webkit.org/changeset/171172&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1022956</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-07-16 21:08:10 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023041</commentid>
    <comment_count>6</comment_count>
      <attachid>235042</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2014-07-17 10:42:32 -0700</bug_when>
    <thetext>Comment on attachment 235042
patch

Err, the hidden function needs to be updated as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023048</commentid>
    <comment_count>7</comment_count>
    <who name="Saam Barati">saam</who>
    <bug_when>2014-07-17 11:17:02 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; (From update of attachment 235042 [details])
&gt; Err, the hidden function needs to be updated as well.

Ahh I didn&apos;t even see that. I&apos;ll submit that as a patch too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023053</commentid>
    <comment_count>8</comment_count>
      <attachid>235078</attachid>
    <who name="Saam Barati">saam</who>
    <bug_when>2014-07-17 11:22:45 -0700</bug_when>
    <thetext>Created attachment 235078
patch

Corollary patch for the hidden() function.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023079</commentid>
    <comment_count>9</comment_count>
      <attachid>235078</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2014-07-17 13:34:50 -0700</bug_when>
    <thetext>Comment on attachment 235078
patch

Unfortunately this needs a ChangeLog. So perhaps a new bugzilla bug is the right thing to do.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>235042</attachid>
            <date>2014-07-16 18:35:04 -0700</date>
            <delta_ts>2014-07-17 11:22:45 -0700</delta_ts>
            <desc>patch</desc>
            <filename>inspector-patch.diff</filename>
            <type>text/plain</type>
            <size>1460</size>
            <attacher name="Saam Barati">saam</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJJbnNwZWN0b3JVSS9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291
cmNlL1dlYkluc3BlY3RvclVJL0NoYW5nZUxvZwkocmV2aXNpb24gMTcxMTYzKQorKysgU291cmNl
L1dlYkluc3BlY3RvclVJL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE2IEBA
CisyMDE0LTA3LTE2ICBTYWFtIEJhcmF0aSAgPHNiYXJhdGlAYXBwbGUuY29tPgorCisgICAgICAg
IFdlYiBJbnNwZWN0b3I6IFRleHRDb250ZW50VmlldyBjYWxscyB0aGUgd3Jvbmcgc3VwZXIgZnVu
Y3Rpb24gaW4gc2hvd24oKQorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy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3Rvci5UZXh0Q29udGVudFZpZXcucHJvdG90eXBlID0KIAog
ICAgIHNob3duOiBmdW5jdGlvbigpCiAgICAgewotICAgICAgICBXZWJJbnNwZWN0b3IuUmVzb3Vy
Y2VDb250ZW50Vmlldy5wcm90b3R5cGUuc2hvd24uY2FsbCh0aGlzKTsKKyAgICAgICAgV2ViSW5z
cGVjdG9yLkNvbnRlbnRWaWV3LnByb3RvdHlwZS5zaG93bi5jYWxsKHRoaXMpOwogCiAgICAgICAg
IHRoaXMuX3RleHRFZGl0b3Iuc2hvd24oKTsKICAgICB9LAo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>235078</attachid>
            <date>2014-07-17 11:22:45 -0700</date>
            <delta_ts>2014-07-17 13:34:50 -0700</delta_ts>
            <desc>patch</desc>
            <filename>inspector-patch.diff</filename>
            <type>text/plain</type>
            <size>571</size>
            <attacher name="Saam Barati">saam</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJJbnNwZWN0b3JVSS9Vc2VySW50ZXJmYWNlL1ZpZXdzL1RleHRDb250
ZW50Vmlldy5qcwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2ViSW5zcGVjdG9yVUkvVXNlckludGVy
ZmFjZS9WaWV3cy9UZXh0Q29udGVudFZpZXcuanMJKHJldmlzaW9uIDE3MTA4NykKKysrIFNvdXJj
ZS9XZWJJbnNwZWN0b3JVSS9Vc2VySW50ZXJmYWNlL1ZpZXdzL1RleHRDb250ZW50Vmlldy5qcwko
d29ya2luZyBjb3B5KQpAQCAtNzcsNyArNzcsNyBAQCBXZWJJbnNwZWN0b3IuVGV4dENvbnRlbnRW
aWV3LnByb3RvdHlwZSA9CiAKICAgICBoaWRkZW46IGZ1bmN0aW9uKCkKICAgICB7Ci0gICAgICAg
IFdlYkluc3BlY3Rvci5SZXNvdXJjZUNvbnRlbnRWaWV3LnByb3RvdHlwZS5oaWRkZW4uY2FsbCh0
aGlzKTsKKyAgICAgICAgV2ViSW5zcGVjdG9yLkNvbnRlbnRWaWV3LnByb3RvdHlwZS5oaWRkZW4u
Y2FsbCh0aGlzKTsKIAogICAgICAgICB0aGlzLl90ZXh0RWRpdG9yLmhpZGRlbigpOwogICAgIH0s
Cg==
</data>
<flag name="review"
          id="259623"
          type_id="1"
          status="+"
          setter="timothy"
    />
          </attachment>
      

    </bug>

</bugzilla>