A bit of WebIDL and Object.getOwnPropertyDescriptor.