<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#c22">Comment # 22</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>(In reply to <a href="show_bug.cgi?id=162530#c20">comment #20</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=162530#c19">comment #19</a>)
&gt; &gt; Comment on <span class="bz_obsolete"><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>
&gt; &gt; Fix LayoutTests
&gt; &gt; 
&gt; &gt; View in context:
&gt; &gt; <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>
&gt; &gt; 
&gt; &gt; &gt;&gt; Source/JavaScriptCore/runtime/JSFunction.cpp:356
&gt; &gt; &gt;&gt; +    bool isMethod = executable-&gt;isMethod() &amp;&amp; !executable-&gt;isClass();
&gt; &gt; &gt; 
&gt; &gt; &gt; Why the  &quot;!isClass&quot; here?
&gt; &gt; &gt; We distinguish between methods on object literals and methods on classes?
&gt; &gt; &gt; 
&gt; &gt; &gt; What's the behavior for object literals? Please add tests for that.
&gt; &gt; 
&gt; &gt; 'isClass' really means &quot;class constructor&quot;, which is a special case (gets a
&gt; &gt; prototype property during MakeConstructor
&gt; &gt; (<a href="https://tc39.github.io/ecma262/#sec-makeconstructor">https://tc39.github.io/ecma262/#sec-makeconstructor</a>) during step 16 of
&gt; &gt; ClassDefinitionEvaluation
&gt; &gt; (<a href="https://tc39.github.io/ecma262/#sec-runtime-semantics">https://tc39.github.io/ecma262/#sec-runtime-semantics</a>-
&gt; &gt; classdefinitionevaluation).
&gt; Oh wow. Let's please rename that method. That's horribly misleading.
&gt; 
&gt; &gt; 
&gt; &gt; I'll add some extra tests either tomorrow or during the week)
&gt; Cool, thanks.</span >

Got it done while waiting in the airport instead, I guess :) I'm not positive the tests will pass (laptop is a bit low powered to check this at the moment), but if it doesn't, will obviously fix it up tomorrow or monday.</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>