<?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>152497</bug_id>
          
          <creation_ts>2015-12-21 21:00:23 -0800</creation_ts>
          <short_desc>Arrow functions: &quot;this&quot; isn&apos;t lexically bound</short_desc>
          <delta_ts>2016-01-07 08:07: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>JavaScriptCore</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=152471</see_also>
          <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>
          
          <blocked>140855</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Nikita Vasilyev">nvasilyev</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bburg</cc>
    
    <cc>ggaren</cc>
    
    <cc>gskachkov</cc>
    
    <cc>hi</cc>
    
    <cc>mark.lam</cc>
    
    <cc>saam</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1150851</commentid>
    <comment_count>0</comment_count>
      <attachid>267777</attachid>
    <who name="Nikita Vasilyev">nvasilyev</who>
    <bug_when>2015-12-21 21:00:23 -0800</bug_when>
    <thetext>Created attachment 267777
[HTML] Reduction

See the attached reduction.

It works well in Chrome stable (47.0.2526.106) and Firefox 45.0a2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1153141</commentid>
    <comment_count>1</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2016-01-06 12:24:31 -0800</bug_when>
    <thetext>*** Bug 152608 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1153142</commentid>
    <comment_count>2</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2016-01-06 12:25:49 -0800</bug_when>
    <thetext>+ JSC folks

Can this be investigated sooner than later? We already have at least two workarounds added in Web Inspector.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1153148</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2016-01-06 12:29:12 -0800</bug_when>
    <thetext>&lt;rdar://problem/24077529&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1153172</commentid>
    <comment_count>4</comment_count>
    <who name="GSkachkov">gskachkov</who>
    <bug_when>2016-01-06 13:00:45 -0800</bug_when>
    <thetext>Looks like that it is the same bug as https://bugs.webkit.org/show_bug.cgi?id=152028, I already fixed it, but it was landed after later the last Webkit Night was build so I&apos;ll try to test soon on my local build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1153223</commentid>
    <comment_count>5</comment_count>
    <who name="GSkachkov">gskachkov</who>
    <bug_when>2016-01-06 14:22:21 -0800</bug_when>
    <thetext>I&apos;ve checked on my local build and I can&apos;t reproduce this bug. So I think it is already fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1153415</commentid>
    <comment_count>6</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2016-01-07 08:07:20 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; I&apos;ve checked on my local build and I can&apos;t reproduce this bug. So I think it
&gt; is already fixed.

OK, will re-open if we have another test case that fails.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>267777</attachid>
            <date>2015-12-21 21:00:23 -0800</date>
            <delta_ts>2015-12-21 21:00:23 -0800</delta_ts>
            <desc>[HTML] Reduction</desc>
            <filename>scoping.html</filename>
            <type>text/html</type>
            <size>411</size>
            <attacher name="Nikita Vasilyev">nvasilyev</attacher>
            
              <data encoding="base64">PHNjcmlwdD4KdmFyIEEgPSB7CiAgICBmb286IGZ1bmN0aW9uKCkgewogICAgICAgIHJldHVybiBb
MV0uc29tZShmdW5jdGlvbih4KSB7CiAgICAgICAgICAgIHJldHVybiB0aGlzLmdldFgoKSA9PT0g
MQogICAgICAgIH0uYmluZCh0aGlzKSkKICAgIH0sCgogICAgYmFyOiBmdW5jdGlvbigpIHsKICAg
ICAgICByZXR1cm4gWzFdLnNvbWUoKHgpID0+IHRoaXMuZ2V0WCgpID09PSAxKQogICAgfSwKCiAg
ICBnZXRYOiBmdW5jdGlvbigpIHsKICAgICAgICByZXR1cm4gMTsKICAgIH0KfTsKY29uc29sZS5s
b2coQS5mb28uY2FsbChBLCAiZm9vIikpOyAvLyBXb3JrcyB3ZWxsCmNvbnNvbGUubG9nKEEuYmFy
LmNhbGwoQSwgImJhciIpKTsgLy8gVHlwZUVycm9yOiB0aGlzLmdldFggaXMgbm90IGEgZnVuY3Rp
b24KPC9zY3JpcHQ+
</data>

          </attachment>
      

    </bug>

</bugzilla>