DescriptionCheck whether a number is passed as an argument to kJSSetZoomLevel rather than a double.
In the in-process PDF plugin when checking the argument type of kJSSetZoomLevel
calls to the plugin we would check if the argument is a double. But it may be
an int and we really want to check if it's a number. This probably worked in
the past by chance and broke when we switched to using gin to implement JS
bindings for Pepper.
BUG=413525
Committed: https://crrev.com/69d475766c08be6411a8751861b3d09fcd24783d
Cr-Commit-Position: refs/heads/master@{#295008}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|