[Webkit-unassigned] [Bug 144238] Class contructor and methods shouldn't have "arguments" and "caller"
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun May 1 14:54:21 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=144238
Ryosuke Niwa <rniwa at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #277854|review? |review+
Flags| |
--- Comment #9 from Ryosuke Niwa <rniwa at webkit.org> ---
Comment on attachment 277854
--> https://bugs.webkit.org/attachment.cgi?id=277854
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=277854&action=review
> Source/JavaScriptCore/runtime/JSFunction.cpp:371
> + GetterSetter* errorGetterSetter = thisObject->jsExecutable()->isClassConstructorFunction() || thisObject->jsExecutable()->parseMode() == SourceParseMode::MethodMode
Please add a static local helper function instead of duplicating the code.
--
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/20160501/ef6e5b1a/attachment.html>
More information about the webkit-unassigned
mailing list