[Webkit-unassigned] [Bug 77317] JSC::JSValue doesn't support UInt32 properly.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 30 10:49:27 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=77317
Gavin Barraclough <barraclough at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|JavaScriptCore |WebCore JavaScript
--- Comment #1 from Gavin Barraclough <barraclough at apple.com> 2012-01-30 10:49:27 PST ---
JSC support the ECMA-262 defined toUint32 conversion correctly (see ES5.1 section 9.6). If WebIDL wants a different conversion, this is probably best supported in a wrapper function in WebCore/bindings, rather than in JSC.
This can be implemented in terms of JSValue::toNumber (as the WebIDL spec calls for), optionally optimizing access to integers using JSValue::isInt32 & JSValue::asInt32.
This bug should probably be retitled – JSC's toUint32 matches that of the appropriate spec.
--
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