[Webkit-unassigned] [Bug 162530] [JSC] ES6 Method functions should not have prototype

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 24 16:09:25 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=162530

--- Comment #18 from Saam Barati <sbarati at apple.com> ---
Comment on attachment 289761
  --> https://bugs.webkit.org/attachment.cgi?id=289761
Fix LayoutTests

View in context: https://bugs.webkit.org/attachment.cgi?id=289761&action=review

> Source/JavaScriptCore/runtime/JSFunction.cpp:356
> +    bool isMethod = executable->isMethod() && !executable->isClass();

Why the  "!isClass" here?
We distinguish between methods on object literals and methods on classes?

What's the behavior for object literals? Please add tests for that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160924/485aa491/attachment.html>


More information about the webkit-unassigned mailing list