[Webkit-unassigned] [Bug 157461] New: ES6: Classes: Should be allowed to assign values to static method with name "arguments" and "caller"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 8 02:05:35 PDT 2016


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

            Bug ID: 157461
           Summary: ES6: Classes: Should be allowed to assign values to
                    static method with name "arguments" and "caller"
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: gskachkov at gmail.com

class C { 
    static caller() { return 'abc'; } 
}

C.caller(); // abc
C.caller = function () { return 'cba'; };
C.caller(); // cab

C.arguments = function () {} ??? // In Chrome && Firefox - TypeError

-- 
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/20160508/7d44f601/attachment.html>


More information about the webkit-unassigned mailing list