<?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>13621</bug_id>
          
          <creation_ts>2007-05-08 00:23:35 -0700</creation_ts>
          <short_desc>Decompilation of object literal getter incorrectly includes quotes around name</short_desc>
          <delta_ts>2008-02-11 17:04:44 -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>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>17018</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>13638</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Jesse Ruderman">jruderman</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>10676</commentid>
    <comment_count>0</comment_count>
    <who name="Jesse Ruderman">jruderman</who>
    <bug_when>2007-05-08 00:23:35 -0700</bug_when>
    <thetext>&gt; (function() { return { get x() { } } })

function () 
{
  return { get &quot;x&quot;()
  {
  } };
}

The decompilation doesn&apos;t compile, so I&apos;m pretty sure it&apos;s wrong ;)

Found with jsfunfuzz in a nightly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10525</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2007-05-09 16:59:51 -0700</bug_when>
    <thetext>if I&apos;m understanding this correctly, this is trying to get the property value of the name returned by the function x().  I&apos;m not even sure we support that currently.  A PropertyNode holds a PropertyNameNode and seems to expect that it&apos;s an identifier.  I&apos;m guessing this will require more than just serializer changes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10534</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2007-05-09 19:24:03 -0700</bug_when>
    <thetext>I was confused earlier.  The problem currently lies that the PropertyNode::toStream knows if it&apos;s streaming a getter/setter, but the PropertyNameNode does not.  The propertyNameNode always adds &quot; &quot; around the name.  Maybe the &quot; &quot; addition should just be pulled out into PropertyNode::streamTo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70341</commentid>
    <comment_count>3</comment_count>
    <who name="Jesse Ruderman">jruderman</who>
    <bug_when>2008-02-11 17:04:44 -0800</bug_when>
    <thetext>

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

    </bug>

</bugzilla>