[Webkit-unassigned] [Bug 142937] New: [ES6] Several Object methods coerce the argument to Object by using ToObject

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 21 06:18:59 PDT 2015


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

            Bug ID: 142937
           Summary: [ES6] Several Object methods coerce the argument to
                    Object by using ToObject
    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: utatane.tea at gmail.com

After ES6, several Object methods (like Object.freeze) coerce the argument to Object by using ToObject instead of checking isObject and raising TypeError.
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-additions-and-changes-that-introduce-incompatibilities-with-prior-editions

-- 
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/20150321/0e84f7d0/attachment-0002.html>


More information about the webkit-unassigned mailing list