[Webkit-unassigned] [Bug 136134] New: ES6 Set constructor does not follow the spec
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 21 15:27:43 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=136134
Summary: ES6 Set constructor does not follow the spec
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ide+webkit at outlook.com
CC: oliver at apple.com
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.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list