Fix broken code passing typed data from Dart to V8. Attempted to match patterns in SerializeScriptValue.cpp

Fix JS interop to properly set set a hidden value when passing a Dart function to JS so that JS interop behavior is more consistent on dart2js and dartium.

BUG=

patch from issue 1724593002 at patchset 20001 (http://crrev.com/1724593002#ps20001)
2 files changed