<?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>165422</bug_id>
          
          <creation_ts>2016-12-05 15:08:14 -0800</creation_ts>
          <short_desc>Moved start and end column linking into helper functions</short_desc>
          <delta_ts>2016-12-13 09:45:20 -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>New Bugs</component>
          <version>WebKit 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 name="Geoffrey Garen">ggaren</reporter>
          <assigned_to name="Geoffrey Garen">ggaren</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>keith_miller</cc>
    
    <cc>mark.lam</cc>
    
    <cc>msaboff</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>saam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1256527</commentid>
    <comment_count>0</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2016-12-05 15:08:14 -0800</bug_when>
    <thetext>Moved start and end column linking into helper functions</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256531</commentid>
    <comment_count>1</comment_count>
      <attachid>296198</attachid>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2016-12-05 15:10:46 -0800</bug_when>
    <thetext>Created attachment 296198
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256547</commentid>
    <comment_count>2</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2016-12-05 15:28:24 -0800</bug_when>
    <thetext>Committed r209361: &lt;http://trac.webkit.org/changeset/209361&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256550</commentid>
    <comment_count>3</comment_count>
      <attachid>296198</attachid>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2016-12-05 15:33:41 -0800</bug_when>
    <thetext>Comment on attachment 296198
Patch

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

&gt; Source/JavaScriptCore/bytecode/UnlinkedFunctionExecutable.h:93
&gt; +    unsigned linkedEndColumn(unsigned startColumn) const { return m_lineCount ? m_unlinkedBodyEndColumn : startColumn + m_unlinkedBodyEndColumn; }

This is wrong.  The original code adds 1 to m_unlinkedBodyEndColumn if m_lineCount is non-zero.  You didn&apos;t add 1 here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256620</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-12-05 17:21:52 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Committed r209361: &lt;http://trac.webkit.org/changeset/209361&gt;

LayoutTest js/dom/script-start-end-locations.html is failing after this change: https://build.webkit.org/results/Apple%20El%20Capitan%20Release%20WK2%20(Tests)/r209361%20(11509)/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1259287</commentid>
    <comment_count>5</comment_count>
    <who name="Saam Barati">saam</who>
    <bug_when>2016-12-12 17:33:16 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #2)
&gt; &gt; Committed r209361: &lt;http://trac.webkit.org/changeset/209361&gt;
&gt; 
&gt; LayoutTest js/dom/script-start-end-locations.html is failing after this
&gt; change:
&gt; https://build.webkit.org/results/
&gt; Apple%20El%20Capitan%20Release%20WK2%20(Tests)/r209361%20(11509)/results.html

Has this been fixed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1259408</commentid>
    <comment_count>6</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2016-12-13 09:23:44 -0800</bug_when>
    <thetext>I&apos;ll check today.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1259409</commentid>
    <comment_count>7</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2016-12-13 09:26:07 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #4)
&gt; &gt; (In reply to comment #2)
&gt; &gt; &gt; Committed r209361: &lt;http://trac.webkit.org/changeset/209361&gt;
&gt; &gt; 
&gt; &gt; LayoutTest js/dom/script-start-end-locations.html is failing after this
&gt; &gt; change:
&gt; &gt; https://build.webkit.org/results/
&gt; &gt; Apple%20El%20Capitan%20Release%20WK2%20(Tests)/r209361%20(11509)/results.html
&gt; 
&gt; Has this been fixed?

The test is passing now according to the flakiness dashboard:

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=js%2Fdom%2Fscript-start-end-locations.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1259412</commentid>
    <comment_count>8</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2016-12-13 09:45:20 -0800</bug_when>
    <thetext>Nice!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>296198</attachid>
            <date>2016-12-05 15:10:46 -0800</date>
            <delta_ts>2016-12-05 15:16:29 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-165422-20161205151014.patch</filename>
            <type>text/plain</type>
            <size>2998</size>
            <attacher name="Geoffrey Garen">ggaren</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09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B7IHJldHVybiBtX3VubGlua2VkQm9keVN0YXJ0Q29sdW1uICsgKCFtX2ZpcnN0TGluZU9m
ZnNldCA/IHBhcmVudFN0YXJ0Q29sdW1uIDogMSk7IH0KKyAgICB1bnNpZ25lZCBsaW5rZWRFbmRD
b2x1bW4odW5zaWduZWQgc3RhcnRDb2x1bW4pIGNvbnN0IHsgcmV0dXJuIG1fbGluZUNvdW50ID8g
bV91bmxpbmtlZEJvZHlFbmRDb2x1bW4gOiBzdGFydENvbHVtbiArIG1fdW5saW5rZWRCb2R5RW5k
Q29sdW1uOyB9CiAgICAgdW5zaWduZWQgdW5saW5rZWRGdW5jdGlvbk5hbWVTdGFydCgpIGNvbnN0
IHsgcmV0dXJuIG1fdW5saW5rZWRGdW5jdGlvbk5hbWVTdGFydDsgfQogICAgIHVuc2lnbmVkIHVu
bGlua2VkQm9keVN0YXJ0Q29sdW1uKCkgY29uc3QgeyByZXR1cm4gbV91bmxpbmtlZEJvZHlTdGFy
dENvbHVtbjsgfQogICAgIHVuc2lnbmVkIHVubGlua2VkQm9keUVuZENvbHVtbigpIGNvbnN0IHsg
cmV0dXJuIG1fdW5saW5rZWRCb2R5RW5kQ29sdW1uOyB9Cg==
</data>
<flag name="review"
          id="318675"
          type_id="1"
          status="+"
          setter="sam"
    />
          </attachment>
      

    </bug>

</bugzilla>