Conversion of any, NodeFilter and XPathNSResolver arguments is trivial

The 'any' type is converted to by constructing a ScriptValue object, which
simply wraps the v8::Value.

The 'NodeFilter' and 'XPathNSResolver' types are converted to by wrapping
the v8::Value in custom objects, with "soft" type checks (null is returned
on failure.)

BUG=413257

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182612 bbb929c8-8fbe-4397-9dbb-9b2b20218538
2 files changed
tree: 4727831a88ff2192eef4968d27119cc21f6a37fb
  1. third_party/