RESOLVED FIXED 142937
[ES6] Object type restrictions on a first parameter of several Object.* functions are relaxed
https://bugs.webkit.org/show_bug.cgi?id=142937
Summary [ES6] Object type restrictions on a first parameter of several Object.* funct...
Yusuke Suzuki
Reported 2015-03-21 06:18:59 PDT
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
Attachments
Patch (27.58 KB, patch)
2015-03-30 05:06 PDT, Yusuke Suzuki
no flags
Yusuke Suzuki
Comment 1 2015-03-30 05:06:12 PDT
WebKit Commit Bot
Comment 2 2015-03-31 10:45:25 PDT
Comment on attachment 249720 [details] Patch Clearing flags on attachment: 249720 Committed r182189: <http://trac.webkit.org/changeset/182189>
WebKit Commit Bot
Comment 3 2015-03-31 10:45:29 PDT
All reviewed patches have been landed. Closing bug.
Yusuke Suzuki
Comment 4 2015-03-31 10:46:35 PDT
Landed. thank you for your review :D
Note You need to log in before you can comment on or make changes to this bug.