DescriptionHandle integer -0 as 0 in extensions
-0 is treated as double 0.0f in V8. This makes GetAsInteger()
return -0 is not an integer type. Extension APIs with integer parameters
will fail to get the value using GetAsInteger(). This CL convert integer
-0 to integer 0.
BUG=471011
Committed: https://crrev.com/8e575f12fb732a497e0e9fc34e1e739621cecf3c
Cr-Commit-Position: refs/heads/master@{#329860}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|