DescriptionModified Value::GetAsDouble so the function returns true when the object holds an Integer.
This should be useful when implementing an extension API in C++ since chrome.api.call(1.0); call in JS passes a Value of Integer to the C++ code while chrome.api.call(1.1); does a Value of Double.
I'm working on this following Mihai's suggestion in http://codereview.chromium.org/6905053/.
BUG=chromium-os:14421
TEST=ran try
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=83705
Patch Set 1 : review #
Total comments: 2
Patch Set 2 : review fix #
Messages
Total messages: 6 (0 generated)
|