RESOLVED FIXED 136134
ES6 Set constructor does not follow the spec
https://bugs.webkit.org/show_bug.cgi?id=136134
Summary ES6 Set constructor does not follow the spec
ide
Reported 2014-08-21 15:27:51 PDT
According to the latest draft of the specification and other implementations of ES6's Set, "new Set" should optionally take an iterable instead of variable arguments. In trunk (and Safari 8 and iOS 8), SetConstructor::constructSet processes variable arguments. Additionally, calling "Set(...)" should always throw a TypeError regardless of its arguments. Currently SetConstructor::callSet does not raise an exception when invoked as "Set()" without arguments.
Attachments
ide
Comment 1 2017-07-11 02:31:20 PDT
This has been fixed as of iOS 9.
Note You need to log in before you can comment on or make changes to this bug.