Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preventing attempt to return IDispatch that is not IHTMLElement for IE
When returning values from JavaScript, if a variant value is an IDispatch, but does not implement IHTMLElement, and also is not recognized as a JavaScript array or object, avoid returning it from the script. This is also to prevent returning things like a window or document reference, as those items contain recursive references that cannot be properly serialized to JSON.
- Loading branch information