This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chakrashim: fix ObjectTemplate callbacks compat
Many ObjectTemplate property callback handlings are not fully v8-compatible. Noteably when a callback does not intercept (returns empty handle), chakrashim should fallback to default JS behaviro. However most of the shim code did not or did incorrectly. This change fixes them. Also fixed Object::Has and Object::Delete issue. They only accepted normal name types -- String/Symbol. Changed to use GetPropertyIdFromValue so they accept other types, e.g. an Integer. PR-URL: #37 Reviewed-By: Sandeep Agarwal <Agarwal.Sandeep@microsoft.com> Reviewed-By: Kunal Pathak <Kunal.Pathak@microsoft.com>
- Loading branch information