We could simply use direct C++ call instead of using the JSC GLib API to create the descriptor object and invoke Object.defineProperty().
Created attachment 364533 [details] Patch
Committed r243200: <https://trac.webkit.org/changeset/243200>
<rdar://problem/49060464>