<?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>159664</bug_id>
          
          <creation_ts>2016-07-11 21:46:16 -0700</creation_ts>
          <short_desc>for-in over object with a Symbol key breaks upon JITing</short_desc>
          <delta_ts>2021-05-14 13:26:31 -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>JavaScriptCore</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>160211</dup_id>
          
          <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="Chris J. Shull">chrisjshull</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ashvayka</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1209938</commentid>
    <comment_count>0</comment_count>
    <who name="Chris J. Shull">chrisjshull</who>
    <bug_when>2016-07-11 21:46:16 -0700</bug_when>
    <thetext>See http://jsbin.com/pelokucuwe/1/edit?js,console

Console shows that iterating over an object with a Symbol key breaks over time (theory is due to JITing).

Observed:
[&quot;bar&quot;, function bar() {}]
[&quot;bar&quot;, 1]

Expected:
[&quot;bar&quot;, function bar() {}]
[&quot;bar&quot;, function bar() {}]

From https://github.com/emberjs/ember.js/issues/13796</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1760180</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Shvayka">ashvayka</who>
    <bug_when>2021-05-14 13:26:31 -0700</bug_when>
    <thetext>(In reply to Chris J. Shull from comment #0)
&gt; See http://jsbin.com/pelokucuwe/1/edit?js,console

Thank you for extracting the test case, Chris!
JIT crash was fixed in r203793.

*** This bug has been marked as a duplicate of bug 160211 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>