[Webkit-unassigned] [Bug 161673] [INTL] Intl constructors do not throw when called with a previously initialized intl object

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 7 09:20:48 PDT 2016


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

--- Comment #1 from Andy VanWagoner <thetalecrafter at gmail.com> ---
I may be reading the spec[1] wrong, but it looks like v2 and v3 of the spec say that when called without the `new` keyword, the constructors always return a new object. Initializing a previous object is legacy v1 only.

That would mean JSC is correct and the other implementations don't give the v2&3 behavior.

[1] http://ecma-international.org/ecma-402/3.0/index.html#sec-the-intl-collator-constructor

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160907/6f84aaff/attachment.html>


More information about the webkit-unassigned mailing list