<?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>160187</bug_id>
          
          <creation_ts>2016-07-25 23:20:50 -0700</creation_ts>
          <short_desc>Regression(r203535): Uncaught Exception: TypeError: Not enough arguments at LayerTreeDataGridNode.js:47</short_desc>
          <delta_ts>2016-07-27 09:15:41 -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>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://cookingaddict.net/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>160047</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Benjamin Poulain">benjamin</reporter>
          <assigned_to name="Blaze Burg">bburg</assigned_to>
          <cc>bburg</cc>
    
    <cc>cdumez</cc>
    
    <cc>commit-queue</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>joepeck</cc>
    
    <cc>mattbaker</cc>
    
    <cc>nvasilyev</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1214465</commentid>
    <comment_count>0</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2016-07-25 23:20:50 -0700</bug_when>
    <thetext>-------
Inspected URL:        http://cookingaddict.net/
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/603.1.1+ (KHTML, like Gecko)

Uncaught Exceptions:
 - TypeError: Not enough arguments (at LayerTreeDataGridNode.js:47:131)
    createTextNode @ [native code]
    createCellContent @ LayerTreeDataGridNode.js:47:131
    createCell @ DataGridNode.js:361:45
    createCells @ DataGridNode.js:111:54
    createCells @ LayerTreeDataGridNode.js:40:26
    element @ DataGridNode.js:104:25
    _updateVisibleRows @ DataGrid.js:1070:47
    layout @ DataGrid.js:852:32
    _layoutSubtree @ View.js:250:20
    updateLayout @ View.js:147:28
    updateLayoutIfNeeded @ View.js:155:26
    _sortNodesCallback @ DataGrid.js:1344:38
    _sortNodesCallback @ [native code]
-------

* STEPS TO REPRODUCE
1. What were you doing? Include setup or other preparations to reproduce the exception.
2. Include explicit, accurate, and minimal steps taken. Do not include extraneous or irrelevant steps.

* NOTES
Document any additional information that might be useful in resolving the problem, such as screen shots or other included attachments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1214466</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2016-07-25 23:21:19 -0700</bug_when>
    <thetext>&lt;rdar://problem/27540435&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1214467</commentid>
    <comment_count>2</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2016-07-25 23:23:19 -0700</bug_when>
    <thetext>To reproduce:
-Open http://cookingaddict.net
-Right click on the slider-&gt;Inspect
-Click on the div with id=&quot;defilhor&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1214555</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2016-07-26 09:31:51 -0700</bug_when>
    <thetext>var cell = columnIdentifier === &quot;name&quot; ? this._makeNameCell() : this._makeOutlet(columnIdentifier, document.createTextNode());

Parameter to createTextNode() is mandatory after:
http://trac.webkit.org/changeset/203535

document.createTextNode() was identical to calling document.createTextNode(&quot;undefined&quot;) :/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1214567</commentid>
    <comment_count>4</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2016-07-26 09:54:18 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; var cell = columnIdentifier === &quot;name&quot; ? this._makeNameCell() :
&gt; this._makeOutlet(columnIdentifier, document.createTextNode());
&gt; 
&gt; Parameter to createTextNode() is mandatory after:
&gt; http://trac.webkit.org/changeset/203535
&gt; 
&gt; document.createTextNode() was identical to calling
&gt; document.createTextNode(&quot;undefined&quot;) :/

Oops! This is in view code so we didn&apos;t have any coverage for that change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1214631</commentid>
    <comment_count>5</comment_count>
      <attachid>284619</attachid>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2016-07-26 12:41:39 -0700</bug_when>
    <thetext>Created attachment 284619
Proposed Fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1214634</commentid>
    <comment_count>6</comment_count>
      <attachid>284619</attachid>
    <who name="Nikita Vasilyev">nvasilyev</who>
    <bug_when>2016-07-26 13:09:34 -0700</bug_when>
    <thetext>Comment on attachment 284619
Proposed Fix

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

Looks good, but I&apos;m not a reviewer to r+ it.

&gt; Source/WebInspectorUI/UserInterface/Views/LayerTreeDataGridNode.js:47
&gt; +        cell = columnIdentifier === &quot;name&quot; ? this._makeNameCell() : this._makeOutlet(columnIdentifier, document.createTextNode(&quot;â&quot;));

â is an em dash. Our bugzilla doesn&apos;t handle unicode that well, apparently.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1214906</commentid>
    <comment_count>7</comment_count>
    <who name="Nikita Vasilyev">nvasilyev</who>
    <bug_when>2016-07-27 08:33:17 -0700</bug_when>
    <thetext>*** Bug 160250 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1214934</commentid>
    <comment_count>8</comment_count>
      <attachid>284619</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-07-27 09:15:36 -0700</bug_when>
    <thetext>Comment on attachment 284619
Proposed Fix

Clearing flags on attachment: 284619

Committed r203778: &lt;http://trac.webkit.org/changeset/203778&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1214935</commentid>
    <comment_count>9</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-07-27 09:15:41 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>284619</attachid>
            <date>2016-07-26 12:41:39 -0700</date>
            <delta_ts>2016-07-27 09:15:36 -0700</delta_ts>
            <desc>Proposed Fix</desc>
            <filename>bug-160187-20160726124030.patch</filename>
            <type>text/plain</type>
            <size>1989</size>
            <attacher name="Blaze Burg">bburg</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjAzNzI3CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViSW5zcGVj
dG9yVUkvQ2hhbmdlTG9nIGIvU291cmNlL1dlYkluc3BlY3RvclVJL0NoYW5nZUxvZwppbmRleCA5
YTM4ZDkzNzM0MmY1NWU5NTQzYmEwNTc1MmU0NDVkYzZhOGNmOWQ4Li5lOTRkOTZkMjNmMTkxYzA3
NTU5NGFkNDRlMWMzZWNiOTdhNTBjY2QyIDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViSW5zcGVjdG9y
VUkvQ2hhbmdlTG9nCisrKyBiL1NvdXJjZS9XZWJJbnNwZWN0b3JVSS9DaGFuZ2VMb2cKQEAgLTEs
MyArMSwxOSBAQAorMjAxNi0wNy0yNiAgQnJpYW4gQnVyZyAgPGJidXJnQGFwcGxlLmNvbT4KKwor
ICAgICAgICBSZWdyZXNzaW9uKHIyMDM1MzUpOiBVbmNhdWdodCBF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