[Webkit-unassigned] [Bug 143246] New: Getters should not be enumerable on classes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 30 18:37:27 PDT 2015


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

            Bug ID: 143246
           Summary: Getters should not be enumerable on classes
    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: esprehn at chromium.org

class Example {
  get x() { }
}

var object = new Example();
for (var k in object)
  console.log(k);

This should output nothing.

-- 
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/20150331/f2009629/attachment-0002.html>


More information about the webkit-unassigned mailing list