removing of this line causes NS_ERROR_XPC_BAD_OP_ON_WN_PROTO: Illegal operation on WrappedNative prototype 

See https://github.com/mozilla/shumway/blob/master/src/avm2/native.js#L1248