Used getOwnPropertyDescriptor to sync object fields during getField.
Avoid assigning to location property of window.