<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [JSC] ES6 Method functions should not have prototype"
   href="https://bugs.webkit.org/show_bug.cgi?id=162530#c19">Comment # 19</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [JSC] ES6 Method functions should not have prototype"
   href="https://bugs.webkit.org/show_bug.cgi?id=162530">bug 162530</a>
              from <span class="vcard"><a class="email" href="mailto:caitp&#64;igalia.com" title="Caitlin Potter (:caitp) &lt;caitp&#64;igalia.com&gt;"> <span class="fn">Caitlin Potter (:caitp)</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=289761&amp;action=diff" name="attach_289761" title="Fix LayoutTests">attachment 289761</a> <a href="attachment.cgi?id=289761&amp;action=edit" title="Fix LayoutTests">[details]</a></span>
Fix LayoutTests

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=289761&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=289761&amp;action=review</a>

<span class="quote">&gt;&gt; Source/JavaScriptCore/runtime/JSFunction.cpp:356
&gt;&gt; +    bool isMethod = executable-&gt;isMethod() &amp;&amp; !executable-&gt;isClass();
&gt; 
&gt; Why the  &quot;!isClass&quot; here?
&gt; We distinguish between methods on object literals and methods on classes?
&gt; 
&gt; What's the behavior for object literals? Please add tests for that.</span >

'isClass' really means &quot;class constructor&quot;, which is a special case (gets a prototype property during MakeConstructor (<a href="https://tc39.github.io/ecma262/#sec-makeconstructor">https://tc39.github.io/ecma262/#sec-makeconstructor</a>) during step 16 of ClassDefinitionEvaluation (<a href="https://tc39.github.io/ecma262/#sec-runtime-semantics-classdefinitionevaluation">https://tc39.github.io/ecma262/#sec-runtime-semantics-classdefinitionevaluation</a>).

I'll add some extra tests either tomorrow or during the week)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>