IDL: Add missing type-check for callback function arguments

Internally, callback function arguments are represented as ScriptValue
and can thus support any value, but the bindings layer should throw
a TypeError if the value isn't a function object.

Review URL: https://codereview.chromium.org/810563007

git-svn-id: svn://svn.chromium.org/blink/trunk@188611 bbb929c8-8fbe-4397-9dbb-9b2b20218538
5 files changed
tree: c33b97ab77c6ffdbed06fd43089ac309e73916ec
  1. third_party/