Created attachment 48568 [details] test cases Functions; QScriptValue::toInteger(), QScriptValue::toInt32, QScriptValue::toUInt32, QScriptValue::toUInt16 don't compliance ECMA Script standard. There are a few edge cases that they return incorrect value. Examples are in the attachment.
Created attachment 48571 [details] Fix v1
Comment on attachment 48571 [details] Fix v1 > + return (result > 0) ? qFloor(result) : -1 * qFloor(-result); I'd leave out the first pair of parentheses. The rest looks good to me.
Comment on attachment 48571 [details] Fix v1 Clearing flags on attachment: 48571 Committed r54773: <http://trac.webkit.org/changeset/54773>
All reviewed patches have been landed. Closing bug.