[Webkit-unassigned] [Bug 141670] New: Descriptor of Function.arguments is inconsistent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 16 15:25:40 PST 2015


            Bug ID: 141670
           Summary: Descriptor of Function.arguments is inconsistent
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: joepeck at webkit.org
                CC: mark.lam at apple.com

Descriptor of Function.arguments is inconsistent. Sometimes it is a value, sometimes it is a getter/setter. This doesn't seem expected.

  js> Object.getOwnPropertyDescriptor(function(){}, "arguments")
  < {value: null, writable: false, enumerable: false, configurable: false}

  js> Object.getOwnPropertyDescriptor(function(){}.bind(this), "arguments")
  < {get: function, set: function, enumerable: false, configurable: false}

Also, it is possible that "arguments" should not be on the instance but actually on Function.prototype.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150216/f8214319/attachment-0002.html>

More information about the webkit-unassigned mailing list