As currently implemented, the Object.defineProperty shim will not install on IE8 because IE8 already has such a method. However, the built-in IE8 method only works when applied to DOM objects.
Because the shim does not get installed, the emulation of value: property descriptors on arbitrary objects is not available although it could be. (get: and set: descriptors are a lost cause). The shim installation needs better detection of IE8 (see http://blogs.msdn.com/b/ie/archive/2010/09/07/transitioning-existing-code-to-the-es5-getter-setter-apis.aspx) and should probably and the installed shim should first call the built-in method and then only call the the emulation if the built-in throws).
IE8 also has a DOM only getOwnPropertyDescriptor so the same issues apply to it.
first try to fix #5
I think I'm having problems because of this. IE8 gives me this error: Object doesn't support this action on line 532. Has this been merged in yet?
Object doesn't support this action
Doesn't look like it was merged, sadly.
This needs a retry if anyone is up for it.
Another attempt to fix #5 using @hax's technique.
Noted issue #5